CopyLinkDialog

CopyLinkDialog

Class used to create a "Copy link" dialog.

Constructor

new CopyLinkDialog(object, content)

Source:

Create a "Copy link" dialog.

Parameters:
Name Type Description
object Comment | Section
content object

Extends

  • external:OO.ui.MessageDialog

Methods

(async, protected) copyCallback(successful, field)

Source:

Callback for copying text.

Parameters:
Name Type Description
successful boolean
field external:OO.ui.CopyTextLayout

(protected) createAnchorPanelContent() → {external:jQuery}

Source:

Create the content of the "Anchor" panel in the dialog.

Returns:
Type
external:jQuery

(async, protected) createDiffPanel()

Source:

Create the "Diff" panel in the dialog.

(protected) createDiffPanelContent() → {external:jQuery}

Source:

Create the content of the "Diff" panel in the dialog.

Returns:
Type
external:jQuery