9 lines
		
	
	
	
		
			310 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			310 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| {{- $type := .Get "type" | default "button" -}}
 | |
| {{- $name := .Get "name" | default "submit" -}}
 | |
| {{- $label := .Get "label" | default (title $name) -}}
 | |
| {{- $exec := .Get "exec" | default "exec" -}}
 | |
| <div v-scope>
 | |
|   <button type="{{ $type }}" name="{{$name}}"
 | |
| 		  @click="{{ $exec }}">{{$label}}</button>
 | |
| </div>
 | |
| 
 |