Browse Source

docs(api): api

sheet config index and order description
master
lrz 5 years ago
parent
commit
af7b9397f1
  1. 8
      docs/guide/sheet.md
  2. 12
      docs/zh/guide/sheet.md

8
docs/guide/sheet.md

@ -78,9 +78,9 @@ eg: options.data:
------------
### index
- type:Number
- default:0
- usage:Worksheet index, starting from 0
- type:String
- default:""
- usage:The worksheet index is used as a unique key value, and a random string is automatically assigned when a worksheet is added. Note that `index` is not the order of worksheets, and is distinguished from `order`.
------------
### status
@ -92,7 +92,7 @@ eg: options.data:
### order
- type:Number
- default:0
- usage: The index of the worksheets is starting from 0. it will increase when a worksheet is added.
- usage:The subscript of the worksheet represents the order in which the worksheet is displayed in the sheet bar at the bottom. It will increase when a worksheet is added, starting from 0
------------
### hide

12
docs/zh/guide/sheet.md

@ -13,7 +13,7 @@ options.data示例如下:
"color": "", //工作表颜色
"index": 0, //工作表索引
"status": 1, //激活状态
"order": 0, //工作表的顺序
"order": 0, //工作表的下标
"hide": 0,//是否隐藏
"row": 36, //行数
"column": 18, //列数
@ -79,9 +79,9 @@ options.data示例如下:
------------
### index
- 类型:Number
- 默认值:0
- 作用:工作表索引,从0开始
- 类型:String
- 默认值:""
- 作用:工作表索引,作为唯一key值使用,新增工作表时会自动赋值一个随机字符串。注意`index`不是工作表顺序,和`order`区分开。
------------
### status
@ -93,7 +93,7 @@ options.data示例如下:
### order
- 类型:Number
- 默认值:0
- 作用: 工作表的索引,新增工作表时会递增,从0开始
- 作用: 工作表的下标,代表工作表在底部sheet栏展示的顺序,新增工作表时会递增,从0开始
------------
### hide
@ -1277,7 +1277,7 @@ Luckysheet在初始化完成之后进行的一系列操作,会将更多本地
"color": "", //工作表颜色
"index": 0, //工作表索引
"status": 1, //激活状态
"order": 0, //工作表的顺序
"order": 0, //工作表的下标
"hide": 0,//是否隐藏
"row": 36, //行数
"column": 18, //列数

Loading…
Cancel
Save