mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
feat(custom-elements): add experimental custom elements build (#22863)
Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com>
This commit is contained in:
@ -73,7 +73,9 @@
|
||||
<script>
|
||||
customElements.whenDefined('ion-tabs').then(async () => {
|
||||
const tabs = document.querySelector('ion-tabs');
|
||||
await tabs.componentOnReady();
|
||||
if (tabs.componentOnReady) {
|
||||
await tabs.componentOnReady();
|
||||
}
|
||||
await tabs.select('tab-three');
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user