Javascript for Episerver 7.5 cms

SelectDisplayOption (constructor)

Location

epi-cms/contentediting/command/SelectDisplayOption

Extends

Properties

_attrPairNames

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

_labelAutomatic

_modelChangeWatcher

canExecute

category

A category which hints that this item should be displayed as an popup menu.

iconClass

isAvailable

label

The action text of the command to be used in visual elements.

model

order

tooltip

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _execute ( )


public inherited method _get ( name , names )

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

Parameters

public inherited method _getContainer ( )

Get the selected content parent model


public inherited method _getItem ( )

Get the selected content model, based on its group


public method _onModelChange ( )

Updates canExecute after the model value has changed.


public method _onModelValueChange ( )


public method _setLabel ( displayOption )

Parameters

public inherited method _watch ( property , callback , scope )

Attach a watch handler to the model

Parameters

public method constructor ( )


public inherited method destroy ( )


public inherited method execute ( )


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 unwatchModelChange ( )


public inherited method watch ( name , callback )

Watches a property for changes

Parameters

public inherited method watchModelChange ( )