admin管理员组文章数量:1406140
I am using UI Bootstrap and AngularJS, and I want to have popover with placement 'bottom-right', instead of the normal 'bottom' or 'right'. The picture below shows how I would like it work.
Anybody know how to do this? I've seen this somewhat addressed for plain old bootstrap, but not ui bootstrap here: bootstrap popover: advanced positioning
I am using UI Bootstrap and AngularJS, and I want to have popover with placement 'bottom-right', instead of the normal 'bottom' or 'right'. The picture below shows how I would like it work.
Anybody know how to do this? I've seen this somewhat addressed for plain old bootstrap, but not ui bootstrap here: bootstrap popover: advanced positioning
Share Improve this question edited May 23, 2017 at 12:23 CommunityBot 11 silver badge asked Dec 16, 2015 at 13:02 Tom O'BrienTom O'Brien 1,8419 gold badges47 silver badges76 bronze badges 8- 1 Have you tried popover-placement="bottom right"? – Mihail Stancescu Commented Dec 16, 2015 at 13:08
- Can you tried with custom CSS? – Dinesh ML Commented Dec 16, 2015 at 13:09
- Please Read this ui-bootstrap – Maher Commented Dec 16, 2015 at 13:10
- @ Mihail Stancescu "bottom right" doesn't work - it causes the popover to be placed wrong, and doesn't have an arrow part at all for me. – Tom O'Brien Commented Dec 16, 2015 at 13:16
- @Maher - have read the ui-bootstrap page, but it only give "top, bottow, left and right" as options for popover-placement – Tom O'Brien Commented Dec 16, 2015 at 13:17
2 Answers
Reset to default 4Just keep the value of popover-placement
to bottom-right
.
Works in the latest builds.
This feature was added under PR #4899 and will be available in the next release.
本文标签: javascriptAngularJS UI Bootstrap Popover Placement 39bottomright39Stack Overflow
版权声明:本文标题:javascript - AngularJS: UI Bootstrap Popover Placement 'bottom-right' - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744979329a2635718.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论