Seeking assistance from anyone familiar with utilizing Bootstrap for Ember components to help resolve an issue.
I am trying to understand how to pass a model to the component when using {{bs-bind-popover}}
<div {{bs-bind-popover templPop}}>Show popover</div>
In my controller, I have implemented code similar to the example provided:
templPop: Ember.Object.create({
firstName: 'numbers',
title: 'Popover with Template',
template: 'numbers:<ul>' +
'{{#each val in content.numbers}}' +
' <li>{{val}}</li>' + '{{/each}}' +
'</ul>',
content: {
numbers: [1, 2, 3]
}
})
I am wondering how I can efficiently pass a model or other arguments to bs-bind-popover so that they can be utilized within the templPop content and template?
Perhaps something like {{bs-bind-popover templPop model}}