Extends
Constructor
new ve.ce.MWPreNode(model, [config])
#
ContentEditable MediaWiki pre node.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
model |
ve.dm.MWPreNode | Model to observe |
|
config |
Object |
optional |
Configuration options |
- Source:
ContentEditable MediaWiki pre 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 |
- Inherited from:
- Source:
Handle a successful response from the parser for the wikitext fragment.