您知道保存文档时弹出的小消息气球吗?我想在我的自定义部分中显示。我看到我可以让我的页面继承自UmbracoEnsuredPage并使用ClientTools.ShowSpeechBubble。问题是我需要能够在客户端从javascript中显示它。
任何人都知道怎么做?
答案 0 :(得分:2)
Lee Kelleher在umbraco的论坛上能够回答这个问题。 http://our.umbraco.org/forum/developers/api-questions/19190-Custom-save-message-balloon-from-javascript
这是代码
UmbClientMgr.mainWindow().UmbSpeechBubble.ShowMessage('info', 'This is the header', 'This is the body text.');