mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
refactor(all): allow external imports
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { Animation } from '../../../interface';
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { Animation } from '../../../interface';
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { Animation } from '../../../interface';
|
||||
|
||||
/**
|
||||
* Md Loading Enter Animation
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { Animation } from '../../../interface';
|
||||
|
||||
/**
|
||||
* Md Loading Leave Animation
|
||||
|
||||
10
core/src/components/loading/loading-interface.ts
Normal file
10
core/src/components/loading/loading-interface.ts
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
export interface LoadingOptions {
|
||||
spinner?: string;
|
||||
content?: string;
|
||||
cssClass?: string | string[];
|
||||
showBackdrop?: boolean;
|
||||
dismissOnPageChange?: boolean;
|
||||
duration?: number;
|
||||
translucent?: boolean;
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||
import { Animation, AnimationBuilder, Config, Mode } from '../../index';
|
||||
import { Animation, AnimationBuilder, Config, Mode } from '../../interface';
|
||||
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
||||
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
||||
|
||||
@ -218,13 +218,3 @@ export class Loading implements OverlayInterface {
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
export interface LoadingOptions {
|
||||
spinner?: string;
|
||||
content?: string;
|
||||
cssClass?: string | string[];
|
||||
showBackdrop?: boolean;
|
||||
dismissOnPageChange?: boolean;
|
||||
duration?: number;
|
||||
translucent?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user