ZoomSettingsMode enum
Defines how zoom changes are handled, i.e., which entity is responsible for
the actual scaling of the page; defaults to automatic
.
Values
- automatic → const ZoomSettingsMode
-
Zoom changes are handled automatically by the browser.
const ZoomSettingsMode('automatic')
- manual → const ZoomSettingsMode
-
Overrides the automatic handling of zoom changes. The
onZoomChange
event will still be dispatched, and it is the extension's responsibility to listen for this event and manually scale the page. This mode does not supportper-origin
zooming, and thus ignores thescope
zoom setting and assumesper-tab
.const ZoomSettingsMode('manual')
- disabled → const ZoomSettingsMode
-
Disables all zooming in the tab. The tab reverts to the default zoom level, and all attempted zoom changes are ignored.
const ZoomSettingsMode('disabled')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJS(
String value) → ZoomSettingsMode
Constants
-
values
→ const List<
ZoomSettingsMode> - A constant List of the values in this enum, in order of their declaration.