Ionic with fullpage.js


#1

Could ionic works with fullpage.js inside ?
I’ve tried to use fullpage.js but its not working
Any solution?


#2

We have no idea what fullpage.js is without more information from you, but if your looking for a fullpage application, check out the Ionic docs.


#3

I’m sorry, fullpage.js is just like this page http://alvarotrigo.com/fullPage/
The height of content is same with height of device


#4

Bumping this, I also tried to implement fullpage.js, but it seems ionic-angular is taking over a call with it’s version of jQuery, here’s the stack trace:

TypeError: cssClasses.indexOf is not a function
    at jQuery.jqLite.addClass [as _addClass] (ionic-angular.js:241)
    at jQuery.addClass (jquery.easings.min.js:6)
    at addVerticalNavigation (jquery.fullPage.js:776)
    at prepareDom (jquery.fullPage.js:639)
    at init (jquery.fullPage.js:503)
    at jQuery.$.fn.fullpage (jquery.fullPage.js:488)
    at u (angular-fullpage.min.js:1)
    at Scope.$digest (angular.js:16228)
    at Scope.$apply (angular.js:16492)
    at done (angular.js:10872)

I’m also using hellsan631 directive https://github.com/hellsan631/angular-fullpage.js so the jQuery plugin play nice with the agular environment.
Hopefully this already has a workaround?

Thanks guys.


#5

Actually managed to pull this trough modifing the ionic-angular.js file.

The pull request can be viewed here: https://github.com/driftyco/ionic-bower/pull/39