I am working on a Custom UI Dashboard Gadget using the forge documentation here. The documentation refers to the context.extension.entryPoint
. I can retrieve and see the context
, and context.extension
in the values returned by view.getContext()
but there is no entryPoint
key in the returned object.
How should I determine whether the dashboard is in edit mode so that I can configure my gadget?
Relevant code is.
import { view } from '@forge/bridge';
const context = await view.getContext()
console.info(JSON.stringify(context))