bottom-sheet
Version:
Bottom Sheet implemented as a Vanilla Web Component
87 lines (67 loc) • 2.52 kB
TypeScript
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import './stencil.core';
export namespace Components {
interface BottomSheetIndicator {}
interface BottomSheetIndicatorAttributes extends StencilHTMLAttributes {}
interface BottomSheetScreen {
'connectedBottomSheet': HTMLBottomSheetElement;
'disable': () => void;
'enable': () => void;
'progress': number;
}
interface BottomSheetScreenAttributes extends StencilHTMLAttributes {
'connectedBottomSheet'?: HTMLBottomSheetElement;
'progress'?: number;
}
interface BottomSheet {
'arrow': boolean;
'close': () => Promise<void>;
'initialPosition': 'top' | 'bottom';
'open': () => Promise<void>;
}
interface BottomSheetAttributes extends StencilHTMLAttributes {
'arrow'?: boolean;
'initialPosition'?: 'top' | 'bottom';
}
}
declare global {
interface StencilElementInterfaces {
'BottomSheetIndicator': Components.BottomSheetIndicator;
'BottomSheetScreen': Components.BottomSheetScreen;
'BottomSheet': Components.BottomSheet;
}
interface StencilIntrinsicElements {
'bottom-sheet-indicator': Components.BottomSheetIndicatorAttributes;
'bottom-sheet-screen': Components.BottomSheetScreenAttributes;
'bottom-sheet': Components.BottomSheetAttributes;
}
interface HTMLBottomSheetIndicatorElement extends Components.BottomSheetIndicator, HTMLStencilElement {}
var HTMLBottomSheetIndicatorElement: {
prototype: HTMLBottomSheetIndicatorElement;
new (): HTMLBottomSheetIndicatorElement;
};
interface HTMLBottomSheetScreenElement extends Components.BottomSheetScreen, HTMLStencilElement {}
var HTMLBottomSheetScreenElement: {
prototype: HTMLBottomSheetScreenElement;
new (): HTMLBottomSheetScreenElement;
};
interface HTMLBottomSheetElement extends Components.BottomSheet, HTMLStencilElement {}
var HTMLBottomSheetElement: {
prototype: HTMLBottomSheetElement;
new (): HTMLBottomSheetElement;
};
interface HTMLElementTagNameMap {
'bottom-sheet-indicator': HTMLBottomSheetIndicatorElement
'bottom-sheet-screen': HTMLBottomSheetScreenElement
'bottom-sheet': HTMLBottomSheetElement
}
interface ElementTagNameMap {
'bottom-sheet-indicator': HTMLBottomSheetIndicatorElement;
'bottom-sheet-screen': HTMLBottomSheetScreenElement;
'bottom-sheet': HTMLBottomSheetElement;
}
}