Function silkenweb::window::on_beforeprint

source ·
pub fn on_beforeprint(f: impl FnMut(Event) + 'static) -> EventCallback
Expand description

Add a beforeprint event handler at the window level.

This only has an effect on WASM targets.