Skip to content
anidivr edited this page Oct 30, 2022 · 2 revisions

Basic text label

label code

Inputs

Name Type Default Description
text string blank Text value
font URL string blank URL to Font, for example, https://fonts.gstatic.com/s/raleway/v14/1Ptrg8zYS_SKggPNwK4vaqI.woff
fontsize number 0.07 Size of text
width number 1 Width of button in meters
height number 0.1 Height of button in meters
enabled boolean true When true, button can be pressed. When false, press and hover are disabled
labelmaterial Material Theme label material (color white) Text color. Set to override custom material

Outputs

None

Examples

<flat-ui-label [text]="'boolean'" [width]="0.5"></flat-ui-label>

<flat-ui-label [text]="item.title" [width]="0.8"></flat-ui-label>
Clone this wiki locally