RankWidget

RankWidget

new RankWidget()

Source:

Extends

Members

(static) list :boolean

Source:
Type:
  • boolean

(static) selector :string

Source:
Type:
  • string

(readonly) downloadButtonHtml :Element

Source:
Inherited From:

Returns a HTML document fragment for a download button.

Type:
  • Element

originalInputValue :string

Source:
Overrides:
Type:
  • string

originalInputValue :string

Source:
Overrides:

This is the input that Enketo's engine listens on.

Type:
  • string

(readonly) props :object

Source:
Inherited From:

Returns widget properties. May need to be extended.

Type:
  • object

(readonly) resetButtonHtml :Element

Source:
Inherited From:

Returns a HTML document fragment for a reset button.

Type:
  • Element

value :string

Source:
Overrides:
Type:
  • string

Methods

_getProps() → {object}

Source:
Inherited From:

Not meant to be overridden, but could be. Recommend to extend get props() instead.

Returns:

props object

Type
object

_init()

Source:
Overrides:

Meant to be overridden, but automatically called.

_reset()

Source:

Resets widget

disable()

Source:
Overrides:

Disables widget

enable()

Source:
Overrides:

Enables widget

update()

Source:
Overrides:

Updates widget