@acorex/charts 20.0.1 → 20.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -213,9 +213,11 @@ interface AXHierarchyChartOption {
|
|
|
213
213
|
* ```html
|
|
214
214
|
* <ng-template #nodeTemplate let-node>
|
|
215
215
|
* <div>{{ node.name }}</div>
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
216
|
+
* @if (node.children?.length) {
|
|
217
|
+
* <button (click)="node.toggleExpanded()">
|
|
218
|
+
* {{ node.expanded ? 'Collapse' : 'Expand' }}
|
|
219
|
+
* </button>
|
|
220
|
+
* }
|
|
219
221
|
* </ng-template>
|
|
220
222
|
* ```
|
|
221
223
|
*/
|