Javascript for Episerver 7.5 cms

CollectionEditorItemModel (constructor)

Location

epi-cms/contentediting/editors/model/CollectionEditorItemModel

Extends

Properties

_attrPairNames

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

_itemData

The original item

name

Item name. Used for item's dnd creator.

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 method fromItemData ( itemData )

Create item model object from raw item data.

Parameters

public inherited method get ( name )

Get a property on a Stateful instance.

Parameters

public inherited method postscript ( params )

Parameters

public inherited method set ( name , value )

Set a property on a Stateful instance

Parameters

public method toItemData ( )

Unwrap item model and return raw item data.


public inherited method watch ( name , callback )

Watches a property for changes

Parameters