-
20 ЯНВ 20170
-
19 ЯНВ 20170
loud-links - js скрипт навешивания звуковых эффектов на ссылки
<div class=“loud-link-hover” data-sound="http://example.com/audio/noise.{{type}}"> ... </div> <!-- For absolute URLs, {{type}} will be replaced with '.mp3' and '.ogg' --> <div class=“loud-link-hover” data-sound="noise"> ... </div> <!-- Look for /sounds/mp3/noise.mp3 and /sounds/ogg/noise.ogg at the root of your website directory. -->
https://loudlinks.rocks -
18 ЯНВ 20170
-
17 ЯНВ 20170
-
16 ЯНВ 20170
-
12 ЯНВ 20170
date-fns - продвинутый js скрипт для работы с датой
Пример// Represent 11 February 2014 in middle-endian format: var result = format( new Date(2014, 1, 11), 'MM/DD/YYYY' ) //=> '02/11/2014'
https://date-fns.org/ -
11 ЯНВ 20170
premonish - js скрипт для предсказания, с чем будет взаимодействовать пользователь дальше
Примерimport Premonish from 'premonish'; const premonish = new Premonish({ selectors: ['a', '.list-of' '.selectors', '.to', '#watch'], elements: [] // Alternatively, provide a list of DOM elements to watch }); premonish.onIntent(({el, confidence}) => { console.log(el); // The DOM node we suspect the user is about to interact with. console.log(confidence); // How confident are we about the user's intention? Scale 0-1 });
https://mathisonian.github.io/premonish/ -
21 ДЕК 20160
Категории:
Оставить на заметку в: