Web-view definition state key holding the pane's own content zoom levels: a map from zoom area
id to factor. An area with no entry follows the default from Settings. Written only by the
platform; web views may read it.
A web view whose getWebViewDefinition rebuilds its own definition on re-point (a
reloadWebView pointed at another project through the same web view id) must carry its saved
state through wholesale, by spreading it rather than copying only the keys the view itself
uses: the platform stores a companion identity stamp next to this key, and a view that drops the
stamp while keeping the levels has the platform silently re-attribute the previous project's
level to the new one, rather than losing it.
Extension code cannot import this value at runtime — @papi/core is types-only — so a web view
that reads this state key writes the literal 'platform.contentZoomLevels' itself and keeps it
equal to this constant.
This constant is unstable and may change or disappear without notice
Web-view definition
statekey holding the pane's own content zoom levels: a map from zoom area id to factor. An area with no entry follows the default from Settings. Written only by the platform; web views may read it.A web view whose
getWebViewDefinitionrebuilds its own definition on re-point (areloadWebViewpointed at another project through the same web view id) must carry its savedstatethrough wholesale, by spreading it rather than copying only the keys the view itself uses: the platform stores a companion identity stamp next to this key, and a view that drops the stamp while keeping the levels has the platform silently re-attribute the previous project's level to the new one, rather than losing it.Extension code cannot import this value at runtime —
@papi/coreis types-only — so a web view that reads this state key writes the literal'platform.contentZoomLevels'itself and keeps it equal to this constant.This constant is unstable and may change or disappear without notice