Global

Methods

WJsonviewTree(jsonObj, rootElem, optionopt)

Description:
  • 前端通過元素展示Json樹狀資料,因 [Fork: json-view] 沒有加入預先展開數據功能,自己下載來修改

Source:
Parameters:
Name Type Attributes Default Description
jsonObj Object

輸入Json物件

rootElem Element

輸入初始化元素

option Object <optional>
{}

輸入設定物件,預設為空物件

Properties
Name Type Attributes Default Description
expanded Boolean <optional>
false

輸入是否預先展開,預設為false