Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Feature request: provide ways to close popover #557

Closed
artworkad opened this issue Jun 24, 2013 · 2 comments
Closed

Feature request: provide ways to close popover #557

artworkad opened this issue Jun 24, 2013 · 2 comments

Comments

@artworkad
Copy link

I am using popover in my application. I have a custom build with popover external template working until 0.4 is released.

Now I want to be able to close the popover e.g. when user submits a form that is inside the popover. In pure angular it would look like this:

//element that triggers popover
a(... ng-click="showPopover != showPopover" ng-show='showPopover')

//inside the popover to close the popover
a(ng-click="showPopover = false")

And I would like the popover to close when anything else on the page is clicked.

I could not find any docs about that, hope to see this soon ;)

@pkozlowski-opensource
Copy link
Member

Duplicate of #590

@bentosquid
Copy link

+1. I actually really like how popovers are dealt with in AngularStrap.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants