Comments (1)
You should be able to just check the listeners
property of the variable. It will be false if there are no listeners, otherwise it will have an array of listeners. Note this is only for "active" listeners, that is dependent variables that are actively receiving notification of changes. If another dependent variable is using this variable, but is not active (no listeners itself), then there is no reference to the dependent variable (because that would break garbage collection).
from alkali.
Related Issues (20)
- Request: CommonJS module support
- Element: classes manipulated with renderer in `created` get overwritten HOT 1
- Can you add support of "i" tag? HOT 1
- TypeError: Cannot read property 'length' of undefined
- Cannot add image HOT 1
- 0 is ignored when used for content
- Return VBoolean from `equal`
- Feature: isEmpty operator HOT 5
- Variable assignment proxying upstream by default HOT 3
- Feature request: disregard/coalesce Promise values HOT 6
- Generating dynamic class name HOT 6
- *render() generator function throws TypeError: value.bind is not a function HOT 2
- Support for whole-object `classes` transform HOT 1
- VArray#Splice doesn't fire update on downstream transform
- Using `.property` on maps defined by keyBy should return original variable instance HOT 2
- Bug: passing `disabled` prop to Select menu does not work as expected
- Native ES6 Module Support HOT 3
- Missing standard element: Fieldset HOT 2
- Unreachable code after return statement HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alkali.