Extends
Constructor
new ve.dm.MWGalleryImageNode([element], [children])
#
Hierarchy
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 |
DataModel MediaWiki gallery image node.
Methods
getCaptionNode() → {ve.dm.MWImageCaptionNode|null
}
#
null
}
#
Get the image's caption node.
Returns:
Caption node, if present
- Type
-
ve.dm.MWImageCaptionNode
|
null
Get the image's caption node.