Expand all

ve.ui.MWPreviewElement

Extends

Constructor

new ve.ui.MWPreviewElement([model], [config]) #

Creates an ve.ui.MWPreviewElement object.

Parameters:

Name Type Attributes Description
model ve.dm.Node optional
config Object optional
Properties:
Name Type Attributes Default Description
useView boolean optional
false

Use the view HTML, and don't bother generating model HTML, which is a bit slower

Source:
Creates an ve.ui.MWPreviewElement object.

Methods

replaceWithModelDom() #