functionsio / angular-parallax Goto Github PK
View Code? Open in Web Editor NEWAngular.js module for parallax goodness.
License: MIT License
Angular.js module for parallax goodness.
License: MIT License
If use parallaxBackground with ngIncude directive I have compile error:
Error: [$compile:multidir] Multiple directives [ngInclude, parallaxBackground] asking for transclusion on:....
It's a bug or parallaxBackground is incompatible directive with ngInclude?
Best regards
Currently, I am using your package and its great. everything works good and it simple to init. The only thing is that I didn't get how to limit the parallax. for example when an object assigned to be parallax (parallax parallax-ratio="-0.25"
) the object keeps moving until the end of the entire scroll. How can I limit the travel distance for example to 100px?
For now, even when the directive being destroyed, setPosition
is still getting called.
We at VersionEye are working hard to keep up the quality of the bower's registry.
We just finished our initial analysis of the quality of the Bower.io registry:
7530 - registered packages, 224 of them doesnt exists anymore;
We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).
Sadly, your library brettdonohoo/angular-parallax
is one of them.
Can you spare 15 minutes to help us to make Bower better?
Just add a new file bower.json
and change attributes.
{
"name": "brettdonohoo/angular-parallax",
"version": "1.0.0",
"main": "path/to/main.css",
"description": "please add it",
"license": "Eclipse",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"<dependency_name>": "<semantic_version>",
"<dependency_name>": "<Local_folder>",
"<dependency_name>": "<package>"
},
"devDependencies": {
"<test-framework-name>": "<version>"
}
}
Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.
NB! Please validate your bower.json with jsonlint before commiting your updates.
Thank you!
Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!
When you hard refresh the page, only partial of the images loaded. But when you scroll the images fully load immediately.
I suggest to add this module to npm as well.
I ripped my hair out over this one.
I embedded an ng-model inside a div with the parallax-backround directive.
When I tried to apply a $watch function on the ng-model element,
the watch would not trigger on changes to the model.
Thankfully it works with the other "parallax" directive.
I'm looking to center a parallax item, like a header, but not sure how to do it. Is there a feature already added or is this something that could be added?
If it isn't added and it could be added, I'll look into adding it but didn't want to waste my time if there already was.
Thanks
Online demo not working (404)
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.