ZoomSettingsMode enum

Defines how zoom changes are handled, i.e., which entity is responsible for the actual scaling of the page; defaults to automatic.

Inheritance
Available extensions

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 support per-origin zooming, and thus ignores the scope zoom setting and assumes per-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

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS String
no setter
value String
final

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.