Select

Wrapper around a select input.

Constructors

this
this()

Creates a new select input.

Members

Functions

addOption
void addOption(string value, string text)

Adds an option.

generateHtml
string generateHtml()

Generates the appropriate html for the element.

getOption
string getOption(string value)

Gets an option.

removeOption
void removeOption(string value)

Removes an option.

Properties

form
string form [@property getter]

Gets the form.

form
string form [@property setter]

Sets the form.

Inherited Members

From Input

value
string value [@property getter]

Gets the value.

value
string value [@property setter]

Sets the value.

placeholder
string placeholder [@property getter]

Gets the placeholder.

placeholder
string placeholder [@property setter]

Sets the placeholder.

label
string label [@property getter]

Gets the label.

label
string label [@property setter]

Sets the label.

generateHtml
string generateHtml()

Generates the appropriate html for the element.

Meta