feat(overlays): close overlay with back-button

This commit is contained in:
Manu Mtz.-Almeida
2018-09-04 01:09:29 +02:00
parent dfac9dc4e9
commit 4ccbefa4c6
4 changed files with 18 additions and 8 deletions

View File

@ -41,7 +41,7 @@ export type ComponentRef = Function | HTMLElement | string;
export type ComponentProps<T = null> = T extends ComponentTags ? StencilIntrinsicElements[T] : {[key: string]: any};
export type CssClassMap = { [className: string]: boolean };
export type BackButtonEvent = CustomEvent<{
register(priority: number, handler: () => Promise<void> | void): void;
register(priority: number, handler: () => Promise<any> | void): void;
}>
declare global {