[ADF-2103] Info Drawer - Provide a way to select a different tab (#2788)

* Provide a way to select a different tab

* Fix the default value

* Override the value through the html
This commit is contained in:
Maurizio Vitale
2017-12-18 12:11:23 +00:00
committed by Eugenio Romano
parent 7653e5784d
commit 14c81ca978
4 changed files with 32 additions and 4 deletions

View File

@@ -37,6 +37,9 @@ export class InfoDrawerComponent {
@Input()
title: string|null = null;
@Input()
selectedIndex: number = 0;
@Output()
currentTab: EventEmitter<number> = new EventEmitter<number>();