update template
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package webextension_polyfill.tabs;
|
||||
|
||||
/**
|
||||
Defines how zoom changes are handled, i.e. which entity is responsible for the actual scaling of the page; defaults to
|
||||
<code>automatic</code>.
|
||||
|
||||
"automatic": Zoom changes are handled automatically by the browser.
|
||||
"manual": Overrides the automatic handling of zoom changes. The <code>onZoomChange</code> event will still be dispatched,
|
||||
and it is the responsibility of the extension to listen for this event and manually scale the page.
|
||||
This mode does not support <code>per-origin</code> zooming, and will thus ignore the <code>scope</code>
|
||||
zoom setting and assume <code>per-tab</code>.
|
||||
"disabled": Disables all zooming in the tab. The tab will revert to the default zoom level,
|
||||
and all attempted zoom changes will be ignored.
|
||||
**/
|
||||
typedef ZoomSettingsMode = String;
|
Reference in New Issue
Block a user