Function dynamicAction
- dynamicAction(
 node: HTMLElement,
 options?: { action: Action<HTMLElement, unknown>; data?: unknown },
 ): ActionReturn<{ action: Action<HTMLElement, unknown>; data?: unknown }>Parameters- node: HTMLElementThe node associated with the action. 
- Optionaloptions: { action: Action<HTMLElement, unknown>; data?: unknown }- Defines the action to dynamically mount. 
 Returns ActionReturn<{ action: Action<HTMLElement, unknown>; data?: unknown }>The action lifecycle methods. 
- node: HTMLElement
Applies the given action dynamically allowing the hosted action to be updated reactively while still appropriately handling the action lifecycle methods.