Javascript for Episerver 7.5 cms

_ContentContextMixin

Location

epi-cms/_ContentContextMixin

Extends

Properties

_currentContentContext

_currentContext

_waitingForContext

contentDataStore

ignoreVersionWhenComparingLinks

Methods

protected method _compareUris ( obj1 , obj2 )

Checks if the URI:s are equal

Parameters

protected method _isContentContext ( ctx )

Verifies that the context has content data

Parameters

protected method _isSameAsCurrentContentContext ( ctx )

Checks if the content context has Id and PreferredLanguage the same as the already loaded current content context.

Parameters

protected method _isSameAsCurrentContext ( uri )

Checks if the URI is the same as the already loaded context.

Parameters

protected method contentContextChanged ( ctx , callerData )

Called when the currently loaded content changes. I.e. a new content data object is loaded into the preview area.

Parameters

protected method contentContextUpdated ( ctx , callerData )

Called when the currently loaded content updated.

Parameters

protected method getCurrentContent ( )

Returns either the current content or a deferred which will resolve a content data as soon as it becomes available.


public method itemChanged ( id , item )

Notification event when an item has been patched or reloaded.

Parameters

protected method own ( )

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