问题
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