⌈⌋ ⎇ branch:  Bitrhythm


Artifact Content

Artifact 374a4706d9d03e0a3be557e77db08bcf8e383c3c5e83b25774d66013946b1bda:


<observable-attr>
  <observable-attr-child store={ store }></observable-attr-child>
  this.store = riot.observable()
  this.on('mount', function() {
    this.store.trigger('custom-event')
  })
</observable-attr>

<observable-attr-child>
  var self = this
  this.store = opts.store
  this.store.on('custom-event', function(){
    self.wasTriggered = true
  })
</observable-attr-child>