Javascript for Episerver 7.5 cms

_ContentContextMixin (constructor)

Location

epi-cms/_ContentContextMixin

Extends

Properties

_currentContentContext

_currentContext

_waitingForContext

contentDataStore

ignoreVersionWhenComparingLinks

Methods

public method _compareUris ( obj1 , obj2 )

Checks if the URI:s are equal

Parameters

public inherited method _contextChanged ( _11 , _12 )

Parameters

public inherited method _initialContextChanged ( _13 , _14 )

Parameters

public method _isContentContext ( ctx )

Verifies that the context has content data

Parameters

public method _isSameAsCurrentContentContext ( ctx )

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

Parameters

public method _isSameAsCurrentContext ( uri )

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

Parameters

public inherited method constructor ( _6 )

Parameters

public 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

public method contentContextUpdated ( ctx , callerData )

Called when the currently loaded content updated.

Parameters

public method contextChanged ( ctx , callerData )

Parameters

public inherited method contextChangeFailed ( ctx , _10 )

Parameters

public method contextUpdated ( ctx , callerData )

Parameters

public inherited method destroy ( preserveDom )

Destroy this class, releasing any resources registered via own().

Parameters

public method getContentDataStore ( )

Gets the content data store from store registry if it's not already cached


public method getCurrentContent ( )

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


public inherited method getCurrentContext ( )


public method itemChanged ( id , item )

Notification event when an item has been patched or reloaded.

Parameters

public inherited method own ( )

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


public method postscript ( )