Expand all

ve.ui.MWInternalLinkContextItem

Extends

Constructor

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

Context item for a MWInternalLink.

Parameters:

Name Type Attributes Description
context ve.ui.LinearContext

Context the item is in

model ve.dm.Model

Model the item is related to

config Object optional
Source:
Context item for a MWInternalLink.

Methods

generateBody(linkCache, model, htmlDoc, context) → {jQuery}static #

Generate the body of the link context item

Parameters:

Name Type Description
linkCache ve.init.mw.LinkCache

The link cache to use

model ve.dm.MWInternalLinkAnnotation

The annotation model

htmlDoc HTMLDocument

The HTML document (for URL resolution)

context ve.ui.LinearContext

Context (for resizing)

Source:

Returns:

The jQuery object of the link context item

Type
jQuery
Generate the body of the link context item