forked from cybrespace/pinafore
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			No EOL
		
	
	
		
			510 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			No EOL
		
	
	
		
			510 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <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: {
 | |
|       disabled: ($rawComposeTextOverLimit, $rawComposeTextLength) => {
 | |
|         return $rawComposeTextOverLimit || $rawComposeTextLength === 0
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| </script> |