Code Monkey home page Code Monkey logo

angular-skrollr's People

Contributors

dependabot[bot] avatar edoparearyee avatar jamesjwarren avatar lbehnke avatar mortonfox avatar traksewt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-skrollr's Issues

Angular v1.5.8 support

After upgrading from angular 1.4 to 1.5.8 the angular-skrollr stopped working. In fact, I am not sure whether it's the angular-skrollr itself or some transitive dependency that causes the problem.
Anyway, v1.5.8 support would be great. Currently, version 1.2 < 1.5 is supported.

UPDATE

Angular-skrollr does support Angular 1.5.8 as far as I can tell. I had a glitch in my configuration.
So, it's just the version info that should be updated.

Module/App configuration incorrect package call

I was trying to set up my app.config based off of the Readme and after some frustration I got angular-skrollr integrated into my app. Despite the Readme stating that I needed to declare the package as snSkrollrProvider in my app.config, I could only get it to work with sn.skrollr.

Does the Readme have an error in it?

Refresh skrollr on scroll and resize

If an element's position is moved while scrolling or resizing the browser's window currently the element will still be animated using the keyframes calculated for the elements old position.

Example: using margin-top: -100px to move an element up the page will cause cause the data-bottom attribute styles to be initialised when the bottom of the element is 100px above the viewport instead of on the bottom of the viewport.

Configuring skrollr in apps config throws error

// 1. configure skrollr in your apps config
var myApp = angular.module('myApp', []);
myApp.config(["snSkrollrProvider", function(snSkrollrProvider) {
snSkrollrProvider.config({ smoothScrolling: true, ... });
}]);

This is the error message I get:
TypeError: object is not a function

Commenting this out, it works as it should. So the directive seems to work, just the configuration option fails.

Few questions about code

Hi,
Greate job! I live much what you do!
I have question about your code. Im rly interested in your appoach. Why do you use .provider("snSkrollr") instead of use local controler in directive? You init the plugin on $document.read event?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.