FontButton
A button that opens a font selector dialog.
Currently it is not possible to select the font programmatically. The default selected font is platform specific.
type: libui.FontDescriptor
A read-only property of the FontButton element which returns information about the currently selected font. The returned object has the following methods:
- getFamily() - return the font family
- getSize() - return the font size
- getWeight() - return the font weight
- getItalic() - return the italic style
- getStretch() - return the font stretch
Emitted when the selected font is changed. The current font descriptor is passed as an argument.
<FontButton v-on:change="onFontChange"/>
Last modified 5yr ago