new UrlWidget()
- Source:
Extends
Members
(static) selector :string
- Source:
Type:
- string
(readonly) downloadButtonHtml :Element
- Source:
- Inherited From:
Returns a HTML document fragment for a download button.
Type:
- Element
(readonly) originalInputValue :*
- Source:
- Overrides:
Obtains the value from the original form control the widget is instantiated on. This form control is often hidden by the widget.
Type:
- *
(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.
disable()
- Source:
- Inherited From:
Disallow user input into widget by making it readonly.
enable()
- Source:
- Inherited From:
Performs opposite action of disable() function.
update()
- Source:
- Overrides:
Updates widget