Method WithClass<THtmlElement>
Namespace: TinyComponents
Assembly: TinyComponents.dll
WithClass<THtmlElement>(THtmlElement, params string[])
Specifies the HTML element class list of this HtmlElement.
public static THtmlElement WithClass<THtmlElement>(this THtmlElement node, params string[] classNames) where THtmlElement : HtmlElement
Parameters
node THtmlElement
The current HtmlElement.
classNames string[]
One or more classes to add to this HtmlElement.
Returns
THtmlElement
The self HtmlElement object for fluent chaining.
Type Parameters
THtmlElement
The object type which implements HtmlElement.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語