type RenderContext.PlacementMode
An identifier that specifies a global rendering mode, part of RenderContext.PlacementOptions.
type PlacementMode =
| "none"
| "screen"
| "page"
| "modal"
| "overlay"
| "mount";
Description
This type describes how root view output elements are placed among other output. The following options are available:
none— No output should be placed at all.screen— The output should fill the entire screen, on top of other content.page— The output should fill the entire screen, on top of other content; if the content is too large, the content can be scrolled up and down.modal— The output should appear on top of all other output, surrounded by a shaded margin. ACloseModalevent is emitted when touching or clicking outside of the modal view area, or pressing the Escape key.overlay— The output should appear on top of all other output, but without blocking input to existing content below.mount— The output should be ‘mounted’ within an existing output element, with a specified string ID (e.g. HTML element).
Related
class RenderContext abstract
An abstract class that supports global view rendering, part of the global application context.
