@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
23 lines (22 loc) • 772 B
TypeScript
import { VNode } from "../../stencil-public-runtime";
import { FlowDirection } from "./interfaces";
/**
* @slot - A slot for adding `calcite-flow-item` elements to the component.
*/
export declare class Flow {
/**
* Removes the currently active `calcite-flow-item`.
*/
back(): Promise<HTMLCalciteFlowItemElement>;
el: HTMLCalciteFlowElement;
flowDirection: FlowDirection;
itemCount: number;
items: HTMLCalciteFlowItemElement[];
itemMutationObserver: import("../../utils/observers").ExtendedMutationObserver;
connectedCallback(): void;
disconnectedCallback(): void;
handleItemBackClick(): void;
getFlowDirection: (oldFlowItemCount: number, newFlowItemCount: number) => FlowDirection | null;
updateFlowProps: () => void;
render(): VNode;
}