(_: App, config: IonicConfig = {})
| 4 | |
| 5 | export const IonicVue: Plugin<[IonicConfig?]> = { |
| 6 | async install(_: App, config: IonicConfig = {}) { |
| 7 | /** |
| 8 | * By default Ionic Framework hides elements that |
| 9 | * are not hydrated, but in the CE build there is no |
| 10 | * hydration. |
| 11 | * TODO FW-2797: Remove when all integrations have been |
| 12 | * migrated to CE build. |
| 13 | */ |
| 14 | if (typeof (document as any) !== "undefined") { |
| 15 | document.documentElement.classList.add("ion-ce"); |
| 16 | } |
| 17 | |
| 18 | initialize(config); |
| 19 | }, |
| 20 | }; |
nothing calls this directly
no test coverage detected