Javascript for Episerver 7.5 cms

_ViewModelMixin (constructor)

Location

epi-cms/contentediting/viewmodel/_ViewModelMixin

Extends

Properties

_attrPairNames

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

Methods

public inherited method _changeAttrValue ( name , value )

Internal helper for directly changing an attribute value.

Parameters

public inherited method _get ( name , names )

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

Parameters

public inherited method destroy ( preserveDom )

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

Parameters

public method emit ( type , event )

Parameters

public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public method modify ( callback , scope , emitChanged )

Method used to wrap several changes in one "operation" When the callback has been executed the "changed" event will be emitted

Parameters

public inherited method on ( type , listener )

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 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