onBeforeMount function
void
onBeforeMount(
- void hook()
Called before the component is mounted to the DOM
Implementation
void onBeforeMount(void Function() hook) {
_registerHook(Lifecycle.beforeMount, hook);
}