Skip to main content

type.OnPageLoad

type OnPageLoad<P> = dyn Fn(Window<P>, PageLoadPayload) + Send + Sync + 'static;

A closure that is run once every time a window is created and loaded.