/
githubmirror
/
fullPage.js
Обзор
Документация
Войти
/
githubmirror
/
fullPage.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
examples/module_loaders/webpack-example/src/index.js
23 строки
701 B
Alvaro Trigo López
- Updating module loaders examples (extensions & scrollOverflow)
25 сен 2018, 17:03
25 сен 2018, 17:03
40282eb
Код
Авторство
О чём код?
// Optional. When using fullPage extensions //import scrollHorizontally from './fullpage.scrollHorizontally.min'; // Optional. When using scrollOverflow:true //import IScroll from 'fullpage.js/vendors/scrolloverflow'; // Importing fullpage.js import fullpage from 'fullpage.js'; // When using fullPage extensions replace the previous import // of fullpage.js for this file //import fullpage from 'fullpage.js/dist/fullpage.extensions.min'; // Initializing it var fullPageInstance = new fullpage('#myFullpage', { navigation: true, sectionsColor:['#ff5f45', '#0798ec', '#fc6c7c', 'grey'] }); // Calling methods // fullpage_api.moveSectionDown(); // Or // fullPageInstance.moveSectionDown();