Major Version 1.6.239 Update
New Platforms
We have added following new platform support.
- UWP - Universal Windows Platform
- MacOS
- Tizen - * Community Support
- GTK - * Community Support
- Xamarin does not support these platforms officially, however we will try to support as much as we can provided bug/update is part of Web Atoms framework.
A New JavaScript Engine
We have written a new JavaScript Engine YantraJS specifically for Web Atoms, this engine is written in C#, so it can run anywhere wherever C# is supported, except iOS as it does not allow loading dynamic types.
New Controls
- AtomButtonBar - a native button bar
- AtomCalendar - Calendar control to host date items
- AtomDateField - A selectable date field built on top of AtomCalendar, native calendar is difficult to navigate, changing year requires many taps on android, but AtomCalendar provides nice drop down for easy change.
- AtomChoiceView - A simple dropdown with ability to search and choose
- AtomChips - multiple list items, editable, searchable
Console Debugging Hints
bridge.root
, while in debugger console, you can typebridge.root
to inspect UI hierarchy- You can also use
bridge.root
in safari developer tools (Requires Mac)
A new code Generator
We have released source code for TypeScript definition generator from dll, which you can use to generate source code of your custom UI Elements.
GitHub - TypeScript Definition Generator Link
UWP Sample
We have added UWP sample in xf-samples
repository, https://github.com/web-atoms/xf-samples
AtomPopup
We have added AtomPopup
class which lets you create easy popups attached to any element. (Requires Grid in root of Page). You have to set PopupTemplate
and DisplayPopup
attached properties. Popup
will be created and displayed as long as DisplayPopup
is set to true.
IJSContext.CreateBoundFunction
Creating bound functions in iOS are tricky, earlier every function was bound by default and extending C# class to JavaScript was slower. This was improved by introduction of IJSContext.CreateBoundFunction
method, in which a delegate receives this
parameter. In iOS, this function requires two steps, so you should use IJSContext.CreateFunction
for faster execution. On other platforms it does not matter which one do you use.
Like | Comment | Save | Share |