Skip to content

Commit

Permalink
fix(slides): add back zoom plugin for swiper
Browse files Browse the repository at this point in the history
Closes #15676
  • Loading branch information
mhartington committed Sep 19, 2018
1 parent 92b2011 commit 6890ecc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4019,7 +4019,7 @@ export namespace Components {
* The text to display on the ok button. Default: `OK`.
*/
'okText': string;
'open': (ev?: UIEvent | undefined) => Promise<HTMLIonPopoverElement | HTMLIonActionSheetElement | HTMLIonAlertElement>;
'open': (ev?: UIEvent | undefined) => Promise<HTMLIonActionSheetElement | HTMLIonAlertElement | HTMLIonPopoverElement>;
/**
* The text to display when the select is empty.
*/
Expand Down
11 changes: 11 additions & 0 deletions core/src/components/datetime/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,17 @@ dates in JavaScript.
| `open` | |


## CSS Custom Properties

| Name | Description |
| --------------------- | --------------------------------- |
| `--padding-bottom` | Padding bottom of the datetime |
| `--padding-end` | Padding end of the datetime |
| `--padding-start` | Padding start of the datetime |
| `--padding-top` | Padding top of the datetime |
| `--placeholder-color` | Color of the datetime placeholder |


----------------------------------------------

*Built with [StencilJS](https://stenciljs.com/)*
4 changes: 2 additions & 2 deletions core/src/components/slides/swiper/swiper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Autoplay, Pagination, Scrollbar, Swiper } from 'swiper/dist/js/swiper.esm';
import { Autoplay, Pagination, Scrollbar, Swiper, Zoom } from 'swiper/dist/js/swiper.esm';

Swiper.use([Pagination, Scrollbar, Autoplay]);
Swiper.use([Pagination, Scrollbar, Autoplay, Zoom]);
export { Swiper };

0 comments on commit 6890ecc

Please sign in to comment.