@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
23 lines (22 loc) • 713 B
TypeScript
import { VNode } from "../../stencil-public-runtime";
import { FlowDirection } from "./interfaces";
/**
* @slot - A slot for adding `calcite-panel`s to the flow.
*/
export declare class CalciteFlow {
/**
* Removes the currently active `calcite-panel`.
*/
back(): Promise<HTMLCalcitePanelElement>;
el: HTMLCalciteFlowElement;
panelCount: number;
flowDirection: FlowDirection;
panels: HTMLCalcitePanelElement[];
connectedCallback(): void;
disconnectedCallback(): void;
handleCalcitePanelBackClick(): void;
getFlowDirection: (oldPanelCount: number, newPanelCount: number) => FlowDirection | null;
updateFlowProps: () => void;
panelItemObserver: MutationObserver;
render(): VNode;
}