ion-action-sheet-controller

概要(CONTENTS)

Ionic4项目中我们可以使用Ionic4底部弹出框组件ion-action-sheet-controller对项目进行布局。

ion-action-sheet-controller官方文档地址:https://ionicframework.com/docs/api/action-sheet-controller

Action Sheet controllers programmatically control the action sheet component. Action Sheets can be created and dismissed from the action sheet controller. View the Action Sheet documentation for a full list of options to pass upon creation.

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