Skip to main content
Version: 1.x

Function: isInEditMode()

isInEditMode(page): Promise<boolean>

Checks whether the Object Page is currently in edit mode.

Parameters​

page​

ObjectPagePage

Page to evaluate on.

Returns​

Promise<boolean>

true if in edit mode, false otherwise.

Intent​

Determine the current edit/display state of the Object Page.

Capability​

fe.objectPage.isInEditMode

Remarks​

Checks showFooter property and ui model /editable//editMode.

Example​

const editing = await isInEditMode(page);