pcwinters / angular-watch-when Goto Github PK
View Code? Open in Web Editor NEW$watch once, when I want you to
License: MIT License
$watch once, when I want you to
License: MIT License
Hi, I really love the idea behind that directive. However rather than decreasing the number of watchers, it seems to increase it, even though the actual performances may be better.
If two elements are when-watching the same model, would it be possible to put them all in the same waiting list?
For instance if you have
<div>{{::refresh::model1}}</div>
<div>{{::refresh::model2}}</div>
It would be way better to have only one watcher on refresh
that would rebind both watchers when that model change? That would drastically reduce the number of watchers when used in grids (n*p cells) where most refreshs are based on the same condition (basically when the data changes).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.