Library of The Week: SweetAlert

I have already written about Vex [https://blog.javascripting.com/2015/04/04/library-of-the-week-vex/], a library for creating modal dialogs. This week let's take a look at SweetAlert [http://www.javascripting.com/view/sweetalert], which is very similar to Vex. SweetAlert bills itself as "a beautiful replacement…

Library of The Week: Highland.js

A few weeks ago, writing about the increasingly obsolete Async.js, I promised to talk about Highland.js [http://highlandjs.org/]. This library is by Caolan McMahon, who also wrote Async.js, and can be considered its successor. Highland can be used as an alternative to promises for handling asynchronous…

Library of The Week: spin.js

The spinning throbber is a standard UI element displayed on many websites when waiting for Ajax responses or other long-running operations. For a design-heavy marketing website, your graphic designer will probably tailor a fancy custom loading indicator. In other cases, a stock component is good enough. One solution is use…

Library of The Week: Packery

Arranging differently sized items in a grid has been always a challenge. This is especially true if you want column-based layout because document flow is inherently row-oriented. There is promising solution that uses pure CSS: Flexbox [https://css-tricks.com/snippets/css/a-guide-to-flexbox/]. The only problem is that it only works…

Library of The Week: Vex

Modal dialogs have been vilified by modern UX theory as overly disruptive. But sometimes you want to be disruptive, whether you want show a fatal error or need an unskippable dialog prompting the user for information. This week, let's take a short look at Vex [https://www.javascripting.…