mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
chore(): update to stencil 2.18.0 (#26023)
This commit is contained in:
58
core/api.txt
58
core/api.txt
@ -33,7 +33,7 @@ ion-action-sheet,prop,leaveAnimation,((baseEl: any, opts?: any) => Animation) |
|
|||||||
ion-action-sheet,prop,mode,"ios" | "md",undefined,false,false
|
ion-action-sheet,prop,mode,"ios" | "md",undefined,false,false
|
||||||
ion-action-sheet,prop,subHeader,string | undefined,undefined,false,false
|
ion-action-sheet,prop,subHeader,string | undefined,undefined,false,false
|
||||||
ion-action-sheet,prop,translucent,boolean,false,false,false
|
ion-action-sheet,prop,translucent,boolean,false,false,false
|
||||||
ion-action-sheet,method,dismiss,dismiss(data?: any, role?: string | undefined) => Promise<boolean>
|
ion-action-sheet,method,dismiss,dismiss(data?: any, role?: string) => Promise<boolean>
|
||||||
ion-action-sheet,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-action-sheet,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-action-sheet,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-action-sheet,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-action-sheet,method,present,present() => Promise<void>
|
ion-action-sheet,method,present,present() => Promise<void>
|
||||||
@ -80,7 +80,7 @@ ion-alert,prop,message,IonicSafeString | string | undefined,undefined,false,fals
|
|||||||
ion-alert,prop,mode,"ios" | "md",undefined,false,false
|
ion-alert,prop,mode,"ios" | "md",undefined,false,false
|
||||||
ion-alert,prop,subHeader,string | undefined,undefined,false,false
|
ion-alert,prop,subHeader,string | undefined,undefined,false,false
|
||||||
ion-alert,prop,translucent,boolean,false,false,false
|
ion-alert,prop,translucent,boolean,false,false,false
|
||||||
ion-alert,method,dismiss,dismiss(data?: any, role?: string | undefined) => Promise<boolean>
|
ion-alert,method,dismiss,dismiss(data?: any, role?: string) => Promise<boolean>
|
||||||
ion-alert,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-alert,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-alert,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-alert,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-alert,method,present,present() => Promise<void>
|
ion-alert,method,present,present() => Promise<void>
|
||||||
@ -401,7 +401,7 @@ ion-datetime,prop,value,null | string | string[] | undefined,undefined,false,fal
|
|||||||
ion-datetime,prop,yearValues,number | number[] | string | undefined,undefined,false,false
|
ion-datetime,prop,yearValues,number | number[] | string | undefined,undefined,false,false
|
||||||
ion-datetime,method,cancel,cancel(closeOverlay?: boolean) => Promise<void>
|
ion-datetime,method,cancel,cancel(closeOverlay?: boolean) => Promise<void>
|
||||||
ion-datetime,method,confirm,confirm(closeOverlay?: boolean) => Promise<void>
|
ion-datetime,method,confirm,confirm(closeOverlay?: boolean) => Promise<void>
|
||||||
ion-datetime,method,reset,reset(startDate?: string | undefined) => Promise<void>
|
ion-datetime,method,reset,reset(startDate?: string) => Promise<void>
|
||||||
ion-datetime,event,ionBlur,void,true
|
ion-datetime,event,ionBlur,void,true
|
||||||
ion-datetime,event,ionCancel,void,true
|
ion-datetime,event,ionCancel,void,true
|
||||||
ion-datetime,event,ionChange,DatetimeChangeEventDetail,true
|
ion-datetime,event,ionChange,DatetimeChangeEventDetail,true
|
||||||
@ -519,7 +519,7 @@ ion-infinite-scroll-content,prop,loadingText,IonicSafeString | string | undefine
|
|||||||
ion-input,scoped
|
ion-input,scoped
|
||||||
ion-input,prop,accept,string | undefined,undefined,false,false
|
ion-input,prop,accept,string | undefined,undefined,false,false
|
||||||
ion-input,prop,autocapitalize,string,'off',false,false
|
ion-input,prop,autocapitalize,string,'off',false,false
|
||||||
ion-input,prop,autocomplete,"off" | "on" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo",'off',false,false
|
ion-input,prop,autocomplete,"name" | "email" | "tel" | "url" | "on" | "off" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "photo",'off',false,false
|
||||||
ion-input,prop,autocorrect,"off" | "on",'off',false,false
|
ion-input,prop,autocorrect,"off" | "on",'off',false,false
|
||||||
ion-input,prop,autofocus,boolean,false,false,false
|
ion-input,prop,autofocus,boolean,false,false,false
|
||||||
ion-input,prop,clearInput,boolean,false,false,false
|
ion-input,prop,clearInput,boolean,false,false,false
|
||||||
@ -700,7 +700,7 @@ ion-loading,prop,mode,"ios" | "md",undefined,false,false
|
|||||||
ion-loading,prop,showBackdrop,boolean,true,false,false
|
ion-loading,prop,showBackdrop,boolean,true,false,false
|
||||||
ion-loading,prop,spinner,"bubbles" | "circles" | "circular" | "crescent" | "dots" | "lines" | "lines-sharp" | "lines-sharp-small" | "lines-small" | null | undefined,undefined,false,false
|
ion-loading,prop,spinner,"bubbles" | "circles" | "circular" | "crescent" | "dots" | "lines" | "lines-sharp" | "lines-sharp-small" | "lines-small" | null | undefined,undefined,false,false
|
||||||
ion-loading,prop,translucent,boolean,false,false,false
|
ion-loading,prop,translucent,boolean,false,false,false
|
||||||
ion-loading,method,dismiss,dismiss(data?: any, role?: string | undefined) => Promise<boolean>
|
ion-loading,method,dismiss,dismiss(data?: any, role?: string) => Promise<boolean>
|
||||||
ion-loading,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-loading,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-loading,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-loading,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-loading,method,present,present() => Promise<void>
|
ion-loading,method,present,present() => Promise<void>
|
||||||
@ -793,7 +793,7 @@ ion-modal,prop,presentingElement,HTMLElement | undefined,undefined,false,false
|
|||||||
ion-modal,prop,showBackdrop,boolean,true,false,false
|
ion-modal,prop,showBackdrop,boolean,true,false,false
|
||||||
ion-modal,prop,swipeToClose,boolean,false,false,false
|
ion-modal,prop,swipeToClose,boolean,false,false,false
|
||||||
ion-modal,prop,trigger,string | undefined,undefined,false,false
|
ion-modal,prop,trigger,string | undefined,undefined,false,false
|
||||||
ion-modal,method,dismiss,dismiss(data?: any, role?: string | undefined) => Promise<boolean>
|
ion-modal,method,dismiss,dismiss(data?: any, role?: string) => Promise<boolean>
|
||||||
ion-modal,method,getCurrentBreakpoint,getCurrentBreakpoint() => Promise<number | undefined>
|
ion-modal,method,getCurrentBreakpoint,getCurrentBreakpoint() => Promise<number | undefined>
|
||||||
ion-modal,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-modal,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-modal,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-modal,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
@ -830,19 +830,19 @@ ion-nav,prop,animation,((baseEl: any, opts?: any) => Animation) | undefined,unde
|
|||||||
ion-nav,prop,root,Function | HTMLElement | ViewController | null | string | undefined,undefined,false,false
|
ion-nav,prop,root,Function | HTMLElement | ViewController | null | string | undefined,undefined,false,false
|
||||||
ion-nav,prop,rootParams,undefined | { [key: string]: any; },undefined,false,false
|
ion-nav,prop,rootParams,undefined | { [key: string]: any; },undefined,false,false
|
||||||
ion-nav,prop,swipeGesture,boolean | undefined,undefined,false,false
|
ion-nav,prop,swipeGesture,boolean | undefined,undefined,false,false
|
||||||
ion-nav,method,canGoBack,canGoBack(view?: ViewController | undefined) => Promise<boolean>
|
ion-nav,method,canGoBack,canGoBack(view?: ViewController) => Promise<boolean>
|
||||||
ion-nav,method,getActive,getActive() => Promise<ViewController | undefined>
|
ion-nav,method,getActive,getActive() => Promise<ViewController | undefined>
|
||||||
ion-nav,method,getByIndex,getByIndex(index: number) => Promise<ViewController | undefined>
|
ion-nav,method,getByIndex,getByIndex(index: number) => Promise<ViewController | undefined>
|
||||||
ion-nav,method,getPrevious,getPrevious(view?: ViewController | undefined) => Promise<ViewController | undefined>
|
ion-nav,method,getPrevious,getPrevious(view?: ViewController) => Promise<ViewController | undefined>
|
||||||
ion-nav,method,insert,insert<T extends NavComponent>(insertIndex: number, component: T, componentProps?: ComponentProps<T> | null | undefined, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,insert,insert<T extends NavComponent>(insertIndex: number, component: T, componentProps?: ComponentProps<T> | null, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,method,insertPages,insertPages(insertIndex: number, insertComponents: NavComponent[] | NavComponentWithProps[], opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,insertPages,insertPages(insertIndex: number, insertComponents: NavComponent[] | NavComponentWithProps[], opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,method,pop,pop(opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,pop,pop(opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,method,popTo,popTo(indexOrViewCtrl: number | ViewController, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,popTo,popTo(indexOrViewCtrl: number | ViewController, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,method,popToRoot,popToRoot(opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,popToRoot,popToRoot(opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,method,push,push<T extends NavComponent>(component: T, componentProps?: ComponentProps<T> | null | undefined, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,push,push<T extends NavComponent>(component: T, componentProps?: ComponentProps<T> | null, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,method,removeIndex,removeIndex(startIndex: number, removeCount?: number, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,removeIndex,removeIndex(startIndex: number, removeCount?: number, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,method,setPages,setPages(views: NavComponent[] | NavComponentWithProps[], opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,setPages,setPages(views: NavComponent[] | NavComponentWithProps[], opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,method,setRoot,setRoot<T extends NavComponent>(component: T, componentProps?: ComponentProps<T> | null | undefined, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>
|
ion-nav,method,setRoot,setRoot<T extends NavComponent>(component: T, componentProps?: ComponentProps<T> | null, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>
|
||||||
ion-nav,event,ionNavDidChange,void,false
|
ion-nav,event,ionNavDidChange,void,false
|
||||||
ion-nav,event,ionNavWillChange,void,false
|
ion-nav,event,ionNavWillChange,void,false
|
||||||
|
|
||||||
@ -870,7 +870,7 @@ ion-picker,prop,keyboardClose,boolean,true,false,false
|
|||||||
ion-picker,prop,leaveAnimation,((baseEl: any, opts?: any) => Animation) | undefined,undefined,false,false
|
ion-picker,prop,leaveAnimation,((baseEl: any, opts?: any) => Animation) | undefined,undefined,false,false
|
||||||
ion-picker,prop,mode,"ios" | "md",undefined,false,false
|
ion-picker,prop,mode,"ios" | "md",undefined,false,false
|
||||||
ion-picker,prop,showBackdrop,boolean,true,false,false
|
ion-picker,prop,showBackdrop,boolean,true,false,false
|
||||||
ion-picker,method,dismiss,dismiss(data?: any, role?: string | undefined) => Promise<boolean>
|
ion-picker,method,dismiss,dismiss(data?: any, role?: string) => Promise<boolean>
|
||||||
ion-picker,method,getColumn,getColumn(name: string) => Promise<PickerColumn | undefined>
|
ion-picker,method,getColumn,getColumn(name: string) => Promise<PickerColumn | undefined>
|
||||||
ion-picker,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-picker,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-picker,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-picker,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
@ -916,10 +916,10 @@ ion-popover,prop,size,"auto" | "cover",'auto',false,false
|
|||||||
ion-popover,prop,translucent,boolean,false,false,false
|
ion-popover,prop,translucent,boolean,false,false,false
|
||||||
ion-popover,prop,trigger,string | undefined,undefined,false,false
|
ion-popover,prop,trigger,string | undefined,undefined,false,false
|
||||||
ion-popover,prop,triggerAction,"click" | "context-menu" | "hover",'click',false,false
|
ion-popover,prop,triggerAction,"click" | "context-menu" | "hover",'click',false,false
|
||||||
ion-popover,method,dismiss,dismiss(data?: any, role?: string | undefined, dismissParentPopover?: boolean) => Promise<boolean>
|
ion-popover,method,dismiss,dismiss(data?: any, role?: string, dismissParentPopover?: boolean) => Promise<boolean>
|
||||||
ion-popover,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-popover,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-popover,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-popover,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-popover,method,present,present(event?: MouseEvent | TouchEvent | PointerEvent | CustomEvent<any> | undefined) => Promise<void>
|
ion-popover,method,present,present(event?: MouseEvent | TouchEvent | PointerEvent | CustomEvent) => Promise<void>
|
||||||
ion-popover,event,didDismiss,OverlayEventDetail<any>,true
|
ion-popover,event,didDismiss,OverlayEventDetail<any>,true
|
||||||
ion-popover,event,didPresent,void,true
|
ion-popover,event,didPresent,void,true
|
||||||
ion-popover,event,ionPopoverDidDismiss,OverlayEventDetail<any>,true
|
ion-popover,event,ionPopoverDidDismiss,OverlayEventDetail<any>,true
|
||||||
@ -1042,7 +1042,7 @@ ion-reorder,part,icon
|
|||||||
|
|
||||||
ion-reorder-group,none
|
ion-reorder-group,none
|
||||||
ion-reorder-group,prop,disabled,boolean,true,false,false
|
ion-reorder-group,prop,disabled,boolean,true,false,false
|
||||||
ion-reorder-group,method,complete,complete(listOrReorder?: boolean | any[] | undefined) => Promise<any>
|
ion-reorder-group,method,complete,complete(listOrReorder?: boolean | any[]) => Promise<any>
|
||||||
ion-reorder-group,event,ionItemReorder,ItemReorderEventDetail,true
|
ion-reorder-group,event,ionItemReorder,ItemReorderEventDetail,true
|
||||||
|
|
||||||
ion-ripple-effect,shadow
|
ion-ripple-effect,shadow
|
||||||
@ -1066,7 +1066,7 @@ ion-router,none
|
|||||||
ion-router,prop,root,string,'/',false,false
|
ion-router,prop,root,string,'/',false,false
|
||||||
ion-router,prop,useHash,boolean,true,false,false
|
ion-router,prop,useHash,boolean,true,false,false
|
||||||
ion-router,method,back,back() => Promise<void>
|
ion-router,method,back,back() => Promise<void>
|
||||||
ion-router,method,push,push(path: string, direction?: RouterDirection, animation?: AnimationBuilder | undefined) => Promise<boolean>
|
ion-router,method,push,push(path: string, direction?: RouterDirection, animation?: AnimationBuilder) => Promise<boolean>
|
||||||
ion-router,event,ionRouteDidChange,RouterEventDetail,true
|
ion-router,event,ionRouteDidChange,RouterEventDetail,true
|
||||||
ion-router,event,ionRouteWillChange,RouterEventDetail,true
|
ion-router,event,ionRouteWillChange,RouterEventDetail,true
|
||||||
|
|
||||||
@ -1089,7 +1089,7 @@ ion-row,shadow
|
|||||||
|
|
||||||
ion-searchbar,scoped
|
ion-searchbar,scoped
|
||||||
ion-searchbar,prop,animated,boolean,false,false,false
|
ion-searchbar,prop,animated,boolean,false,false,false
|
||||||
ion-searchbar,prop,autocomplete,"off" | "on" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo",'off',false,false
|
ion-searchbar,prop,autocomplete,"name" | "email" | "tel" | "url" | "on" | "off" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "photo",'off',false,false
|
||||||
ion-searchbar,prop,autocorrect,"off" | "on",'off',false,false
|
ion-searchbar,prop,autocorrect,"off" | "on",'off',false,false
|
||||||
ion-searchbar,prop,cancelButtonIcon,string,config.get('backButtonIcon', arrowBackSharp) as string,false,false
|
ion-searchbar,prop,cancelButtonIcon,string,config.get('backButtonIcon', arrowBackSharp) as string,false,false
|
||||||
ion-searchbar,prop,cancelButtonText,string,'Cancel',false,false
|
ion-searchbar,prop,cancelButtonText,string,'Cancel',false,false
|
||||||
@ -1189,7 +1189,7 @@ ion-select,prop,okText,string,'OK',false,false
|
|||||||
ion-select,prop,placeholder,string | undefined,undefined,false,false
|
ion-select,prop,placeholder,string | undefined,undefined,false,false
|
||||||
ion-select,prop,selectedText,null | string | undefined,undefined,false,false
|
ion-select,prop,selectedText,null | string | undefined,undefined,false,false
|
||||||
ion-select,prop,value,any,undefined,false,false
|
ion-select,prop,value,any,undefined,false,false
|
||||||
ion-select,method,open,open(event?: UIEvent | undefined) => Promise<any>
|
ion-select,method,open,open(event?: UIEvent) => Promise<any>
|
||||||
ion-select,event,ionBlur,void,true
|
ion-select,event,ionBlur,void,true
|
||||||
ion-select,event,ionCancel,void,true
|
ion-select,event,ionCancel,void,true
|
||||||
ion-select,event,ionChange,SelectChangeEventDetail<any>,true
|
ion-select,event,ionChange,SelectChangeEventDetail<any>,true
|
||||||
@ -1231,13 +1231,13 @@ ion-slides,method,length,length() => Promise<number>
|
|||||||
ion-slides,method,lockSwipeToNext,lockSwipeToNext(lock: boolean) => Promise<void>
|
ion-slides,method,lockSwipeToNext,lockSwipeToNext(lock: boolean) => Promise<void>
|
||||||
ion-slides,method,lockSwipeToPrev,lockSwipeToPrev(lock: boolean) => Promise<void>
|
ion-slides,method,lockSwipeToPrev,lockSwipeToPrev(lock: boolean) => Promise<void>
|
||||||
ion-slides,method,lockSwipes,lockSwipes(lock: boolean) => Promise<void>
|
ion-slides,method,lockSwipes,lockSwipes(lock: boolean) => Promise<void>
|
||||||
ion-slides,method,slideNext,slideNext(speed?: number | undefined, runCallbacks?: boolean | undefined) => Promise<void>
|
ion-slides,method,slideNext,slideNext(speed?: number, runCallbacks?: boolean) => Promise<void>
|
||||||
ion-slides,method,slidePrev,slidePrev(speed?: number | undefined, runCallbacks?: boolean | undefined) => Promise<void>
|
ion-slides,method,slidePrev,slidePrev(speed?: number, runCallbacks?: boolean) => Promise<void>
|
||||||
ion-slides,method,slideTo,slideTo(index: number, speed?: number | undefined, runCallbacks?: boolean | undefined) => Promise<void>
|
ion-slides,method,slideTo,slideTo(index: number, speed?: number, runCallbacks?: boolean) => Promise<void>
|
||||||
ion-slides,method,startAutoplay,startAutoplay() => Promise<void>
|
ion-slides,method,startAutoplay,startAutoplay() => Promise<void>
|
||||||
ion-slides,method,stopAutoplay,stopAutoplay() => Promise<void>
|
ion-slides,method,stopAutoplay,stopAutoplay() => Promise<void>
|
||||||
ion-slides,method,update,update() => Promise<void>
|
ion-slides,method,update,update() => Promise<void>
|
||||||
ion-slides,method,updateAutoHeight,updateAutoHeight(speed?: number | undefined) => Promise<void>
|
ion-slides,method,updateAutoHeight,updateAutoHeight(speed?: number) => Promise<void>
|
||||||
ion-slides,event,ionSlideDidChange,void,true
|
ion-slides,event,ionSlideDidChange,void,true
|
||||||
ion-slides,event,ionSlideDoubleTap,void,true
|
ion-slides,event,ionSlideDoubleTap,void,true
|
||||||
ion-slides,event,ionSlideDrag,void,true
|
ion-slides,event,ionSlideDrag,void,true
|
||||||
@ -1391,7 +1391,7 @@ ion-toast,prop,message,IonicSafeString | string | undefined,undefined,false,fals
|
|||||||
ion-toast,prop,mode,"ios" | "md",undefined,false,false
|
ion-toast,prop,mode,"ios" | "md",undefined,false,false
|
||||||
ion-toast,prop,position,"bottom" | "middle" | "top",'bottom',false,false
|
ion-toast,prop,position,"bottom" | "middle" | "top",'bottom',false,false
|
||||||
ion-toast,prop,translucent,boolean,false,false,false
|
ion-toast,prop,translucent,boolean,false,false,false
|
||||||
ion-toast,method,dismiss,dismiss(data?: any, role?: string | undefined) => Promise<boolean>
|
ion-toast,method,dismiss,dismiss(data?: any, role?: string) => Promise<boolean>
|
||||||
ion-toast,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-toast,method,onDidDismiss,onDidDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-toast,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
ion-toast,method,onWillDismiss,onWillDismiss<T = any>() => Promise<OverlayEventDetail<T>>
|
||||||
ion-toast,method,present,present() => Promise<void>
|
ion-toast,method,present,present() => Promise<void>
|
||||||
|
14
core/package-lock.json
generated
14
core/package-lock.json
generated
@ -9,7 +9,7 @@
|
|||||||
"version": "6.2.8",
|
"version": "6.2.8",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@stencil/core": "^2.17.4",
|
"@stencil/core": "^2.18.0",
|
||||||
"ionicons": "^6.0.3",
|
"ionicons": "^6.0.3",
|
||||||
"tslib": "^2.1.0"
|
"tslib": "^2.1.0"
|
||||||
},
|
},
|
||||||
@ -3565,9 +3565,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@stencil/core": {
|
"node_modules/@stencil/core": {
|
||||||
"version": "2.17.4",
|
"version": "2.18.0",
|
||||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.17.4.tgz",
|
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.18.0.tgz",
|
||||||
"integrity": "sha512-SGRlHpjV1RyFvzw6jFMVKpLNox9Eds3VvpbpD2SW9CuxdLonHDSFtQks5zmT4zs1Rse9I6kFc2mFK/dHNTalkg==",
|
"integrity": "sha512-NLEY8Jq59smyiivBAxHKipsp9YkkW/K/Vm90zAyXQqukb12i2SFucWHJ1Ik7ropVlhmMVvigyxXgRfQ9quIqtg==",
|
||||||
"bin": {
|
"bin": {
|
||||||
"stencil": "bin/stencil"
|
"stencil": "bin/stencil"
|
||||||
},
|
},
|
||||||
@ -20045,9 +20045,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@stencil/core": {
|
"@stencil/core": {
|
||||||
"version": "2.17.4",
|
"version": "2.18.0",
|
||||||
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.17.4.tgz",
|
"resolved": "https://registry.npmjs.org/@stencil/core/-/core-2.18.0.tgz",
|
||||||
"integrity": "sha512-SGRlHpjV1RyFvzw6jFMVKpLNox9Eds3VvpbpD2SW9CuxdLonHDSFtQks5zmT4zs1Rse9I6kFc2mFK/dHNTalkg=="
|
"integrity": "sha512-NLEY8Jq59smyiivBAxHKipsp9YkkW/K/Vm90zAyXQqukb12i2SFucWHJ1Ik7ropVlhmMVvigyxXgRfQ9quIqtg=="
|
||||||
},
|
},
|
||||||
"@stencil/react-output-target": {
|
"@stencil/react-output-target": {
|
||||||
"version": "0.2.1",
|
"version": "0.2.1",
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
"loader/"
|
"loader/"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@stencil/core": "^2.17.4",
|
"@stencil/core": "^2.18.0",
|
||||||
"ionicons": "^6.0.3",
|
"ionicons": "^6.0.3",
|
||||||
"tslib": "^2.1.0"
|
"tslib": "^2.1.0"
|
||||||
},
|
},
|
||||||
|
62
core/src/components.d.ts
vendored
62
core/src/components.d.ts
vendored
@ -96,7 +96,7 @@ export namespace Components {
|
|||||||
* @param data Any data to emit in the dismiss events.
|
* @param data Any data to emit in the dismiss events.
|
||||||
* @param role The role of the element that is dismissing the action sheet. This can be useful in a button handler for determining which button was clicked to dismiss the action sheet. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
* @param role The role of the element that is dismissing the action sheet. This can be useful in a button handler for determining which button was clicked to dismiss the action sheet. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
||||||
*/
|
*/
|
||||||
"dismiss": (data?: any, role?: string | undefined) => Promise<boolean>;
|
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Animation to use when the action sheet is presented.
|
* Animation to use when the action sheet is presented.
|
||||||
*/
|
*/
|
||||||
@ -165,7 +165,7 @@ export namespace Components {
|
|||||||
* @param data Any data to emit in the dismiss events.
|
* @param data Any data to emit in the dismiss events.
|
||||||
* @param role The role of the element that is dismissing the alert. This can be useful in a button handler for determining which button was clicked to dismiss the alert. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
* @param role The role of the element that is dismissing the alert. This can be useful in a button handler for determining which button was clicked to dismiss the alert. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
||||||
*/
|
*/
|
||||||
"dismiss": (data?: any, role?: string | undefined) => Promise<boolean>;
|
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Animation to use when the alert is presented.
|
* Animation to use when the alert is presented.
|
||||||
*/
|
*/
|
||||||
@ -812,7 +812,7 @@ export namespace Components {
|
|||||||
/**
|
/**
|
||||||
* Resets the internal state of the datetime but does not update the value. Passing a valid ISO-8601 string will reset the state of the component to the provided date. If no value is provided, the internal state will be reset to the clamped value of the min, max and today.
|
* Resets the internal state of the datetime but does not update the value. Passing a valid ISO-8601 string will reset the state of the component to the provided date. If no value is provided, the internal state will be reset to the clamped value of the min, max and today.
|
||||||
*/
|
*/
|
||||||
"reset": (startDate?: string | undefined) => Promise<void>;
|
"reset": (startDate?: string) => Promise<void>;
|
||||||
/**
|
/**
|
||||||
* If `true`, a "Clear" button will be rendered alongside the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime` component. Developers can also use the `button` slot if they want to customize these buttons. If custom buttons are set in the `button` slot then the default buttons will not be rendered.
|
* If `true`, a "Clear" button will be rendered alongside the default "Cancel" and "OK" buttons at the bottom of the `ion-datetime` component. Developers can also use the `button` slot if they want to customize these buttons. If custom buttons are set in the `button` slot then the default buttons will not be rendered.
|
||||||
*/
|
*/
|
||||||
@ -1387,7 +1387,7 @@ export namespace Components {
|
|||||||
* @param data Any data to emit in the dismiss events.
|
* @param data Any data to emit in the dismiss events.
|
||||||
* @param role The role of the element that is dismissing the loading. This can be useful in a button handler for determining which button was clicked to dismiss the loading. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
* @param role The role of the element that is dismissing the loading. This can be useful in a button handler for determining which button was clicked to dismiss the loading. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
||||||
*/
|
*/
|
||||||
"dismiss": (data?: any, role?: string | undefined) => Promise<boolean>;
|
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Number of milliseconds to wait before dismissing the loading indicator.
|
* Number of milliseconds to wait before dismissing the loading indicator.
|
||||||
*/
|
*/
|
||||||
@ -1571,7 +1571,7 @@ export namespace Components {
|
|||||||
* @param data Any data to emit in the dismiss events.
|
* @param data Any data to emit in the dismiss events.
|
||||||
* @param role The role of the element that is dismissing the modal. For example, 'cancel' or 'backdrop'.
|
* @param role The role of the element that is dismissing the modal. For example, 'cancel' or 'backdrop'.
|
||||||
*/
|
*/
|
||||||
"dismiss": (data?: any, role?: string | undefined) => Promise<boolean>;
|
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Animation to use when the modal is presented.
|
* Animation to use when the modal is presented.
|
||||||
*/
|
*/
|
||||||
@ -1665,7 +1665,7 @@ export namespace Components {
|
|||||||
* Returns `true` if the current view can go back.
|
* Returns `true` if the current view can go back.
|
||||||
* @param view The view to check.
|
* @param view The view to check.
|
||||||
*/
|
*/
|
||||||
"canGoBack": (view?: ViewController | undefined) => Promise<boolean>;
|
"canGoBack": (view?: ViewController) => Promise<boolean>;
|
||||||
"delegate"?: FrameworkDelegate;
|
"delegate"?: FrameworkDelegate;
|
||||||
/**
|
/**
|
||||||
* Get the active view.
|
* Get the active view.
|
||||||
@ -1680,7 +1680,7 @@ export namespace Components {
|
|||||||
* Get the previous view.
|
* Get the previous view.
|
||||||
* @param view The view to get.
|
* @param view The view to get.
|
||||||
*/
|
*/
|
||||||
"getPrevious": (view?: ViewController | undefined) => Promise<ViewController | undefined>;
|
"getPrevious": (view?: ViewController) => Promise<ViewController | undefined>;
|
||||||
/**
|
/**
|
||||||
* Called by <ion-router> to retrieve the current component.
|
* Called by <ion-router> to retrieve the current component.
|
||||||
*/
|
*/
|
||||||
@ -1693,7 +1693,7 @@ export namespace Components {
|
|||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"insert": <T extends NavComponent>(insertIndex: number, component: T, componentProps?: ComponentProps<T> | null | undefined, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"insert": <T extends NavComponent>(insertIndex: number, component: T, componentProps?: ComponentProps<T> | null, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Inserts an array of components into the navigation stack at the specified index. The last component in the array will become instantiated as a view, and animate in to become the active view.
|
* Inserts an array of components into the navigation stack at the specified index. The last component in the array will become instantiated as a view, and animate in to become the active view.
|
||||||
* @param insertIndex The index to insert the components at in the stack.
|
* @param insertIndex The index to insert the components at in the stack.
|
||||||
@ -1701,26 +1701,26 @@ export namespace Components {
|
|||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"insertPages": (insertIndex: number, insertComponents: NavComponent[] | NavComponentWithProps[], opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"insertPages": (insertIndex: number, insertComponents: NavComponent[] | NavComponentWithProps[], opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Pop a component off of the navigation stack. Navigates back from the current component.
|
* Pop a component off of the navigation stack. Navigates back from the current component.
|
||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"pop": (opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"pop": (opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Pop to a specific index in the navigation stack.
|
* Pop to a specific index in the navigation stack.
|
||||||
* @param indexOrViewCtrl The index or view controller to pop to.
|
* @param indexOrViewCtrl The index or view controller to pop to.
|
||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"popTo": (indexOrViewCtrl: number | ViewController, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"popTo": (indexOrViewCtrl: number | ViewController, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Navigate back to the root of the stack, no matter how far back that is.
|
* Navigate back to the root of the stack, no matter how far back that is.
|
||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"popToRoot": (opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"popToRoot": (opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Push a new component onto the current navigation stack. Pass any additional information along as an object. This additional information is accessible through NavParams.
|
* Push a new component onto the current navigation stack. Pass any additional information along as an object. This additional information is accessible through NavParams.
|
||||||
* @param component The component to push onto the navigation stack.
|
* @param component The component to push onto the navigation stack.
|
||||||
@ -1728,7 +1728,7 @@ export namespace Components {
|
|||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"push": <T extends NavComponent>(component: T, componentProps?: ComponentProps<T> | null | undefined, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"push": <T extends NavComponent>(component: T, componentProps?: ComponentProps<T> | null, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Removes a component from the navigation stack at the specified index.
|
* Removes a component from the navigation stack at the specified index.
|
||||||
* @param startIndex The number to begin removal at.
|
* @param startIndex The number to begin removal at.
|
||||||
@ -1736,7 +1736,7 @@ export namespace Components {
|
|||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"removeIndex": (startIndex: number, removeCount?: number, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"removeIndex": (startIndex: number, removeCount?: number, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Root NavComponent to load
|
* Root NavComponent to load
|
||||||
*/
|
*/
|
||||||
@ -1751,7 +1751,7 @@ export namespace Components {
|
|||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"setPages": (views: NavComponent[] | NavComponentWithProps[], opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"setPages": (views: NavComponent[] | NavComponentWithProps[], opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Set the root for the current navigation stack to a component.
|
* Set the root for the current navigation stack to a component.
|
||||||
* @param component The component to set as the root of the navigation stack.
|
* @param component The component to set as the root of the navigation stack.
|
||||||
@ -1759,7 +1759,7 @@ export namespace Components {
|
|||||||
* @param opts The navigation options.
|
* @param opts The navigation options.
|
||||||
* @param done The transition complete function.
|
* @param done The transition complete function.
|
||||||
*/
|
*/
|
||||||
"setRoot": <T extends NavComponent>(component: T, componentProps?: ComponentProps<T> | null | undefined, opts?: NavOptions | null | undefined, done?: TransitionDoneFn | undefined) => Promise<boolean>;
|
"setRoot": <T extends NavComponent>(component: T, componentProps?: ComponentProps<T> | null, opts?: NavOptions | null, done?: TransitionDoneFn) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Called by the router to update the view.
|
* Called by the router to update the view.
|
||||||
* @param id The component tag.
|
* @param id The component tag.
|
||||||
@ -1768,7 +1768,7 @@ export namespace Components {
|
|||||||
* @param animation an AnimationBuilder.
|
* @param animation an AnimationBuilder.
|
||||||
* @return the status.
|
* @return the status.
|
||||||
*/
|
*/
|
||||||
"setRouteId": (id: string, params: ComponentProps | undefined, direction: RouterDirection, animation?: AnimationBuilder | undefined) => Promise<RouteWrite>;
|
"setRouteId": (id: string, params: ComponentProps | undefined, direction: RouterDirection, animation?: AnimationBuilder) => Promise<RouteWrite>;
|
||||||
/**
|
/**
|
||||||
* If the nav component should allow for swipe-to-go-back.
|
* If the nav component should allow for swipe-to-go-back.
|
||||||
*/
|
*/
|
||||||
@ -1828,7 +1828,7 @@ export namespace Components {
|
|||||||
* @param data Any data to emit in the dismiss events.
|
* @param data Any data to emit in the dismiss events.
|
||||||
* @param role The role of the element that is dismissing the picker. This can be useful in a button handler for determining which button was clicked to dismiss the picker. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
* @param role The role of the element that is dismissing the picker. This can be useful in a button handler for determining which button was clicked to dismiss the picker. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
||||||
*/
|
*/
|
||||||
"dismiss": (data?: any, role?: string | undefined) => Promise<boolean>;
|
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* Number of milliseconds to wait before dismissing the picker.
|
* Number of milliseconds to wait before dismissing the picker.
|
||||||
*/
|
*/
|
||||||
@ -1903,7 +1903,7 @@ export namespace Components {
|
|||||||
/**
|
/**
|
||||||
* Sets the value prop and fires the ionChange event. This is used when we need to fire ionChange from user-generated events that cannot be caught with normal input/change event listeners.
|
* Sets the value prop and fires the ionChange event. This is used when we need to fire ionChange from user-generated events that cannot be caught with normal input/change event listeners.
|
||||||
*/
|
*/
|
||||||
"setValue": (value?: string | number | undefined) => Promise<void>;
|
"setValue": (value?: string | number) => Promise<void>;
|
||||||
/**
|
/**
|
||||||
* The selected option in the picker.
|
* The selected option in the picker.
|
||||||
*/
|
*/
|
||||||
@ -1951,7 +1951,7 @@ export namespace Components {
|
|||||||
* @param role The role of the element that is dismissing the popover. For example, 'cancel' or 'backdrop'.
|
* @param role The role of the element that is dismissing the popover. For example, 'cancel' or 'backdrop'.
|
||||||
* @param dismissParentPopover If `true`, dismissing this popover will also dismiss a parent popover if this popover is nested. Defaults to `true`.
|
* @param dismissParentPopover If `true`, dismissing this popover will also dismiss a parent popover if this popover is nested. Defaults to `true`.
|
||||||
*/
|
*/
|
||||||
"dismiss": (data?: any, role?: string | undefined, dismissParentPopover?: boolean) => Promise<boolean>;
|
"dismiss": (data?: any, role?: string, dismissParentPopover?: boolean) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* If `true`, the popover will be automatically dismissed when the content has been clicked.
|
* If `true`, the popover will be automatically dismissed when the content has been clicked.
|
||||||
*/
|
*/
|
||||||
@ -2003,7 +2003,7 @@ export namespace Components {
|
|||||||
/**
|
/**
|
||||||
* Present the popover overlay after it has been created. Developers can pass a mouse, touch, or pointer event to position the popover relative to where that event was dispatched.
|
* Present the popover overlay after it has been created. Developers can pass a mouse, touch, or pointer event to position the popover relative to where that event was dispatched.
|
||||||
*/
|
*/
|
||||||
"present": (event?: MouseEvent | TouchEvent | PointerEvent | CustomEvent<any> | undefined) => Promise<void>;
|
"present": (event?: MouseEvent | TouchEvent | PointerEvent | CustomEvent) => Promise<void>;
|
||||||
/**
|
/**
|
||||||
* When opening a popover from a trigger, we should not be modifying the `event` prop from inside the component. Additionally, when pressing the "Right" arrow key, we need to shift focus to the first descendant in the newly presented popover.
|
* When opening a popover from a trigger, we should not be modifying the `event` prop from inside the component. Additionally, when pressing the "Right" arrow key, we need to shift focus to the first descendant in the newly presented popover.
|
||||||
*/
|
*/
|
||||||
@ -2226,7 +2226,7 @@ export namespace Components {
|
|||||||
* Completes the reorder operation. Must be called by the `ionItemReorder` event. If a list of items is passed, the list will be reordered and returned in the proper order. If no parameters are passed or if `true` is passed in, the reorder will complete and the item will remain in the position it was dragged to. If `false` is passed, the reorder will complete and the item will bounce back to its original position.
|
* Completes the reorder operation. Must be called by the `ionItemReorder` event. If a list of items is passed, the list will be reordered and returned in the proper order. If no parameters are passed or if `true` is passed in, the reorder will complete and the item will remain in the position it was dragged to. If `false` is passed, the reorder will complete and the item will bounce back to its original position.
|
||||||
* @param listOrReorder A list of items to be sorted and returned in the new order or a boolean of whether or not the reorder should reposition the item.
|
* @param listOrReorder A list of items to be sorted and returned in the new order or a boolean of whether or not the reorder should reposition the item.
|
||||||
*/
|
*/
|
||||||
"complete": (listOrReorder?: boolean | any[] | undefined) => Promise<any>;
|
"complete": (listOrReorder?: boolean | any[]) => Promise<any>;
|
||||||
/**
|
/**
|
||||||
* If `true`, the reorder will be hidden.
|
* If `true`, the reorder will be hidden.
|
||||||
*/
|
*/
|
||||||
@ -2289,7 +2289,7 @@ export namespace Components {
|
|||||||
* @param path The path to navigate to.
|
* @param path The path to navigate to.
|
||||||
* @param direction The direction of the animation. Defaults to `"forward"`.
|
* @param direction The direction of the animation. Defaults to `"forward"`.
|
||||||
*/
|
*/
|
||||||
"push": (path: string, direction?: RouterDirection, animation?: AnimationBuilder | undefined) => Promise<boolean>;
|
"push": (path: string, direction?: RouterDirection, animation?: AnimationBuilder) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* The root path to use when matching URLs. By default, this is set to "/", but you can specify an alternate prefix for all URL paths.
|
* The root path to use when matching URLs. By default, this is set to "/", but you can specify an alternate prefix for all URL paths.
|
||||||
*/
|
*/
|
||||||
@ -2334,14 +2334,14 @@ export namespace Components {
|
|||||||
* This property allows to create custom transition using AnimationBuilder functions.
|
* This property allows to create custom transition using AnimationBuilder functions.
|
||||||
*/
|
*/
|
||||||
"animation"?: AnimationBuilder;
|
"animation"?: AnimationBuilder;
|
||||||
"commit": (enteringEl: HTMLElement, leavingEl: HTMLElement | undefined, opts?: RouterOutletOptions | undefined) => Promise<boolean>;
|
"commit": (enteringEl: HTMLElement, leavingEl: HTMLElement | undefined, opts?: RouterOutletOptions) => Promise<boolean>;
|
||||||
"delegate"?: FrameworkDelegate;
|
"delegate"?: FrameworkDelegate;
|
||||||
"getRouteId": () => Promise<RouteID | undefined>;
|
"getRouteId": () => Promise<RouteID | undefined>;
|
||||||
/**
|
/**
|
||||||
* The mode determines which platform styles to use.
|
* The mode determines which platform styles to use.
|
||||||
*/
|
*/
|
||||||
"mode": "ios" | "md";
|
"mode": "ios" | "md";
|
||||||
"setRouteId": (id: string, params: ComponentProps | undefined, direction: RouterDirection, animation?: AnimationBuilder | undefined) => Promise<RouteWrite>;
|
"setRouteId": (id: string, params: ComponentProps | undefined, direction: RouterDirection, animation?: AnimationBuilder) => Promise<RouteWrite>;
|
||||||
"swipeHandler"?: SwipeGestureHandler;
|
"swipeHandler"?: SwipeGestureHandler;
|
||||||
}
|
}
|
||||||
interface IonRow {
|
interface IonRow {
|
||||||
@ -2525,7 +2525,7 @@ export namespace Components {
|
|||||||
* Open the select overlay. The overlay is either an alert, action sheet, or popover, depending on the `interface` property on the `ion-select`.
|
* Open the select overlay. The overlay is either an alert, action sheet, or popover, depending on the `interface` property on the `ion-select`.
|
||||||
* @param event The user interface event that called the open.
|
* @param event The user interface event that called the open.
|
||||||
*/
|
*/
|
||||||
"open": (event?: UIEvent | undefined) => Promise<any>;
|
"open": (event?: UIEvent) => Promise<any>;
|
||||||
/**
|
/**
|
||||||
* The text to display when the select is empty.
|
* The text to display when the select is empty.
|
||||||
*/
|
*/
|
||||||
@ -2640,20 +2640,20 @@ export namespace Components {
|
|||||||
* @param speed The transition duration (in ms).
|
* @param speed The transition duration (in ms).
|
||||||
* @param runCallbacks If true, the transition will produce [Transition/SlideChange][Start/End] transition events.
|
* @param runCallbacks If true, the transition will produce [Transition/SlideChange][Start/End] transition events.
|
||||||
*/
|
*/
|
||||||
"slideNext": (speed?: number | undefined, runCallbacks?: boolean | undefined) => Promise<void>;
|
"slideNext": (speed?: number, runCallbacks?: boolean) => Promise<void>;
|
||||||
/**
|
/**
|
||||||
* Transition to the previous slide.
|
* Transition to the previous slide.
|
||||||
* @param speed The transition duration (in ms).
|
* @param speed The transition duration (in ms).
|
||||||
* @param runCallbacks If true, the transition will produce the [Transition/SlideChange][Start/End] transition events.
|
* @param runCallbacks If true, the transition will produce the [Transition/SlideChange][Start/End] transition events.
|
||||||
*/
|
*/
|
||||||
"slidePrev": (speed?: number | undefined, runCallbacks?: boolean | undefined) => Promise<void>;
|
"slidePrev": (speed?: number, runCallbacks?: boolean) => Promise<void>;
|
||||||
/**
|
/**
|
||||||
* Transition to the specified slide.
|
* Transition to the specified slide.
|
||||||
* @param index The index of the slide to transition to.
|
* @param index The index of the slide to transition to.
|
||||||
* @param speed The transition duration (in ms).
|
* @param speed The transition duration (in ms).
|
||||||
* @param runCallbacks If true, the transition will produce [Transition/SlideChange][Start/End] transition events.
|
* @param runCallbacks If true, the transition will produce [Transition/SlideChange][Start/End] transition events.
|
||||||
*/
|
*/
|
||||||
"slideTo": (index: number, speed?: number | undefined, runCallbacks?: boolean | undefined) => Promise<void>;
|
"slideTo": (index: number, speed?: number, runCallbacks?: boolean) => Promise<void>;
|
||||||
/**
|
/**
|
||||||
* Start auto play.
|
* Start auto play.
|
||||||
*/
|
*/
|
||||||
@ -2670,7 +2670,7 @@ export namespace Components {
|
|||||||
* Force swiper to update its height (when autoHeight is enabled) for the duration equal to 'speed' parameter.
|
* Force swiper to update its height (when autoHeight is enabled) for the duration equal to 'speed' parameter.
|
||||||
* @param speed The transition duration (in ms).
|
* @param speed The transition duration (in ms).
|
||||||
*/
|
*/
|
||||||
"updateAutoHeight": (speed?: number | undefined) => Promise<void>;
|
"updateAutoHeight": (speed?: number) => Promise<void>;
|
||||||
}
|
}
|
||||||
interface IonSpinner {
|
interface IonSpinner {
|
||||||
/**
|
/**
|
||||||
@ -2941,7 +2941,7 @@ export namespace Components {
|
|||||||
* @param data Any data to emit in the dismiss events.
|
* @param data Any data to emit in the dismiss events.
|
||||||
* @param role The role of the element that is dismissing the toast. This can be useful in a button handler for determining which button was clicked to dismiss the toast. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
* @param role The role of the element that is dismissing the toast. This can be useful in a button handler for determining which button was clicked to dismiss the toast. Some examples include: ``"cancel"`, `"destructive"`, "selected"`, and `"backdrop"`.
|
||||||
*/
|
*/
|
||||||
"dismiss": (data?: any, role?: string | undefined) => Promise<boolean>;
|
"dismiss": (data?: any, role?: string) => Promise<boolean>;
|
||||||
/**
|
/**
|
||||||
* How many milliseconds to wait before hiding the toast. By default, it will show until `dismiss()` is called.
|
* How many milliseconds to wait before hiding the toast. By default, it will show until `dismiss()` is called.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user