Table of Contents

Class HTMLDataListElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The HTMLDataListElement interface provides special properties (beyond the HTMLElement object interface it also has available to it by inheritance) to manipulate {{ HTMLElement("datalist") }} elements and their content.

[Value("HTMLDataListElement")]
public class HTMLDataListElement : HTMLElement
Inheritance
HTMLDataListElement
Inherited Members

Remarks

-The HTML element implementing this interface: datalist

See also on MDN

Constructors

HTMLDataListElement()

public HTMLDataListElement()

Properties

Options

The options read-only property of the HTMLDataListElement interface returns an HTMLCollection of HTMLOptionElement elements contained in a {{htmlelement("datalist")}}. The descendant {{htmlelement("option")}} elements provide predefined options for the {{htmlelement("input")}} control associated with the <datalist>.

[Value("options")]
public HTMLCollection Options { get; }

Property Value

HTMLCollection

An HTMLCollection of HTMLOptionElement elements.

Remarks