JavaScript APIuiFunctionssetClassOn this pagesetClass() setClass(e, classes, flag): void Parameters ParameterTypeeHTMLElementclassesstringflagboolean Returns void Source ui.ts:84