MCPcopy Create free account
hub / github.com/ElemeFE/element-react / collapse

Method collapse

src/tree/model/node.js:241–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 }
240
241 collapse() {
242 this.expanded = false;
243 }
244
245 shouldLoadData() {
246 return this.store.lazy === true && this.store.load && !this.loaded;

Callers 3

handleExpandIconClickMethod · 0.80
closeSiblingsMethod · 0.80
closeSiblingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected