2018-04-11 05:09:07 +00:00
|
|
|
<div class="more-items-header">
|
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: {
|
2018-04-20 04:38:01 +00:00
|
|
|
onClick (event) {
|
2018-04-19 16:37:05 +00:00
|
|
|
let { onClick } = this.get()
|
2018-02-12 03:15:21 +00:00
|
|
|
if (onClick) {
|
|
|
|
onClick(event)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|