|
|
|
|
|
by Throwaway823
4306 days ago
|
|
"Does uilang support other events? No, uilang lets you only react to clicks. Hover effects can usually be achieved in CSS and other events are simply out of the scope of this language." I guess if you only need support for adding/removing/toggling classes, and you have no plans of using jQuery, this could be useful. It's 1kb of Javascript, compared to jQuery, which is over 80kb minified. Now, everyone and their dog likely has jQuery cached from a CDN, but it's a good way to reduce unnecessary bloat. If they added one or two common features from jQuery, and used a normal syntax instead of this written non-sense, I could see some people using it as a light version of jQuery. |
|