Class: Select

"montage/ui/native/select.reel". Select

new Select()

If the <select> markup contains

Wraps the a <select> element with binding support for the element's standard attributes. Uses an ArrayController instance to manage the element's contents and selection.
Source:

Extends

  • module:montage/ui/component.Component

Members

(static) autofocus :boolean

Specifies whether the element should be focused as soon as the page is loaded.
Type:
  • boolean
Default Value:
  • false
Source:

(static) content

An array of items to to assign to the component's contentController property, which is a RangeController.
Source:

(static) contentController

An ArrayController instance used to manage the content and selection of the select input control.
Default Value:
  • null
Source:

(static) disabled :boolean

When true, the select control is disabled to user input and "disabled" is added to its CSS class list.
Type:
  • boolean
Default Value:
  • false
Source:

(static) form :string

The value of the id attribute of the form with which to associate the component's element.
Type:
  • string
Default Value:
  • null
Source:

(static) multiple :boolean

Specifies if multiple selections are enabled on the select element.
Type:
  • boolean
Default Value:
  • false
Source:

(static) name :string

The name associated with the select input element.
Type:
  • string
Default Value:
  • null
Source:

(static) required :string

When true, the user will be required to select a value from the control before submitting the form.
Type:
  • string
Default Value:
  • false
Source:

(static) size :number

The number of options from the select element to display to the user.
Type:
  • number
Default Value:
  • 1
Source:

(static) textPropertyPath

Specifies the property belonging to the component's contentController to use as the text content of the
Source:

(static) valuePropertyPath

Specifies the property belonging to the component's contentController to use as the "value" part of the
Source:

Methods

(static) draw()

Description TODO
Source:

(static) enterDocument()

Description TODO
Source: