Javascript for Episerver 7.5 cms

ContentBlockEditorViewModel (constructor)

Location

epi-cms/contentediting/editors/ContentBlockEditorViewModel

Extends

Properties

_attrPairNames

Used across all instances a hash to cache attribute names and their getter and setter names.

_contentStructureStore

_currentContext

_waitingForContext

autoLoadStatus

Set it to true of the status information should be automatically loaded when the contentLink is set

contentGroup

contentLink

index

name

roleIdentities

selected

statusIcon

Store content status icon classes

statusMessage

Store content status message. Can be [String] or [Array] data type.

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _contentLinkSetter ( contentLink )

Content Link setter

Parameters

public inherited method _contentSetter ( content )

Parameters

public inherited method _contentStatusSetter ( status )

Parameters

public inherited method _contextChanged ( _11 , _12 )

Parameters

public inherited method _get ( name , names )

Private function that does a get based off a hash of names

Parameters

protected method _getStatusMessage ( )

Get content version status message. Override this function to customize content status message.


public inherited method _initialContextChanged ( _13 , _14 )

Parameters

public inherited method _isDeletedGetter ( )


public inherited method _isTranslationNeededGetter ( )


public inherited method _isVisibleOnSiteGetter ( )

Allow create additional information area or not. Based on content version status.


public inherited method _missingLanguageBranchGetter ( )


public inherited method constructor ( )


public inherited method contextChanged ( _c , _d )

Parameters

public inherited method contextChangeFailed ( ctx , _10 )

Parameters

public inherited method contextUpdated ( _e , _f )

Parameters

public inherited method destroy ( preserveDom )

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

Parameters

public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public inherited method getCurrentContext ( )


public method getValue ( )


public inherited method loadStatus ( )

Loads the status for the current contentLink


protected method own ( )

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


public inherited method postscript ( params )

Parameters

public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public inherited method watch ( name , callback )

Watches a property for changes

Parameters