Angular UI Bootstrap Popover - preventing default on startup by clicking

I have a table with several rows, each of which can be selected, in the first column there is an information button using bootstraps popover (UI Bootstrap Angular).

<span class='glyphicon glyphicon-info-sign' popover-placement='right' popover='my notes to display'></span>

When I click on an item, I want it to not select the item behind it.

I know that this can be accomplished with e.preventDefault and e.stopPropagation (), how can this be implemented using the bootsrap user interface?

thank

+3
source share
1 answer

Tell this to stop the spread of such events:

 <span ng-click="$event.stopPropagation()" class='glyphicon glyphicon-info-sign' popover-placement='right' popover='my notes to display'></span>

This should help.

+4
source

All Articles