Class
Definition
function Class(child: HTMLElement, ...classes: String) {
return HTMLElement
}
Input
child
: the reference to a valid bolt app, a bolt functional component or a valid bold variable componentclasses
: list of classes to assign to the element
Returns HTMLElement
The child element will be returned after assigning the classes
Last updated