Table of Contents

Class HtmlElementExtensions

Namespace
TinyComponents
Assembly
TinyComponents.dll

Provides extension methods for HtmlElement objects.

public static class HtmlElementExtensions
Inheritance
HtmlElementExtensions
Inherited Members

Methods

WithClass<THtmlElement>(THtmlElement, params string[])

Specifies the HTML element class list of this HtmlElement.

WithId<THtmlElement>(THtmlElement, string)

Specifies the HTML element ID of this HtmlElement.

WithName<THtmlElement>(THtmlElement, string)

Specifies the HTML element name of this HtmlElement.

WithStyle<THtmlElement>(THtmlElement, object)

Adds css styles through the style attribute on this HtmlElement.