@microsoft/fast-element > HydratableElementController
HydratableElementController class
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
An ElementController capable of hydrating FAST elements from Declarative Shadow DOM.
Signature:
export declare class HydratableElementController<TElement extends HTMLElement = HTMLElement> extends ElementController<TElement>
Extends: ElementController<TElement>
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
(BETA) (Optional) Lifecycle callbacks for hydration events | ||
|
|
boolean |
(BETA) (Optional) Controls whether the controller will hydrate during the connect() method. Initialized during the first connect() call to true when the | |
|
ShadowRootOptions | undefined |
(BETA) The shadow root options for the component. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
(BETA) Configure lifecycle callbacks for hydration events | |
|
(BETA) Runs connected lifecycle behavior on the associated element. | ||
|
(BETA) Unregisters the hydration observer when the element is disconnected. | ||
|
|
(BETA) Sets the ElementController strategy to HydratableElementController. |