chore(): sync with main

This commit is contained in:
Liam DeBeasi
2022-09-30 12:27:17 -04:00
512 changed files with 1888 additions and 4091 deletions

View File

@ -10,6 +10,12 @@ export const IonBackButton = /*@__PURE__*/ defineComponent((_, { attrs, slots })
const ionRouter: any = inject('navManager');
const onClick = () => {
/**
* When using ion-back-button outside of
* a routing context, ionRouter is undefined.
*/
if (ionRouter === undefined) { return; }
const defaultHref = attrs['default-href'] || attrs['defaultHref'];
const routerAnimation = attrs['router-animation'] || attrs['routerAnimation'];