fedilove-ui/routes/_components/timeline/MoreHeader.html

25 lines
482 B
HTML
Raw Normal View History

2018-02-12 07:17:24 +00:00
<div class="more-items-header" role="alert">
2018-02-12 03:15:21 +00:00
<button class="primary" type="button" on:click="onClick(event)">
2018-03-10 18:54:16 +00:00
Show {{count}} more
2018-02-12 03:15:21 +00:00
</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>