Comments (10)
+1 to this as well; there should be a lazy-load option.
Require functionality that would allow for a flow similar to below:
- [Enter :: Loading] (mouseenter): IF not already loaded, load data into template through directive function; display "loading" template (SVG)... state changed from "none" to "loading".
- [Enter :: Loaded] (mouseenter): Display popover with data from above (mouseover should now encompass this popover)... state changes from "loading" to "loaded".
- [Exit] (mouseleave for X seconds): Hide pop-over... state changed from "loaded" to "none"
from nspopover.
+1 for this
from nspopover.
Thanks gentlemen for the input, I also +1 for this option.
I'm in need for this myself, but maybe any of you have already done that and could submit a pull request? If not, then I'll do it myself in the coming days I guess.
from nspopover.
+1 for this. I have a 1000 elements on a grid. Each one of them needs a popover, which means 1000 hidden divs. Would be great to improve this.
from nspopover.
+1 for this
from nspopover.
+1 for this!!!
from nspopover.
Any news? Will we ever see this lazy loading feature?
from nspopover.
I'm not working on this feature, does anyone wants to contribute?
from nspopover.
Too lazy for that, but I won't be completely worthless -- here is a workaround :)
<span ng-if="hasOpened" ns-popover (...)>
<ng-transclude></ng-transclude>\
</span>\
<span ng-if="!hasOpened" ng-mouseenter="onFirstOpen()" ng-transclude></span>
scope.onFirstOpen = -> scope.hasOpened = true
from nspopover.
Thank you, I will try something like that.
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.