angular-popover-toggle

WebJar for angular-popover-toggle

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-popover-toggle
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

angular-popover-toggle
WebJar for angular-popover-toggle
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/Elijen/angular-popover-toggle

Download angular-popover-toggle

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-popover-toggle/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-popover-toggle</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-popover-toggle/
implementation 'org.webjars.bower:angular-popover-toggle:0.1.1'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-popover-toggle/
implementation ("org.webjars.bower:angular-popover-toggle:0.1.1")
'org.webjars.bower:angular-popover-toggle:jar:0.1.1'
<dependency org="org.webjars.bower" name="angular-popover-toggle" rev="0.1.1">
  <artifact name="angular-popover-toggle" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-popover-toggle', version='0.1.1')
)
libraryDependencies += "org.webjars.bower" % "angular-popover-toggle" % "0.1.1"
[org.webjars.bower/angular-popover-toggle "0.1.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bower : angular-bootstrap jar [0,)

Project Modules

There are no modules declared in this project.

Build Status

WARNING If you are using ui.bootstrap v0.13.4 or later you probably don't need this

is-open attribute was added to the ui.bootstrap.popover in v0.13.4. This repository will no longer be maintaned.

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>

Example usage with simple popover:

http://plnkr.co/edit/QeQqqEJAu1dCuDtSvomD?p=preview

Example usage with popover-template:

http://plnkr.co/edit/SBX3GPUFLYaKnjATbFtQ?p=preview

Versions

Version
0.1.1
0.0.10