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