UWP App - InkCanvas and InkToolbar in HTML5/JS

孤者浪人 提交于 2019-12-12 00:55:02

问题


Can the new InkCanvas and InkToolbar (see this link) be used in Windows 10 UWP HTML5/JS apps? I see only C#, C++, and VB tabs in the documentation.

This is in the documentation under XAML controls, which to my understanding is not part of the HTML support. Is there an alternative/complementary HTML5/JS tool set for these components?

Thanks!


回答1:


The types InkCanvas and InkToolbar are currently not supported in UWP HTML5/JS. For HTML5/JS, you can use this official sample as reference. There you'll see the sample uses a regular <canvas> and a WinJS.UI.ToolBar.



来源:https://stackoverflow.com/questions/40329885/uwp-app-inkcanvas-and-inktoolbar-in-html5-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!