-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
javascript方法,打开AMIS的dialog,好像toast,怎么实现? #10855
Comments
👍 Thanks for this! Please review the labels and make any necessary changes. |
我想用javascript调用,toast是可以用的,但dialog要怎么实现呢? |
弹窗没有功能方法可以弹出,应该类似这样去用 component |
Amis低代码前端框架交流群【QQ1群】:717791727 |
测了下可以的,比较绕一点,首先用definitions定义弹窗 Amis低代码前端框架交流群【QQ 1群】:717791727 |
实现场景:
javascript方法,打开AMIS的dialog,好像toast,怎么实现?相关文档在哪?
我想用javascript调用,toast是可以用的,但dialog要怎么实现呢?
function tips() {
amisLib.toast.info('消息通知');
}
存在的问题:
https://aisuda.bce.baidu.com/amis/zh-CN/docs/extend/ui-library
使用 amis 公共方法
具体有哪些可以参考 https://github.com/baidu/amis/blob/master/src/index.tsx
这个链接打不开!
当前方案:
就像toast方法,amisLib.toast.info('消息通知'); 是可以用的。
The text was updated successfully, but these errors were encountered: