Sisk

Class

HtmlElementExtensions

Namespace
TinyComponents
Assembly
TinyComponents.dll

Provides extension methods for HtmlElement objects.

C#
public static class HtmlElementExtensions

Inheritance #

object ← HtmlElementExtensions

Inherited Members #

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Methods #

NameDescription
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.

Type to search the documentation and the API reference.