How to return a value from a rendered view?


#1

what i’m trying to do is to make a rendered view return some value when a user clicks certain buttons in the view.

var returnedValue = this.render('template', {
  outlet: 'outletTwo'
});

any ideas on how to make this work?