mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
refactor(all): using ComponentInterface
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, Element, Event, EventEmitter, Listen, Prop, QueueApi, State, Watch } from '@stencil/core';
|
||||
import { Component, ComponentInterface, Element, Event, EventEmitter, Listen, Prop, QueueApi, State, Watch } from '@stencil/core';
|
||||
|
||||
import { Color, Gesture, GestureDetail, InputChangeEvent, Mode, RangeValue, StyleEvent } from '../../interface';
|
||||
import { clamp, debounceEvent, deferEvent } from '../../utils/helpers';
|
||||
@ -14,7 +14,7 @@ import { Knob, RangeEventDetail } from './range-interface';
|
||||
},
|
||||
shadow: true
|
||||
})
|
||||
export class Range {
|
||||
export class Range implements ComponentInterface {
|
||||
|
||||
private noUpdate = false;
|
||||
private rect!: ClientRect;
|
||||
|
Reference in New Issue
Block a user