我想自动定位我的工具提示,就像我在浏览器滚动条的顶部,并且第一行中有工具提示的链接,然后必须在底部显示工具提示.
有没有办法只使用angularjs?
我正在使用angular-ui-bootstrap
<a href="#" tooltip-template="'tool.html'" tooltip-class="customclass">My template</a> <style> .tooltip.customclass .tooltip-inner { color: #414141; background-color: #f1f1f1; Box-shadow: 0 6px 12px rgba(0,.175); } .tooltip.customclass .tooltip-arrow { display: none;} </style> <script type="text/ng-template" id="tool.html"> <span>Special Tooltip with <strong>markup</strong></span> </script>`