mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
feat(modal): add card-style presentation with swipe to close gesture (#19428)
resolves #18660
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { Component, ComponentInterface, Element, Event, EventEmitter, Host, Method, Prop, State, h } from '@stencil/core';
|
||||
|
||||
import { getIonMode } from '../../global/ionic-global';
|
||||
import { Animation, AnimationBuilder, CssClassMap, OverlayEventDetail, OverlayInterface, PickerButton, PickerColumn } from '../../interface';
|
||||
import { AnimationBuilder, CssClassMap, OverlayEventDetail, OverlayInterface, PickerButton, PickerColumn } from '../../interface';
|
||||
import { BACKDROP, dismiss, eventMethod, isCancel, prepareOverlay, present, safeCall } from '../../utils/overlays';
|
||||
import { getClassMap } from '../../utils/theme';
|
||||
|
||||
@ -24,8 +24,6 @@ export class Picker implements ComponentInterface, OverlayInterface {
|
||||
|
||||
mode = getIonMode(this);
|
||||
|
||||
animation?: Animation;
|
||||
|
||||
@Element() el!: HTMLIonPickerElement;
|
||||
|
||||
@State() presented = false;
|
||||
|
Reference in New Issue
Block a user