mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(all): updated tslint rules to latest
This commit is contained in:
@ -4,13 +4,13 @@ import { Animation } from '../../../interface';
|
||||
/**
|
||||
* iOS Loading Enter Animation
|
||||
*/
|
||||
export function iosEnterAnimation(Animation: Animation, baseEl: HTMLElement): Promise<Animation> {
|
||||
const baseAnimation = new Animation();
|
||||
export function iosEnterAnimation(AnimationC: Animation, baseEl: HTMLElement): Promise<Animation> {
|
||||
const baseAnimation = new AnimationC();
|
||||
|
||||
const backdropAnimation = new Animation();
|
||||
const backdropAnimation = new AnimationC();
|
||||
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop'));
|
||||
|
||||
const wrapperAnimation = new Animation();
|
||||
const wrapperAnimation = new AnimationC();
|
||||
wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper'));
|
||||
|
||||
backdropAnimation.fromTo('opacity', 0.01, 0.3);
|
||||
|
||||
@ -4,13 +4,13 @@ import { Animation } from '../../../interface';
|
||||
/**
|
||||
* iOS Loading Leave Animation
|
||||
*/
|
||||
export function iosLeaveAnimation(Animation: Animation, baseEl: HTMLElement): Promise<Animation> {
|
||||
const baseAnimation = new Animation();
|
||||
export function iosLeaveAnimation(AnimationC: Animation, baseEl: HTMLElement): Promise<Animation> {
|
||||
const baseAnimation = new AnimationC();
|
||||
|
||||
const backdropAnimation = new Animation();
|
||||
const backdropAnimation = new AnimationC();
|
||||
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop'));
|
||||
|
||||
const wrapperAnimation = new Animation();
|
||||
const wrapperAnimation = new AnimationC();
|
||||
wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper'));
|
||||
|
||||
backdropAnimation.fromTo('opacity', 0.3, 0);
|
||||
|
||||
@ -3,13 +3,13 @@ import { Animation } from '../../../interface';
|
||||
/**
|
||||
* Md Loading Enter Animation
|
||||
*/
|
||||
export function mdEnterAnimation(Animation: Animation, baseEl: HTMLElement): Promise<Animation> {
|
||||
const baseAnimation = new Animation();
|
||||
export function mdEnterAnimation(AnimationC: Animation, baseEl: HTMLElement): Promise<Animation> {
|
||||
const baseAnimation = new AnimationC();
|
||||
|
||||
const backdropAnimation = new Animation();
|
||||
const backdropAnimation = new AnimationC();
|
||||
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop'));
|
||||
|
||||
const wrapperAnimation = new Animation();
|
||||
const wrapperAnimation = new AnimationC();
|
||||
wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper'));
|
||||
|
||||
backdropAnimation.fromTo('opacity', 0.01, 0.5);
|
||||
|
||||
@ -3,13 +3,13 @@ import { Animation } from '../../../interface';
|
||||
/**
|
||||
* Md Loading Leave Animation
|
||||
*/
|
||||
export function mdLeaveAnimation(Animation: Animation, baseEl: HTMLElement): Promise<Animation> {
|
||||
const baseAnimation = new Animation();
|
||||
export function mdLeaveAnimation(AnimationC: Animation, baseEl: HTMLElement): Promise<Animation> {
|
||||
const baseAnimation = new AnimationC();
|
||||
|
||||
const backdropAnimation = new Animation();
|
||||
const backdropAnimation = new AnimationC();
|
||||
backdropAnimation.addElement(baseEl.querySelector('ion-backdrop'));
|
||||
|
||||
const wrapperAnimation = new Animation();
|
||||
const wrapperAnimation = new AnimationC();
|
||||
wrapperAnimation.addElement(baseEl.querySelector('.loading-wrapper'));
|
||||
|
||||
backdropAnimation.fromTo('opacity', 0.5, 0);
|
||||
|
||||
Reference in New Issue
Block a user