stevenh77 / drop-ng Goto Github PK
View Code? Open in Web Editor NEWAn AngularJS wrapper module for Drop.js
An AngularJS wrapper module for Drop.js
Drop.js has the following options for openOn
attribute:
'click' 'hover' 'focus' 'always'
Is there any plans for supporting the same? hover
is something which can be useful.
Hi there,
I need to provide to be able to offset the drop from the parent element and would like to be able to pass in tetherOptions as per http://github.hubspot.com/drop/#-tetheroptions-
Happy to create in a pull request if you like.
Cheers
Version 1 of dropjs was released recently. https://github.com/HubSpot/drop/releases
We will need to reference tetherjs manually after updating as it is no longer bundled inside dropjs.
Hi Steven,
Thanks for this nice wrapper!
Any chance you can get it to work without jQuery?
Would be awesome.
Supposedly you can add a timeout on bind, I'll have to try it. http://stackoverflow.com/questions/34820111/ng-repeat-gets-commented-out-by-drop-js
I have an NPM-only front-end build right now, and I don't want to add Bower just for this.
Seems to be related to longer animations or more complex dropdowns that take some time to render.
Adding a 150ms delay before calling focus() seems to solve the problem. Maybe that should be the default and we add an option to set an explicit delay length.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.