Javascript for Episerver 7.5 cms

ShortcutNotification (constructor)

Location

epi-cms/contentediting/ShortcutNotification

Extends

Properties

_attrPairNames

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

_invokeActionProperty

Property name that used to fire action on the store

_store

Notification store

_storeName

Name of the store

contentData

The contentdata object to provide pageShortcutType messages for

invokeActionValue

Data that used to fire action on the store when its value changed

LinkTypes

notification

Notification object format: { content: "notification message", commands: [] }

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

protected method _executeAction ( value )

Perform action on the store

Parameters

public inherited method _get ( name , names )

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

Parameters

protected method _onExecuteFailed ( )

Perform action(s) when store's function executed fail


protected method _onExecuteSuccess ( value )

Update notification

Parameters

protected method _setNotification ( notification )

Stub to set notification

Parameters

public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public method postscript ( )


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