mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
refactor(all): using ComponentInterface
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||
import { Component, ComponentInterface, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||
|
||||
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode, OverlayEventDetail, OverlayInterface } from '../../interface';
|
||||
import { attachComponent, detachComponent } from '../../utils/framework-delegate';
|
||||
@ -18,7 +18,7 @@ import { mdLeaveAnimation } from './animations/md.leave';
|
||||
md: 'modal.md.scss'
|
||||
}
|
||||
})
|
||||
export class Modal implements OverlayInterface {
|
||||
export class Modal implements ComponentInterface, OverlayInterface {
|
||||
|
||||
private usersElement?: HTMLElement;
|
||||
|
||||
|
Reference in New Issue
Block a user