ion-action-sheet-controller
Ionic4项目中我们可以使用Ionic4底部弹出框组件ion-action-sheet-controller对项目进行布局。 ion-action-sheet-controller官方文档地址:https://ionicframework.com/docs/api/action-sheet-controllerAction Sheet controllers programmatically control the action sheet component. Action Sheets can be created and dismissed from the action sheet controller. View the
ion-action-sheet-controller 内置方法(Methods)
create | |
---|---|
Description | Create an action sheet overlay with action sheet options. |
Signature | create(options: ActionSheetOptions) => Promise |
dismiss | |
Description | Dismiss the open action sheet overlay. |
Signature | dismiss(data?: any, role?: string | undefined, id?: string | undefined) => Promise |
getTop | |
Description | Get the most recently opened action sheet overlay. |
Signature | getTop() => Promise |