(exclude: any)
| 107 | } |
| 108 | |
| 109 | closeSiblings(exclude: any){ |
| 110 | const {accordion} = this.props; |
| 111 | if (!accordion) return; |
| 112 | if (!this.root.childNodes || !this.root.childNodes.length) return; |
| 113 | |
| 114 | this.root.childNodes.filter(e=> e !== exclude).forEach(e=>e.collapse()); |
| 115 | this.refresh(); |
| 116 | } |
| 117 | |
| 118 | render(): React.DOM { |
| 119 | const { |