The attributes passed into the component.
OptionalcloseThe root DOM element for the component.
The icons of each style shown so far, by its class.
Whether the forum's stylesheets are still being fetched to read them.
Class component state that is persisted between redraws.
Updating this will not automatically trigger a redraw, unlike other frameworks.
This is different to Vnode state, which is always an instance of your class component.
This is undefined by default.
OptionalstyleReturns a jQuery object for this component's element. If you pass in a selector string, this method will return a jQuery object, using the current element as its buffer.
For example, calling component.$('li') will return a jQuery object
containing all of the li elements inside the DOM element of this
component.
Optionalselector: string
a jQuery-compatible selector string
the jQuery object for the DOM node
Whether an icon is the current value, however the value is written:
fasl fa-house and fa-sharp fa-light fa-house are the same icon.
Pick for Enter: an icon named exactly, then a typed class nothing matches, then the closest match. Worked out from the search as it is now, as Enter can come before the redraw that follows typing, such as after a paste.
Search for a typed class in the style it names, so Enter picks
fasl fa-house in Sharp Light, not in the style shown before.
The words of the search that name an icon: "fas fa-house", "fa-sharp fa-light fa-house" and "fa-house" all search for "house".
Show another family, at the weight shown now where the family has it.
The style a value is drawn in, from its short class (fasl) or its long
ones (fa-sharp fa-light, where classic and solid are the defaults).
The search as a class to use as it is, when it is written like one
(fa-kit fa-my-icon): a Kit's own icons and other custom classes aren't
in the list, but can still be chosen.
StaticcomponentConvenience method to attach a component without JSX.
Has the same effect as calling m(THIS_CLASS, attrs, children).
StaticinitInitialize the component's attrs.
This can be used to assign default values for missing, optional attrs.
A searchable grid of the Font Awesome icons the forum can draw, in solid, regular and brands styles. See
IconInput, which pairs it with a text field that still accepts any class.