@tempots/dom

DOMContext.addClasses() method

Adds classes to the element.

Signature:

addClasses(tokens: string[]): void;

Parameters

Parameter

Type

Description

tokens

string[]

The class names to add.

Returns: void