DOMAttributes

class DOMAttributes(attributesMap: Map<String, String>) : Map<String, String> (source)

Represents HTML attributes of a DOM element.

Constructors

Link copied to clipboard
constructor(attributesMap: Map<String, String>)

Properties

Link copied to clipboard

Specifies where to send the form-data when a form is submitted.

Link copied to clipboard
val alt: String?

Specifies an alternate text when the original element fails to display.

Link copied to clipboard

Specifies that the script is executed asynchronously (only for external scripts).

Link copied to clipboard

Specifies whether the

or the element should have autocomplete enabled

Link copied to clipboard

Specifies that the element should automatically get focus when the page loads.

Link copied to clipboard

Specifies that the audio/video will start playing as soon as it is ready.

Link copied to clipboard
val charset: Charset?

Specifies the character encoding.

Link copied to clipboard

Specifies that an element should be pre-selected when the page loads (for type="checkbox" or type="radio").

Link copied to clipboard

Specifies one or more classnames for an element (refers to a class in a style sheet)

Link copied to clipboard

Specifies one or more classnames for an element (refers to a class in a style sheet)

Link copied to clipboard
val cols: Int?

Specifies the visible width of a text area.

Link copied to clipboard
val data: String?

Specifies the URL of the resource to be used by the object.

Link copied to clipboard
open override val entries: Set<Map.Entry<String, String>>
Link copied to clipboard
val for: String?

Specifies which form element(s) a label/calculation is bound to.

Link copied to clipboard
val form: String?

Specifies the name of the form the element belongs to.

Link copied to clipboard
val height: Int?

Specifies the height of the element.

Link copied to clipboard
val href: String?

Specifies the URL of the page the link goes to.

Link copied to clipboard
val id: String?

Specifies a unique id for an element.

Link copied to clipboard

Specifies the width, in characters (for ) or specifies the number of visible options (for