1

Below is the hierarchy of my LayoutView
LayoutView > Region > CollectionView > ItemView > checkbox

If I want to listen to change event of checkbox at LayoutView level, should I listen and trigger the event at each level or is there a shorter way of implementing the same.

Flake
  • 1,386
  • 17
  • 31

1 Answers1

2

Sounds like what you want is childEvents in your LayoutView. http://marionettejs.com/docs/v2.4.2/marionette.layoutview.html#layoutview-childevents

And just trigger your event in your child view like normal.

slinhart
  • 562
  • 5
  • 17