mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 07:32:59 +00:00 
			
		
		
		
	 0671e59fed
			
		
	
	0671e59fed
	
	
	
		
			
			Reasons: - can show or hide the button text with CSS (assuming tv-config-toolbar-text is yes). - can have different looking buttons in the page controls versus the view toolbar, etc - more flexibility styling the button appearance, for example you can change the text size compared to the icon size - button appearance is more themeable
		
			
				
	
	
		
			14 lines
		
	
	
		
			590 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			590 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| title: $:/core/ui/Buttons/home
 | |
| tags: $:/tags/PageControls
 | |
| caption: {{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}}
 | |
| description: {{$:/language/Buttons/Home/Hint}}
 | |
| 
 | |
| <$button message="tm-home" tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>
 | |
| <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
 | |
| {{$:/core/images/home-button}}
 | |
| </$list>
 | |
| <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
 | |
| <span class="tc-btn-text"><$text text={{$:/language/Buttons/Home/Caption}}/></span>
 | |
| </$list>
 | |
| </$button>
 |