forked from nolimits4web/swiper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca2824e
commit 529f203
Showing
8 changed files
with
130 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,28 @@ | ||
module.exports = {}; | ||
module.exports = { | ||
components: [ | ||
'observer', | ||
'keyboard', | ||
'mousewheel', | ||
'navigation', | ||
'pagination', | ||
'scrollbar', | ||
'parallax', | ||
'zoom', | ||
'lazy', | ||
'controller', | ||
'a11y', | ||
'history', | ||
'hash-navigation', | ||
'autoplay', | ||
'effect-fade', | ||
'effect-cube', | ||
'effect-flip', | ||
'effect-coverflow', | ||
], | ||
target: 'universal', | ||
themeColor: '#007aff', | ||
colors: { | ||
white: '#ffffff', | ||
black: '#000000', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,21 @@ | ||
// F7 Class | ||
import Swiper from './components/core/core-class'; | ||
|
||
// Import Modules | ||
// Core Modules | ||
import Device from './modules/device/device'; | ||
import Support from './modules/support/support'; | ||
import Browser from './modules/browser/browser'; | ||
import Resize from './modules/resize/resize'; | ||
|
||
import Observer from './components/observer/observer'; | ||
import Keyboard from './components/keyboard/keyboard'; | ||
import Mousewheel from './components/mousewheel/mousewheel'; | ||
import Navigation from './components/navigation/navigation'; | ||
import Pagination from './components/pagination/pagination'; | ||
import Scrollbar from './components/scrollbar/scrollbar'; | ||
import Parallax from './components/parallax/parallax'; | ||
import Zoom from './components/zoom/zoom'; | ||
import Lazy from './components/lazy/lazy'; | ||
import Controller from './components/controller/controller'; | ||
import A11y from './components/a11y/a11y'; | ||
import History from './components/history/history'; | ||
import HashNavigation from './components/hash-navigation/hash-navigation'; | ||
import Autoplay from './components/autoplay/autoplay'; | ||
//IMPORT_COMPONENTS | ||
|
||
// Effects | ||
import EffectFade from './components/effect-fade/effect-fade'; | ||
import EffectCube from './components/effect-cube/effect-cube'; | ||
import EffectFlip from './components/effect-flip/effect-flip'; | ||
import EffectCoverflow from './components/effect-coverflow/effect-coverflow'; | ||
|
||
// Install Modules | ||
// Install Modules & Components | ||
Swiper | ||
// Core Modules | ||
.use(Device) | ||
.use(Support) | ||
.use(Browser) | ||
.use(Resize) | ||
// Install Components | ||
.use(Keyboard) | ||
.use(Mousewheel) | ||
.use(Navigation) | ||
.use(Pagination) | ||
.use(Observer) | ||
.use(Scrollbar) | ||
.use(Parallax) | ||
.use(Zoom) | ||
.use(Lazy) | ||
.use(Controller) | ||
.use(A11y) | ||
.use(History) | ||
.use(HashNavigation) | ||
.use(Autoplay) | ||
.use(EffectFade) | ||
.use(EffectFlip) | ||
.use(EffectCube) | ||
.use(EffectCoverflow); | ||
//INSTALL_COMPONENTS | ||
|
||
export default Swiper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
@import url('./less/mixins.less'); | ||
|
||
@themeColor: $themeColor; | ||
@colors: $colors; | ||
|
||
@import url('./components/core/core.less'); | ||
@import url('./components/navigation/navigation.less'); | ||
@import url('./components/pagination/pagination.less'); | ||
@import url('./components/zoom/zoom.less'); | ||
@import url('./components/scrollbar/scrollbar.less'); | ||
@import url('./components/effect-fade/effect-fade.less'); | ||
@import url('./components/effect-coverflow/effect-coverflow.less'); | ||
@import url('./components/effect-flip/effect-flip.less'); | ||
@import url('./components/effect-cube/effect-cube.less'); | ||
|
||
//IMPORT_COMPONENTS |