原子操作

飞道科技

@dfeidao/atom-mobile > msgbox弹窗

External module: msgbox弹窗

Index

Functions


Functions

action_sheet

底部弹出菜单.

该原子操作已废弃,请使用fd-am000003替代。开发文档

弹出菜单

see: react-base

Parameters:

Name Type
options object

Returns: Promise<number>


alert

alert(title: string, message?: undefined | string, buttons?: string[], cancelable?: undefined | false | true): Promise<number>

Defined in msgbox/alert.ts:15

Alert弹窗

see: react-native官方文档

Parameters:

Name Type
title string
Optional message undefined | string
Optional buttons string[]
Optional cancelable undefined | false | true

Returns: Promise<number>


toast

toast(options: IConfiguration): Promise<string>

Defined in msgbox/toast.ts:34

提示框

see: react-base

Parameters:

Name Type
options IConfiguration

Returns: Promise<string>