ZoomSettings constructor
ZoomSettings({
- ZoomSettingsMode? mode,
- ZoomSettingsScope? scope,
- double? defaultZoomFactor,
Implementation
ZoomSettings({
/// Defines how zoom changes are handled, i.e., which entity is responsible
/// for the actual scaling of the page; defaults to `automatic`.
ZoomSettingsMode? mode,
/// Defines whether zoom changes persist for the page's origin, or only take
/// effect in this tab; defaults to `per-origin` when in `automatic` mode,
/// and `per-tab` otherwise.
ZoomSettingsScope? scope,
/// Used to return the default zoom level for the current tab in calls to
/// tabs.getZoomSettings.
double? defaultZoomFactor,
}) : _wrapped = $js.ZoomSettings(
mode: mode?.toJS,
scope: scope?.toJS,
defaultZoomFactor: defaultZoomFactor,
);