mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
docs(slides): fix variable name in animation examples (#19584)
This commit is contained in:
@ -23,7 +23,7 @@ By default, Ionic slides use the built-in `slide` animation effect. Custom anima
|
|||||||
#### Coverflow
|
#### Coverflow
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
const slidesOpts = {
|
const slideOpts = {
|
||||||
slidesPerView: 3,
|
slidesPerView: 3,
|
||||||
coverflowEffect: {
|
coverflowEffect: {
|
||||||
rotate: 50,
|
rotate: 50,
|
||||||
@ -116,7 +116,7 @@ const slidesOpts = {
|
|||||||
#### Cube
|
#### Cube
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
const slidesOpts = {
|
const slideOpts = {
|
||||||
grabCursor: true,
|
grabCursor: true,
|
||||||
cubeEffect: {
|
cubeEffect: {
|
||||||
shadow: true,
|
shadow: true,
|
||||||
@ -276,7 +276,7 @@ const slidesOpts = {
|
|||||||
#### Fade
|
#### Fade
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
const slidesOpts = {
|
const slideOpts = {
|
||||||
on: {
|
on: {
|
||||||
beforeInit() {
|
beforeInit() {
|
||||||
const swiper = this;
|
const swiper = this;
|
||||||
|
Reference in New Issue
Block a user