Skip to content

popoverToggle directive allowing manual control over AngularUI's popover

License

Notifications You must be signed in to change notification settings

Elijen/angular-popover-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-popover-toggle

popoverToggle directive allowing manual control over AngularUI's popovers

Installation

Download and include the popover-toggle.js file after AngularJS on your page. You can use Bower:

bower install angular-popover-toggle

Declare a dependency on popoverToggle in your module:

angular.module('YourModule', ['ui.bootstrap', 'popoverToggle']);

Usage

Now you can use popover-toggle directive in addition to popover and popover-template directives:

<div ng-init="isPopoverOpen = true">
    <span popover="Hello World!" popover-toggle="isPopoverOpen">There is a popover above me!</span>
</div>

About

popoverToggle directive allowing manual control over AngularUI's popover

Resources

License

Stars

Watchers

Forks

Packages

No packages published