Core API Overview > @adpt/core > stack
stack() function
Signature:
export declare function stack(stackName: string, root: AdaptElementOrNull | Promise<AdaptElementOrNull>, style?: AdaptElementOrNull | Promise<AdaptElementOrNull>): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| stackName | string | |
| root | AdaptElementOrNull |Promise<AdaptElementOrNull> | |
| style | AdaptElementOrNull |Promise<AdaptElementOrNull> |
Returns:
void