Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

added JavaScript Reference for Responsive Toggle #8513

Merged
merged 1 commit into from
Apr 28, 2016

Conversation

alfredbez
Copy link
Contributor

In order to use the Responsive Toggle you need to include the file js/foundation.responsiveToggle.js

@rafibomb
Copy link
Member

rafibomb commented Apr 6, 2016

Are you referring to cases where people use the customizer, but do not include Responsive Toggle?

@alfredbez
Copy link
Contributor Author

I use it like so in my gulpfile.js:

gulp.task('js', function() {
    return gulp.src([
        'node_modules/jquery/dist/jquery.js',
        'node_modules/foundation-sites/js/foundation.core.js',
        'node_modules/foundation-sites/js/foundation.util.mediaQuery.js',
        'node_modules/foundation-sites/js/foundation.util.keyboard.js',
        'node_modules/foundation-sites/js/foundation.util.box.js',
        'node_modules/foundation-sites/js/foundation.util.nest.js',
        'node_modules/foundation-sites/js/foundation.util.motion.js',
        'node_modules/foundation-sites/js/foundation.dropdownMenu.js',
        'node_modules/foundation-sites/js/foundation.accordion.js',
        'node_modules/foundation-sites/js/foundation.responsiveToggle.js',
        'node_modules/slick-carousel/slick/slick.js',
        'src/js/main.js',
      ])
      .pipe(plugins.babel())
      .pipe(plugins.concat('script.min.js'))
      .pipe(gulp.dest('js/'));
});

@kball
Copy link
Contributor

kball commented Apr 28, 2016

Given this page in the docs also talks about the responsive toggle, it makes sense to link in the jsdoc stuff, so I think this is good to go.

@kball kball merged commit a675d71 into foundation:master Apr 28, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants