pinafore/routes/_components/timeline/MoreHeader.html
Nolan Lawson 7aceaa4d8c
remove role=alert from "show more" button (#68)
Possible solution for issue #59
2018-04-10 22:09:07 -07:00

25 lines
469 B
HTML

<div class="more-items-header">
<button class="primary" type="button" on:click="onClick(event)">
Show {{count}} more
</button>
</div>
<style>
.more-items-header {
display: flex;
padding: 5px;
align-items: center;
justify-content:center;
}
</style>
<script>
export default {
methods: {
onClick(event) {
let onClick = this.get('onClick')
if (onClick) {
onClick(event)
}
}
}
}
</script>