Extends
Constructor
new ve.ce.MWInlineExtensionNode(model, [config])abstract
#
Hierarchy
Children
ContentEditable MediaWiki inline extension node.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
model |
ve.dm.MWInlineExtensionNode | Model to observe |
|
config |
Object |
optional |
Configuration options |
ContentEditable MediaWiki inline extension node.
Methods
generateContents()
#
- Inherited from:
- Source:
getRenderedDomElements()
#
- Inherited from:
- Source:
onParseError(deferred, response)
#
Handle an unsuccessful response from the parser for the wikitext fragment.
Parameters:
Name | Type | Description |
---|---|---|
deferred |
jQuery.Deferred | The promise object created by generateContents |
response |
Object | Response data |
- Inherited from:
- Source:
Handle an unsuccessful response from the parser for the wikitext fragment.
onParseSuccess(deferred, response)
#
Handle a successful response from the parser for the wikitext fragment.
Parameters:
Name | Type | Description |
---|---|---|
deferred |
jQuery.Deferred | The Deferred object created by generateContents |
response |
Object | Response data |
- Overrides:
- Source:
Handle a successful response from the parser for the wikitext fragment.