add ability to dynamically update tabs (#9911)

* add dashboard and tabbedPanel samples

* add updateTabs to tabbedPanel component

* add updateTabs to tabbedPanel component
This commit is contained in:
Alan Ren
2020-04-09 12:02:00 -07:00
committed by GitHub
parent 82f21faf79
commit 23f1a08aa0
6 changed files with 117 additions and 50 deletions

View File

@@ -352,6 +352,7 @@ export abstract class ContainerBase<T> extends ComponentBase {
public clearContainer(): void {
this.items = [];
this.onItemsUpdated();
this._changeRef.detectChanges();
}