Comments (16)
The ns-popover-tooltip-custom is a custom theme and is not part of te nsPopover, it was created to show how to create custom themes.
The built-in them for tooltips is the ns-popover-tooltip-theme and that is not described in the documentation properly. I will fix that.
Thanks, for your help.
from nspopover.
Seriously man you need to work on your documentations, how do close popovers from a ng controller programmatically?
from nspopover.
avatsaev .. You can call hidePopover method on ng-click like this
<a ng-click="hidePopover();"></a>
from nspopover.
I was trying to hide them from a controller without ng click, because when I open a popover and then another one, I need all previous popovers to disappear and not stand there. Any adivce on how I can achieve that?
from nspopover.
You can have a boolean variable in you controller as "isPopoverOpen" which would be set to false initially. Set it to true when the first popover and add a check to not to open the next unless the variable is set to false again :)
from nspopover.
A new option "ns-popover-modal" was added to allow popover to be grouped
and displayed separatelly. The basic usage is in the docs page. This
feature is not tested yet and is planed to be available in the next release.
2014-12-15 12:41 GMT-03:00 Sam2243 [email protected]:
You can have a boolean variable in you controller as "isPopoverOpen" which
would be set to false initially. Set it to true when the first popover and
add a check to not to open the next unless the variable is set to false
again :)—
Reply to this email directly or view it on GitHub
#31 (comment).
from nspopover.
true - All popover instances will be hidden when this one instance is shown
I've tried ("ns-popover-modal" => "true"), didn't work, the popover isn't showing up at all
from nspopover.
Like I said, this feature was not tested yet and we plan to publish on the
next release, which will occur at 20/12/2014.
2014-12-15 12:55 GMT-03:00 Vatsaev Aslan [email protected]:
true - All popover instances will be hidden when this one instance is shown
I've tried it, didn't work at all
—
Reply to this email directly or view it on GitHub
#31 (comment).
from nspopover.
Noted
from nspopover.
@Sam2243
Thanks for your issue. In the meantime, would you be interested in filling the gap and contributing documentation, in your spare time of course?
from nspopover.
Oh yeah sure I will do it. Let me know where I could add the documentation.
from nspopover.
@Sam2243
Thanks for your willingness, very heart warming :)
If you're familiar with git, then just submit a pull request with new documentation.
If you're comfortable with any other means, like a simple text editor, just download README.md file and adjust it accordingly. Then send it over to my Email, which you can see on my profile page.
from nspopover.
Sure thing. I'll submit a pull request very soon for sure.
from nspopover.
Splendid! Thanks @Sam2243 for your help.
from nspopover.
What about the implementation of hiding the popover via a controller? (without ng-click)
Any news?
The ns-popover-group doesn't seem to work :(
from nspopover.
Everything seems to be working pretty well for the most part thank you!
I don't see any documentation on taking advantage of the onOpen and onClose callbacks. I've tried attaching a scope-level function to the onOpen attribute using ns-popover-on-open, but for some reason it gets lost in translation during the $parse in the options object.
Anyways, I know I'd find it helpful to have documentation regarding all of the available attributes you can pass it.
from nspopover.
Related Issues (20)
- button component
- [Newbie] Popover doesn't show with lightbox HOT 1
- popovers won't run outsideClickHandler if another popover is clicked on
- Open nsPopover on element 2 when element 1 is clicked
- module stopped my running application HOT 1
- nsPopover misplaced tooltip rectangle (with triangle) in first click
- Resizing popover
- ns-popover-group doesn't work with click trigger
- No more releases? HOT 2
- Officially maintained on npm? HOT 2
- Could we directly use the source file HOT 3
- Top/Bottom Alignment Incorrectly Positions Triangle
- Loading template from external path is not working
- nsPopover demo wording
- ns popover popup delay, doesnt work properly
- nsPopover.js files in exmple and src directories are differente
- How can I get the popover's status of open or close by using callback?
- Dropdown onchange event closes the popover
- Is there a release coming with the latest commits? HOT 1
- Show popover in modal HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nspopover.