Skip to main content

Module WebviewLifecycle

Module WebviewLifecycle 

Source
Expand description

Cocoon → Mountain webview.setTitle / webview.setIconPath / webview.setHtml notifications. Shared atom because the three wire methods map to the same suffix-split pattern; keeping them in one file avoids three near-identical 5-line files while still pinning the handler to a discoverable filename.

For per-extension isolation and payload inspection, split this into three atoms (WebviewSetTitle, WebviewSetIconPath, WebviewSetHtml) when the divergence is worth it - the dispatcher would add two more single-line arms.

Functions§

WebviewLifecycle