[英]How To Use AngularJS UI Bootstrap tooltips with Bootstrap 4
The directive <div uib-tooltip="hello-world" tooltip-is-open="true">hello world</div>
returns the following error: 指令
<div uib-tooltip="hello-world" tooltip-is-open="true">hello world</div>
返回以下错误:
Failed to load template: uib/template/tooltip/tooltip-popup.html
The site uses both ui-bootstrap.js and ui-bootstrap.tpsl.js from cdnjs.cloudflare.com. 该站点同时使用cdnjs.cloudflare.com的ui-bootstrap.js和ui-bootstrap.tpsl.js。 If I do not include ui-bootstrap.js the page continues to return an error by saying the module cannot be found.
如果我不包含ui-bootstrap.js,则该页面会继续返回错误,提示无法找到该模块。
The main module that initialized Angular is already including ui.bootstrap as a dependency. 初始化Angular的主要模块已经包含ui.bootstrap作为依赖项。
确保将工具提示的bootstrap 3 CSS样式复制到bootstrap 4样式表中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.