【问题标题】:Create angularjs toaster popup windows with buttons使用按钮创建 angularjs 烤面包机弹出窗口
【发布时间】:2016-08-15 03:34:37
【问题描述】:

我在我的 angularjs 项目中使用 johns papa toaster 弹出窗口。

  toaster.pop("warning", "Inspections not found!");

在某些时候我需要创建带有按钮的弹出窗口来触发某些功能。是否可以实现?

【问题讨论】:

  • 2k rep,您问的是“是否有可能实施”之类的问题?

标签: angularjs hottowel


【解决方案1】:

您可以实现自定义服务,然后使用UI bootstrap 模态窗口显示带有您想要的按钮和文本的自定义对话框。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-03-03
    • 1970-01-01
    • 2022-10-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多