class WebContextOptions
A class that contains options for the web context.
class WebContextOptions extends ConfigOptions
Notes
- These options should be set in a configuration callback passed to useWebContext.
Instance Members
- basePathThe application base path.
- useHistoryAPITrue if the DOM history API should be used, rather than location hashes.
- themeA WebTheme instance that will be set as the active theme.
- importCSSA list of URLs for CSS files to import.
- controlTextStyleControl text styles, defaults to system font at 14 logical pixels if not set.
- focusDecorationCustom focus (outline) decoration styles, if any.
- pageBackgroundPage background color (or CSS value), defaults to Background color.
- modalShadeBackgroundModal shade backdrop color (or CSS value), defaults to darkened Text color at low opacity.
- dialogStylesOptions for the appearance of the default modal dialog view (container).
- messageDialogStylesOptions for the appearance of the default modal message dialog view.
- modalMenuStylesOptions for the appearance of the default modal menu view.
- smallBreakpointBreakpoint (in logical pixels) below which ViewportContext.narrow and ViewportContext.short are set.
- largeBreakpointBreakpoint (in logical pixels) above which ViewportContext.wide and ViewportContext.tall are set.
- reducedMotionTrue if all anumations should be disabled.
- logicalPxScaleRelative scale of logical pixels, defaults to 1.
- missedFrameTimeTime (in ms) between frame renders if animation frame doesn’t trigger.