I have an ember component that generates a list of groups of users. When a user clicks on one of the list components it calls a linkAction defined in the component and brings the user to the particular page associated with that list item. However when a user middle mouse clicks this component the user is then brought to /# by default and I cant figure out how to handle this behavior.
For reference here is the component as seen in the template.
{{student-group-item linkAction='drillToGroup' drillId=teacherGroup.id
group_name=teacherGroup.studentGroupName
meta_class="quiz-item-meta"
item_1_title= teacherGroup.numStudentsDisplay
item_1_class="group-count"
item_2_title=teacherGroup.createdDate
item_2_class="created-on"
item_3_title=teacherGroup.shortDescription
item_3_class="group-desc"}}
and the drillToGroup action does the following
drillToGroup: function(id) {
this.transitionTo('student-group',id);
},
How can I make this component respond to middle mouse click?