mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
refactor(all): using ComponentInterface
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, Element, Event, EventEmitter, Method, Prop } from '@stencil/core';
|
||||
import { Component, ComponentInterface, Element, Event, EventEmitter, Method, Prop } from '@stencil/core';
|
||||
|
||||
import { Side } from '../../interface';
|
||||
import { isEndSide } from '../../utils/helpers';
|
||||
@ -10,7 +10,7 @@ import { isEndSide } from '../../utils/helpers';
|
||||
md: 'item-options.md.scss'
|
||||
}
|
||||
})
|
||||
export class ItemOptions {
|
||||
export class ItemOptions implements ComponentInterface {
|
||||
@Element() el!: HTMLElement;
|
||||
|
||||
@Prop({ context: 'window' }) win!: Window;
|
||||
|
Reference in New Issue
Block a user