故事
stories
文档中 Story 对象的集合。
Stories.length
Section titled “Stories.length”stories.length
集合中的元素数量。
数字;只读。
Stories.parent
Section titled “Stories.parent”stories.parent
对象的容器。
对象;只读。
Stories.typename
Section titled “Stories.typename”stories.typename
引用对象的类名。
字符串;只读。
Stories.index()
Section titled “Stories.index()”stories.index(itemKey)
从集合中获取一个元素。
参数 | 类型 | 描述 |
---|---|---|
itemKey | 字符串, 数字 | 字符串或数字键 |