Extends
Methods
createInputWidget([config]) → {OO.ui.TextInputWidget}
#
Create a text input widget to be used by the annotation widget
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config |
Object |
optional |
Configuration options |
Returns:
Text input widget
Create a text input widget to be used by the annotation widget
getValidity() → {jQuery.Promise}
#
Get the validity of current value
Returns:
A promise that resolves if the value is valid, rejects if not. If it's rejected, it'll resolve with an error code.
- Type
- jQuery.Promise
Get the validity of current value
createExternalLinkInputWidget([config]) → {OO.ui.TextInputWidget}static
#
Create an external link input widget.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
config |
Object |
optional |
Configuration options |
Returns:
Text input widget
Create an external link input widget.