mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
refactor(all): using ComponentInterface
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, Element, Event, EventEmitter, EventListenerEnable, Listen, Method, Prop, QueueApi, State, Watch } from '@stencil/core';
|
||||
import { Component, ComponentInterface, Element, Event, EventEmitter, EventListenerEnable, Listen, Method, Prop, QueueApi, State, Watch } from '@stencil/core';
|
||||
|
||||
import { Animation, Config, Gesture, GestureDetail, MenuChangeEventDetail, MenuControllerI, MenuI, Mode, Side } from '../../interface';
|
||||
import { assert, isEndSide as isEnd } from '../../utils/helpers';
|
||||
@ -11,7 +11,7 @@ import { assert, isEndSide as isEnd } from '../../utils/helpers';
|
||||
},
|
||||
shadow: true
|
||||
})
|
||||
export class Menu implements MenuI {
|
||||
export class Menu implements ComponentInterface, MenuI {
|
||||
|
||||
private animation?: Animation;
|
||||
private lastOnEnd = 0;
|
||||
|
Reference in New Issue
Block a user