setRenderMode()
Set rendering mode and additional options.
protected setRenderMode(
mode: RenderContext.PlacementMode | "dialog",
options?: Partial<RenderContext.PlacementOptions>,
): this;
Notes
- By default, the activity view is rendered using the
pagerendering mode, as soon as the activity is activated. The mode can be changed using this method, or rendering can be disabled by specifying thenonemode. - Use the special
dialogmode to render the view within a dialog as defined by the current modal factory. - Additional options may be specified, including the page/screen background color.
Parameters
- mode — The selected rendering mode
- options — Additional placement options, if any
Related
class Activity
A class that represents a part of the application that can be activated when the user navigates to it.type RenderContext.PlacementOptions static
Type definition for global rendering placement options.modalFactory abstract
The current modal factory.
