mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
chore(slides): temp remove slides import
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
import { Component, h, Ionic, Prop } from '../index';
|
||||
import Swiper from 'swiper';
|
||||
|
||||
/**
|
||||
* @name Slides
|
||||
@ -25,9 +24,7 @@ import Swiper from 'swiper';
|
||||
@Component({
|
||||
tag: 'ion-slides',
|
||||
styleUrls: {
|
||||
ios: 'slides.ios.scss',
|
||||
md: 'slides.md.scss',
|
||||
wp: 'slides.wp.scss'
|
||||
default: 'slides.scss'
|
||||
},
|
||||
shadow: false
|
||||
})
|
||||
@ -42,10 +39,6 @@ export class Slides {
|
||||
*/
|
||||
@Prop() effect: string = 'slide';
|
||||
|
||||
@Prop() paginationBulletRender: Function = function() {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
* @input {number} Delay between transitions (in milliseconds). If this
|
||||
* parameter is not passed, autoplay is disabled. Default does
|
||||
@ -360,7 +353,8 @@ export class Slides {
|
||||
};
|
||||
|
||||
// init swiper core
|
||||
this.swiper = new Swiper(this.container, swiperOptions);
|
||||
swiperOptions;
|
||||
// this.swiper = new window.Swiper(this.container, swiperOptions);
|
||||
|
||||
|
||||
if (this.keyboardControl) {
|
||||
|
Reference in New Issue
Block a user