📜 ⬆️ ⬇️

Webix 2.3. Spring update

Not so long ago, a post about the release of the new version numbered 2.3 appeared on the developers blog of this JavaScript library. Updates are good, no doubt. But looking out the window at Late Maritime Street, it becomes not quite clear what to choose: to deal with new available opportunities, or instead to leisurely stroll under the still spring spring sun, noting the late summer that was latent and breathing greedily with all its gut spilled everywhere the smell of spring and revival? This is a difficult question. Need to understand.




')

Material design


First, the good news for lovers of candy , the number of which (fans, not candy) is likely to increase even more immediately after the release of Android 5.1.1, in which, apparently , the sensational problem of memory leakage will finally be fixed. The Webix developers decided to bask in the glory of the new Material design from Google and rolled out their Material skin:



They promise a nice interface, bright colors and responsive design. Those who are not accustomed to believing promises can see for themselves how much this corresponds to the truth on the demo page . The bad news for sloths: the wonder skin will not be included in the library, you will have to go to github for it .

New notification icons for buttons and menu items


But even Material skin fades in the face of the next killer feature! Now you can add pretty orange icons (OH, WOW !!!) to the menu items and buttons on the page. They can be used to indicate the number of new notifications, unanswered e-mails from your former or anything else that might come to your mind:



Demo page also available.

Organogram widget


It sounds awesome, but in fact it is a widget for building hierarchical diagrams:



If you have previously used Webix Tree , mastering this thing will be easy. You can also change the appearance to your liking: size, alignment, whatever your heart desires. For aesthetes, the ability to change style with CSS is available. You can poke here .

BarCode widget


Times are tough now. You have to spin as you can. For those of you who decide to start your own candle factory, a barcode generator may be useful. You can generate bar codes that meet the most popular standards: EAN8, EAN13 and UPC-A.

You can use, for example, like this:

webix.ready(function(){ webix.ui({ view: "barcode", id: "barcode", type: "ean13", value: "123456789012" }); }); 


And, actually, the result:



TypeScript




And finally, the news for those who use TypeScript . Starting with version 2.3, Webix allows the use of a ready type definition file. You can download the file directly , you can use NuGet or another package manager.

Total


The release is interesting. There are innovations that will be curious to many, for example Material skin. The fifth version of Google's mobile OS is gaining momentum and it would not be superfluous to think about giving your web applications a look familiar to users from their mobile OS. Some of the chips to most of you may seem of little help. For example, when was the last time you used organograms in your projects?

A complete list of changes can help to bring final clarity. Those who constantly use the library will have to like the work on the bugs: the list of fixes is rather big. Download the library here .

On this, perhaps, everything ...

Oh yes! Answering the question posed at the very beginning of the article: just take your laptop with you for a walk.

Source: https://habr.com/ru/post/254103/


All Articles