Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.
/ ax-tooltip-control Public archive

Wraps the Bootstrap tooltip component as an AngularJS directive, for LaxarJS widgets.

License

Notifications You must be signed in to change notification settings

LaxarJS/ax-tooltip-control

Repository files navigation

AxTooltipControl

Wraps the Bootstrap tooltip component as an AngularJS directive, for LaxarJS widgets.

Installation

To retrieve a copy of this control you can either clone it directly using git or alternatively install it via Bower. For general information on installing, styling and optimizing controls, have a look at the LaxarJS documentation.

Setup Using Bower

Install the control:

bower install laxar-tooltip-control

Make sure that bootstrap and jquery can be found by RequireJS. For example, assuming that your baseUrl is 'bower_components', add this to the paths section of your require_config.js:

jquery: 'jquery/dist/jquery',
'bootstrap': 'bootstrap-sass-official/assets/javascripts/bootstrap'

Additionally, it is necessary to specify the correct load order by adding a shim entry:

shim: {
   // ...
   'bootstrap/tooltip': [ 'jquery' ]
}

Now you may reference the control from the widget.json of your widget:

"controls": [ "laxar-tooltip-control" ]

Usage

(TODO)

About

Wraps the Bootstrap tooltip component as an AngularJS directive, for LaxarJS widgets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published