fix(vue): account for event name changes in vue 3.0.6+ for overlay components (#23100)

This commit is contained in:
Liam DeBeasi
2021-03-29 15:30:31 -04:00
committed by GitHub
parent ba51daf17c
commit 27318cf585
6 changed files with 108 additions and 12 deletions

View File

@ -1,8 +1,7 @@
import { App, Plugin } from 'vue';
import { IonicConfig, setupConfig } from '@ionic/core';
import { applyPolyfills, defineCustomElements } from '@ionic/core/loader';
const needsKebabCase = (version: string) => !['3.0.0', '3.0.1', '3.0.2', '3.0.3', '3.0.4', '3.0.5'].includes(version);
import { needsKebabCase } from './utils';
/**
* We need to make sure that the web component fires an event