Javascript for Episerver 7.5 cms

_FormEditingMixin (constructor)

Summary

Form editing controller.

Location

epi-cms/contentediting/_FormEditingMixin

Properties

_form

_formConnects

_formWidgets

canHandleLeftOver

Indicate that the view can handle "left over" on the edit layout container.

connectOverlayItemsToFormWidgets

Denote if we want to connect overlay items to form widgets, which means user can click on overlay item to start edit on form. Should be set to true on side by side editing.

formSettings

Settings used when creating form.

selectFormOnCreation

Indicate that the form should be set as selected child after being added to edit layout.

Methods

public method _finishFormCreation ( )


public method _removeLeftOver ( )


public method destroy ( )

Destroy the widget.


public method onFieldCreated ( fieldName , widget )

Triggerred when a field created.

Parameters

public method onFormCreated ( form )

Triggerred when the whole form created.

Parameters

public method onGroupCreated ( groupName , widget )

Triggerred when a group created.

Parameters

public method onReadySetupEditMode ( )

Finish edit mode setting up.


public method placeForm ( form )

Place edit form into container.

Parameters

public method remapEditMode ( )

Re configure edit mode after the preview context changed.


public method removeForm ( form )

Remove edit form from container.

Parameters