extended by FeathersControl
An object that supports styling and may have variants.
The class used as the context for styling the UI component. In other words, a subclass of a component may have different styles than its superclass, or it may inherit styles from its superclass.
May be used to provide multiple different variations of the same UI component, each with a different appearance, but instantiated with the same class.
The following example sets the variant of a
var label = new Label(); label.variant = Label.VARIANT_HEADING;