[ADF-3763] fixed subscription for node child and invalid node id (#3991)

* [ADF-3763] fixed subscription for node child and invalid node id

* [ADF-3763] removed fdescribe

* [ADF-3763] added line for updating documentation
This commit is contained in:
Vito
2018-11-21 16:50:11 +00:00
committed by Eugenio Romano
parent 49c69c58f0
commit a5bf0d27e4
7 changed files with 112 additions and 29 deletions

View File

@@ -25,10 +25,21 @@ import { Component } from '@angular/core';
export class TreeViewSampleComponent {
clickedNodeName: string = '';
errorMessage = '';
nodeIdSample: string = '-my-';
onClick(node) {
this.clickedNodeName = node.entry.name;
}
reset() {
this.clickedNodeName = '';
this.errorMessage = '';
}
onErrorOccurred(error) {
this.clickedNodeName = '';
this.errorMessage = error;
}
}