Developers - UI Control
Font List
All our UI-controls require an array of name/value
-pairs, where name
is the shown value, and value
is the class to toggle. Some of the controls have an additional display
-property used to present custom CSS or icons.
The ui-fontlist
-control is a dropdown type control.
Recommended for long list of fonts that requires font preview.
tip
If you want an option to be "none" (as in: no selection), set value
to pf-none
.
This tells our script to remove any of the other values from the array of values from the target DOM-node.