简体   繁体   中英

How are third party controls exposed to “Windows Store apps” when app is written in HTML\WinJS?

How are third party controls exposed to "Windows Store apps" when app is written in HTML\\JS?

Does the vendor have to provide a C#\\VB.Net and WinJS version? And if so what work is involved in doing that, is it a complete re-write (I'm kind of assuming so but want to double check)?

If you want to share functionality like business logic and/or Windows Runtime access, you could create a one time component in C# and add it as a reference to your javascript project and use it as you would a regular javascript function.

When talking about UI, javascript and C# sit on top of different things. You have WinJS and HTML controls for javascript and XAML for C# so I don't see a way you could actually share a UI component thru the different languages.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM