Javascript for Episerver 7.5 cms

_ContextualContentContextMixin

Location

epi-cms/contentediting/_ContextualContentContextMixin

Extends

Properties

_currentContext

_waitingForContext

contextRootLabel

Overrides label of the contextual root node.

Methods

protected method _getPseudoContextualContent ( )

Get pseudo contextual content


public method canHaveContextualContent ( contentItem )

Verifies the given object allowed to show contextual content or not

Parameters

public method decoratePseudoContextualCommands ( commands )

Converts the given commands to work in case pseudo contextual content

Parameters

public method getContextualRoot ( contentItem )

Get contextual content from the given content item data

Parameters

public method getContextualRootName ( contentItem )

Get contextual root name based on the current content context data type.

Parameters

public method hasContextual ( contentAncestors )

Verifies the given tree node has a ancestor is contextual or not

Parameters

public method isContextualContent ( contentItem )

Verifies the given content item data is contextual or not

Parameters

public method isContextualRoot ( contentItem )

Checks to see the given data item object is contextual root or not

Parameters

public method isPseudoContextualRoot ( contentItem )

Checks to see if the item is a pseudo contextual content

Parameters

public method isTypeOfRoot ( contentItem )

Checks to see if the item is type of root node such as: root, sub root, context root

Parameters

protected method own ( )

Track specified handles and remove/destroy them when this instance is destroyed, unless they were already removed/destroyed manually.