pub fn did_mount(actions: impl Fn(&Element) + 'static) -> DidMount
Aconstructor for DidMount, to be used in the API