Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp core library.displaymode

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-core-library > DisplayMode

DisplayMode enum

Indicates whether a visual control should display itself for reading or for editing.

Signature:

declare enum DisplayMode

Enumeration Members

Member Value Description
Edit 2 The page, control, or editing surface is in a mode intended for authoring new content. It may display editing panels or other controls that are not part of the normal reading experience.
Read 1 The page, control, or editing surface is in a mode intended for reading. It may have some interactive features, but the authoring controls are not enabled.
Clone this wiki locally