Skip to main content

Function: isInEditMode()

isInEditMode(page): Promise<boolean>

Defined in: src/fe/object-page.ts:284

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.

Remarks​

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

Example​

const editing = await isInEditMode(page);