chore(slides): refactor

* chore(): refactor

* chore(): make slide options dynamic
This commit is contained in:
Mike Hartington
2018-01-05 09:09:20 -08:00
committed by GitHub
parent cc9df62b0b
commit c7f75ead92
8 changed files with 415 additions and 317 deletions

View File

@ -40,6 +40,9 @@ import {
import {
SelectPopoverOption,
} from './components/select-popover/select-popover';
import {
SwiperOptions,
} from './components/slides/vendor/swiper';
import {
ActionSheetController as IonActionSheetController
@ -2626,20 +2629,8 @@ declare global {
}
namespace JSXElements {
export interface IonSlidesAttributes extends HTMLAttributes {
autoplay?: number;
control?: any;
direction?: 'horizontal' | 'vertical';
effect?: string;
initialSlide?: number;
keyboardControl?: boolean;
loop?: boolean;
options?: SwiperOptions;
pager?: boolean;
paginationType?: string;
parallax?: boolean;
slidesPerView?: number | 'auto';
spaceBetween?: number;
speed?: number;
zoom?: boolean;
}
}
}