【发布时间】:2018-05-14 14:04:09
【问题描述】:
是否可以在 Nativescript 对话框中显示字体图标?像这样?
dialogs.alert({
title: // set icon as text
message: "Check-in Successful"
}).then(()=> {
console.log("Dialog closed!");
});
可以设置类似于 FontAwesome 字符串的标题,即 String.fromCharCode(0xe903)。我们如何将类设置为标题,以便它反映为 FontAwesome 图标?
我正在尝试在成功登录时显示以下对话框。
还有其他选择吗?
【问题讨论】:
标签: javascript typescript nativescript angular2-nativescript