init-on and init-on-targetFore can delay initialization until an event occurs. This is useful when you need to wait for other components (or a bootstrap process) before models/instances are constructed.
init-on: event name that must be observed before Fore initializes.init-on-target: where to listen for that event. Supports self (default),
document, window, closest, or a CSS selector. Multiple targets are
supported as a whitespace or comma separated list.wait-for (deprecated): legacy alias for waiting on other fx-fore elements to fire
ready. Use init-on="ready" + init-on-target="..." instead.
document
Status:
fx-fore fires ready (replacement for wait-for)
Master:
Dependent:
A:
B:
Gate:
wait-for (kept for compatibility)
This still works but prints a deprecation warning in the console. Replace it with
init-on="ready" init-on-target="...".
Legacy master:
Legacy dependent: