ractivejs / ractivejs.github.io

https://ractive.js.org
8 stars 33 forks source link

Multiple path observing with the same handler #140

Closed ceremcem closed 6 years ago

ceremcem commented 6 years ago

Note to myself: Add multiple path observation example with the same handler:

this.observe('foo.x foo.y', function(value){
  this.add('count');
})

(Note: This is different from wildcard observers) (Note2: Wait for the answer of https://github.com/ractivejs/ractive/issues/3210)

ceremcem commented 6 years ago

Upps, there is already one: https://ractive.js.org/api/#ractiveobserve