Angular directive for Qtip2
Angular Qtip2 Directive
Angular directive for Qtip2
UsageInstall with npm
$ npm install angular-qtip2-directive --save
Install with Bower
$ bower install angular-qtip2-directive --save-dev
Include the script qtip2
into your app and add qtip2
as a module dependency to your app. Use the directive on the elements with the attribute qtip
<a href="/cool-stuff" qtip="Text to appear in the tip">Hover me</a>
List of attributes you can use:
qtip-content
or qtip
: Content that will appear in the tip
qtip-title
: Title that will appear in the tip
qtip-my
: position of the tip arrow - optionnal: default to bottom center
qtip-at
: position of the tip - optionnal: default to top center
qtip-class
: class to use on the tip - optionnal: default to qtip
qtip-visible
: a scope variable to trigger the visibillity from extern
For more details about the options see the Qtip2 documentation
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。