From d94c8f6f3b7c3fcd8aa9cc1b5f3b399cddf89e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=95?= Date: Thu, 6 Apr 2017 18:43:43 +0800 Subject: [PATCH] Carousel: fix a docs error (#4032) --- examples/docs/en-US/carousel.md | 2 +- examples/docs/zh-CN/carousel.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/docs/en-US/carousel.md b/examples/docs/en-US/carousel.md index 046413d28..2946a27c7 100644 --- a/examples/docs/en-US/carousel.md +++ b/examples/docs/en-US/carousel.md @@ -162,7 +162,7 @@ When a page is wide enough but has limited height, you can activate card mode fo ### Carousel Attributes | Attribute | Description | Type | Accepted Values | Default | |---------- |-------------- |---------- |-------------------------------- |-------- | -| height | height of the carousel | number | — | 300 | +| height | height of the carousel | string | — | — | | initial-index | index of the initially active slide (starting from 0) | number | — | 0 | | trigger | how indicators are triggered | string | hover/click | hover | | autoplay | whether automatically loop the slides | boolean | — | true | diff --git a/examples/docs/zh-CN/carousel.md b/examples/docs/zh-CN/carousel.md index cbf8f22b1..3524f7043 100644 --- a/examples/docs/zh-CN/carousel.md +++ b/examples/docs/zh-CN/carousel.md @@ -211,7 +211,7 @@ ### Carousel Attributes | 参数 | 说明 | 类型 | 可选值 | 默认值 | |---------- |-------------- |---------- |-------------------------------- |-------- | -| height | 走马灯的高度 | number | — | 300 | +| height | 走马灯的高度 | string | — | — | | initial-index | 初始状态激活的幻灯片的索引,从 0 开始 | number | — | 0 | | trigger | 指示器的触发方式 | string | click | — | | autoplay | 是否自动切换 | boolean | — | true |