Expand all

private ve.dm.MWTransclusionPartInstruction

Constructor

new ve.dm.MWTransclusionPartInstruction()private #

Object literal

Events

change() #

Emitted when anything changed, including any changes in the content of the parts.

Source:
Emitted when anything changed, including any changes in the content of the parts.

replace(removed, added, [newPosition]) #

Emitted when a part is added, removed, replaced (e.g. a placeholder with an actual template), or an existing part changed position.

Parameters:

Name Type Attributes Description
removed ve.dm.MWTransclusionPartModel | null

Removed part

added ve.dm.MWTransclusionPartModel | null

Added or moved part

newPosition number optional

Position the part was added or moved to

Source:
Emitted when a part is added, removed, replaced (e.g.