fix(): include swiper source js file.

This commit is contained in:
Josh Thomas
2017-05-05 15:30:50 -05:00
parent fa48048c2d
commit 39e12b1c2e
3 changed files with 622 additions and 299 deletions

View File

@ -1,4 +1,5 @@
import { Component, h, Ionic, Prop } from '../index';
import { Swiper } from '../../vendor/swiper';
/**
* @name Slides
@ -353,9 +354,7 @@ export class Slides {
};
// init swiper core
swiperOptions;
// this.swiper = new window.Swiper(this.container, swiperOptions);
this.swiper = new Swiper(this.container, swiperOptions);
if (this.keyboardControl) {
// init keyboard event listeners