Expand all

ve.ui.MWExternalLinkAnnotationWidget

Extends

Constructor

new ve.ui.MWExternalLinkAnnotationWidget([config]) #

Creates an ve.ui.MWExternalLinkAnnotationWidget object.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Source:
Creates an ve.ui.MWExternalLinkAnnotationWidget object.

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

Source:

Returns:

Text input widget

Type
OO.ui.TextInputWidget
Create a text input widget to be used by the annotation widget

getValidity() → {jQuery.Promise} #

Get the validity of current value

Source:
See:

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

Source:

Returns:

Text input widget

Type
OO.ui.TextInputWidget
Create an external link input widget.

getAnnotationFromText()static #