[ACA-3614] Add a way to not show info drawer header (#5848)

This commit is contained in:
arditdomi
2020-07-09 10:51:16 +01:00
committed by GitHub
parent d7dc6d7230
commit 05a478e317
7 changed files with 70 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { Component, Directive, ViewEncapsulation } from '@angular/core';
import { Component, Directive, Input, ViewEncapsulation } from '@angular/core';
@Component({
selector: 'adf-info-drawer-layout',
@@ -24,7 +24,11 @@ import { Component, Directive, ViewEncapsulation } from '@angular/core';
encapsulation: ViewEncapsulation.None,
host: { 'class': 'adf-info-drawer-layout' }
})
export class InfoDrawerLayoutComponent {}
export class InfoDrawerLayoutComponent {
/** The visibility of the header. */
@Input()
showHeader: boolean = true;
}
/**
* Directive selectors without adf- prefix will be deprecated on 3.0.0