The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Tumblr, and Blogger.
Polgár András sent in LazyJsonUndoRedo (GitHub: azazdeaz / LazyJsonUndoRedo, npm: lazy-json-undo-redo, Bower: LazyJsonUndoRedo), which uses ES6’s Object.observe
to bless undo and redo support on arbitrary JavaScript objects. That means if you’ve got a rich UI component you can add intuitive undo support.
There’s a demo that shows a graphical maze which supports undo and redo that illustrates the concept nicely. It sets the maze’s map
object to use LazyJsonUndoRedo, and whitelists some special objects:
var ljur = new LazyJsonUndoRedo();
ljur.setWhitelist(map, ['data', 'objectMap', 'objectData', 'width',
'height', 'name', 'gridSize', 'showGrid', 'showWalls']);
ljur.observeTree(map);
var gui = new dat.GUI();
gui.add({ undo: function() { ljur.undo(); } }, 'undo');
gui.add({ redo: function() { ljur.redo(); } }, 'redo');
Object.observe
is supported in the latest stable Chrome, and there’s a Polymer shim for older browsers. The shim should work in IE 9 and above.
Internally, LazyJsonUndoRedo uses an array to store changes and a pointer so objects can be fetched as required.
Read more https://feedproxy.google.com/~r/dailyjs/~3/0iOEdNIraJY/lazy-json-undo
Read more https://feeds.joomla.org/~r/JoomlaExtensionsUpdated/~3/e33q4LC40xA/27245
Making the content well-organized and readable is a typographic challenge every designer faces with. The wrong choice of fonts can spoil any good design, that’s why it’s so important to find its right style, color and size. The selection of a font brings a character to a website and conveys its main ideas to the viewers. Actually, typography is 90% of design, and that’s the reason to focus attention on it while you design.
What are the rules of using fonts for creating visually pleasing layouts[1] with their own mood? Observing all of them, you can be sure that your designs will be welcoming.
.
It can be also said that typography if more important than graphics in design. Why? Font hierarchy underlines the message hierarchy, the choice of particular type can differentiate messages. Mixing various fonts you can create nice design effects.
Google Web fonts, Fontdeck, Typekit, Webtype are well-known and most-used depositories of fonts. Ask any designer about where to find the desired font, and he’ll name one of these resources. And where to get free fonts that will not take you extra money to spend for buying them and time for designing? Here is a compilation of the fresh hand-picked free fonts that you are welcome to use in your works. Only the latest and the finest items are gathered here. Hurry up to get them!
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
* * *
Dilem Handwritten Display Typeface[20]
* * *
* * *
* * *
* * *
* * *
* * *
* * *
Author’s BIO: Walk with me to learn all you wanted to know about philosophy, psychology and aesthetics of modern web designs[28]. How to find me? Katarina Klementi on Google +[29].
Read more https://www.corephp.com/blog/typography-explosion-fresh-free-fonts/
Read more https://feeds.joomla.org/~r/JoomlaExtensions/~3/1bkrTrplLL0/27380
Read more https://feeds.joomla.org/~r/JoomlaExtensions/~3/uODTBtmJcs8/27343
Page 766 of 1312