[ADF-3745] Updates for doc review (20-11-2018) (#3992)

This commit is contained in:
Andy Stark
2018-11-21 11:19:56 +00:00
committed by Eugenio Romano
parent 383b74151a
commit 0a394869f5
27 changed files with 119 additions and 88 deletions

View File

@@ -24,15 +24,34 @@ import { Component, Input, Output, EventEmitter, ViewEncapsulation, OnInit } fro
host: { class: 'adf-layout-header' }
})
export class HeaderLayoutComponent implements OnInit {
/** Title of the application. */
@Input() title: string;
/** Path to an image file for the application logo. */
@Input() logo: string;
/** The router link for the application logo, when clicked. */
@Input() redirectUrl: string | any[] = '/';
/** The tooltip text for the application logo. */
@Input() tooltip: string;
/**
* Background color for the header. It can be any hex color code or one
* of the Material theme colors: 'primary', 'accent' or 'warn'.
*/
@Input() color: string;
/**
* Toggles whether the sidenav button will be displayed in the header
* or not.
*/
@Input() showSidenavToggle: boolean = true;
/** Emitted when the sidenav button is clicked. */
@Output() clicked = new EventEmitter<any>();
/** The side that the drawer is attached to 'start' | 'end' page */
/** The side of the page that the drawer is attached to (can be 'start' or 'end') */
@Input() position = 'start';
toggleMenu() {