mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
refactor(all): using ComponentInterface
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Build, Component, Element, Event, EventEmitter, Method, Prop, Watch } from '@stencil/core';
|
||||
import { Build, Component, ComponentInterface, Element, Event, EventEmitter, Method, Prop, Watch } from '@stencil/core';
|
||||
|
||||
import { Color, ComponentRef, FrameworkDelegate } from '../../interface';
|
||||
import { attachComponent } from '../../utils/framework-delegate';
|
||||
@ -8,7 +8,7 @@ import { attachComponent } from '../../utils/framework-delegate';
|
||||
styleUrl: 'tab.scss',
|
||||
shadow: true
|
||||
})
|
||||
export class Tab {
|
||||
export class Tab implements ComponentInterface {
|
||||
|
||||
private loaded = false;
|
||||
@Element() el!: HTMLIonTabElement;
|
||||
|
||||
Reference in New Issue
Block a user