1
我在Windows 10 UWP winjs应用程序中创建了一个工具栏,我想禁用某些按钮。如何将我的工具栏中的按钮设置为禁用
我追加属性按钮,如下所示:
new WinJS.UI.Command(null, {
disable: true,
id: 'cmdSave',
label: 'save',
section: 'primary',
type: 'button',
icon: 'save',
onclick: clickbuttonprintout()
});
我已经通过winjs css文件看了一下,发现许多残疾人的标签。是否可以将按钮设置为禁用,就像我上面添加了其他属性一样?