From 4342d03b71db9302581cc10e71a384605b9146a0 Mon Sep 17 00:00:00 2001 From: Axel Peter <15101925+AxelPeter@users.noreply.github.com> Date: Fri, 18 May 2018 11:05:37 +0200 Subject: [PATCH] style(oui-navbar): add brand title (#183) --- packages/oui-navbar/README.md | 3 +++ packages/oui-navbar/src/navbar.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/oui-navbar/README.md b/packages/oui-navbar/README.md index 2b1023d7..da904c42 100644 --- a/packages/oui-navbar/README.md +++ b/packages/oui-navbar/README.md @@ -32,6 +32,7 @@ Note: All children menus have `.oui-navbar-menu_fixed`. The component is intende ### Properties of attribute `brand` - `label` _(optional)_: define `aria-label` of the brand link. +- `title`: _(optional)_: define the brand text. - `url`: define `href` of the brand link. #### Set a brand icon with a CSS class (for `oui-icon`) @@ -45,6 +46,7 @@ The brand icon will be set as a ``. ```json { "label": String, + "title": String, "url": String, "iconClass": String } @@ -63,6 +65,7 @@ The brand icon will be set as a ``. ```json { "label": String, + "title": String, "url": String, "iconAlt": String, "iconClass": String, diff --git a/packages/oui-navbar/src/navbar.html b/packages/oui-navbar/src/navbar.html index d9de97e9..aa3a5452 100644 --- a/packages/oui-navbar/src/navbar.html +++ b/packages/oui-navbar/src/navbar.html @@ -38,6 +38,9 @@ + +