native.toast

弹出一个app原生飘浮提示框

  • 调用方式
hbWallet.callAPI('native.toast', param);
  • param
{
 position: 'top', //出现位置位置 top|bottom
 duration: 1500, //显示时间(ms)
 message: '' //显示内容
}
  • 测试
hbWallet.callAPI('native.toast', {
    position: 'top',
    duration: 2000,
    message: 'message'
});

results matching ""

    No results matching ""