mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3358][ADF-3359][ADF-3360] Logo link and tooltip and hex colors (#3648)
* [ADF-3358] link on logo * [ADF-3358] test link on logo * [ADF-3360] tooltip on logo * [ADF-3360] update logo docs * [ADF-3359] allow hex color codes for the background color * [ADF-3358] better name for property
This commit is contained in:
committed by
Eugenio Romano
parent
70605c8982
commit
8d8ab1e682
@@ -5,7 +5,7 @@ Status: Experimental
|
||||
|
||||
## Header component
|
||||
|
||||
Reuseble header for Alfresco applications
|
||||
Reusable header for Alfresco applications
|
||||
|
||||
## Basic usage
|
||||
|
||||
@@ -13,6 +13,7 @@ Reuseble header for Alfresco applications
|
||||
<adf-layout-header
|
||||
title="title"
|
||||
logo="logo.png"
|
||||
[redirectUrl]="'/home'"
|
||||
color="primary"
|
||||
(toggled)=toggleMenu($event)>
|
||||
|
||||
@@ -27,8 +28,10 @@ Reuseble header for Alfresco applications
|
||||
| Name | Type | Description |
|
||||
| -- | -- | -- |
|
||||
| title | string | Title of the application
|
||||
| logo | string| Path to an image file for the application logo.
|
||||
| color | string | Primary color for the header
|
||||
| logo | string | Path to an image file for the application logo.
|
||||
| redirectUrl | string\|any[] | The router link for the application logo.
|
||||
| tooltip | string | The tooltip text for the application logo.
|
||||
| color | string | Background color for the header. It can be any hex color code or the Material theme colors: 'primary', 'accent' or 'warn'.
|
||||
| showSidenavToggle | boolean | Signals if the sidenav button will be displayed in the header or not. By default is true.
|
||||
|
||||
### Events
|
||||
|
Reference in New Issue
Block a user