mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 07:41:51 +08:00
refactor(item-sliding): export something to fix the typescript issue where it is not generating a .d.ts file
This commit is contained in:
@ -8,14 +8,14 @@ import { ItemOptions } from './item-options';
|
|||||||
const SWIPE_MARGIN = 30;
|
const SWIPE_MARGIN = 30;
|
||||||
const ELASTIC_FACTOR = 0.55;
|
const ELASTIC_FACTOR = 0.55;
|
||||||
|
|
||||||
const enum ItemSide {
|
export const enum ItemSide {
|
||||||
None = 0,
|
None = 0,
|
||||||
Left = 1 << 0,
|
Left = 1 << 0,
|
||||||
Right = 1 << 1,
|
Right = 1 << 1,
|
||||||
Both = Left | Right
|
Both = Left | Right
|
||||||
}
|
}
|
||||||
|
|
||||||
const enum SlidingState {
|
export const enum SlidingState {
|
||||||
Disabled = 1 << 1,
|
Disabled = 1 << 1,
|
||||||
Enabled = 1 << 2,
|
Enabled = 1 << 2,
|
||||||
Right = 1 << 3,
|
Right = 1 << 3,
|
||||||
|
|||||||
Reference in New Issue
Block a user