343 private links
CSS only alternative to Javascript !!! These patterns are .
One point is that some examples are using a tons of CSS (i.e. Todo List).
Quite are impressive such as the Twitter like animation.
And other are basic and simple such as the ripple effect: https://github.com/mladenplavsic/css-ripple-effect/blob/master/src/ripple.less
EDIT: this ripple effect is independant of the mouse position on click
25 Javascript weird things
A simple library for handling keyboard shortcuts in Javascript.
La bibliothèque peut facilement s'intégrer avec un fichier JSON pour une configuration personnalisée ! 👍 Seulement pour des applications utilisant intensivement les raccourcis claviers.
Des solutions pour résoudre différents problèmes en 1 ligne de code
Actually, it is !
Thanks for this inspiring post 😄
Cet article est rempli de considérations extrêmement intéressantes sur l'intérêt qu'il y a à limiter la taille de ... tout, en fait. Mais surtout de son site web dans toutes ses dimensions : moins de features, moins de dépendances, ...
(via https://nicolas-delsaux.hd.free.fr/Shaarli/?uyqHfg)
In Vue 2, to bind a class from a parent to a child component, the child must have :class="data.staticClass || ''"
La différence entre les variables primitives (string, number, boolean) et les complexes (object)
WTF is the this keyword
Setting the property name into brackets give the ability to evaluate its value as an expression. Thus custom property names can be created:
let a = {
['foo' + 1]: i,
}
console.log(a.foo1) // print 1For the old Clippy 🤣
Using the object EventSource from the client side in javascript ! So it allows to stream updates from a server.
Looks cool :)
Whaoouuhh 🌌
Wow there is great explanations on Generators in javascript here !