Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Popover AngularStrap,将触发器焦点放在 . 问题是这个触发器只在按钮元素中工作,但是,其余的触发器可以在 a 中使用,有没有办法让它在图像中工作?
这是你想要的?
<a href="javascript:" title="{{popover.title}}" data-content="{{popover.content}}" data-template="popover/docs/popover.tpl.demo.html" data-animation="am-flip-x" bs-popover> <img src="/my/image/path" /> </a>