feat(app): hardware back button support

This commit is contained in:
Manu Mtz.-Almeida
2018-09-03 00:31:21 +02:00
parent d40d0a706f
commit dfac9dc4e9
9 changed files with 82 additions and 10 deletions

View File

@ -40,6 +40,9 @@ export type ComponentTags = keyof StencilIntrinsicElements;
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;
}>
declare global {
interface StencilGlobalHTMLAttributes {