Welcome to the Kung Fu Garden

Explore various micro projects and platforms by x51 and friends.

Kung Fu Garden Proto Library v3.0.2


Kung Fu Garden Proto Library / kung-fu/proto / IHTMLElement

Interface: IHTMLElement

Interface for HTML element operations

Properties

clean()

clean: () => IHTMLElement

Normalizes line breaks in element value

Returns

IHTMLElement


toHTMLElement()

toHTMLElement: () => HTMLElement

Returns native HTML element

Returns

HTMLElement


val()

val: (val?) => string | number | boolean

Gets or sets element value

Parameters

val?

string

Returns

string | number | boolean