Expand all

ve.dm.MWGalleryImageNode

Extends

Constructor

new ve.dm.MWGalleryImageNode([element], [children]) #

DataModel MediaWiki gallery image node.

Parameters:

Name Type Attributes Description
element Object optional

Reference to element in linear model

children Array.<ve.dm.Node> optional
Source:
DataModel MediaWiki gallery image node.

Methods

getCaptionNode() → {ve.dm.MWImageCaptionNode|null} #

Get the image's caption node.

Source:

Returns:

Caption node, if present

Type
ve.dm.MWImageCaptionNode | null
Get the image's caption node.