pinafore/routes/_components/compose/ComposeButton.html

22 lines
425 B
HTML
Raw Normal View History

2018-02-27 07:22:56 +01:00
<button class="primary compose-box-button"
:disabled >
Toot!
</button>
<style>
.compose-box-button {
grid-area: button;
justify-self: right;
text-transform: uppercase;
margin-top: 10px;
}
</style>
<script>
import { store } from '../../_store/store'
export default {
store: () => store,
computed: {
2018-03-04 01:12:48 +01:00
disabled: (overLimit, length) => overLimit || length === 0
2018-02-27 07:22:56 +01:00
}
}
</script>