Javascript for Episerver 7.5 cms

_ViewSetting (constructor)

Summary

Abstract view setting class. Concreate view setting classes define a key to get setting value from URL hash, and an apply method. On applying settings, "/epi/cms/action/viewsettingchanged" will be published.

Location

epi-cms/contentediting/_ViewSetting

Extends

Properties

_attrPairNames

enabled

key

value

Methods

public inherited method _getAttrNames ( _9 )

Parameters

public inherited method _set ( _b , _c )

Parameters

public method afterPreviewLoad ( preview , enabled )

After the preview is loaded. The view setting implementation can modify preview parameters it concerns Concrete implementation should either make changes to the preview or return set of preview parameters if changes require the preview to reload.

Parameters

public method beforePreviewLoad ( previewParams , enabled )

Before the preview is loaded. The view setting implementation can modify preview parameters it concerns. In most of the cases, previewParams contains Url parameter to load the preview iframe.

Parameters

public inherited method get ( _3 )

Parameters

public inherited method set ( _5 , _6 )

Parameters