Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

feat(oui-page-header): create page-header component #204

Merged
merged 2 commits into from
Jun 15, 2018

Conversation

rfougier
Copy link
Contributor

@rfougier rfougier commented Jun 12, 2018

/#!/oui-angular/page-header @ ovh_ui_kit_documentation-feat_page_header_staging

Linked to
ovh/ovh-ui-kit#219
ovh-ux/ovh-ui-kit-documentation#119

@rfougier rfougier changed the title feat(oui-page-header): create component feat(oui-page-header): create page-header component Jun 12, 2018

| Attribute | Type | Binding | One-time Binding | Values | Default | Description |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| title | string | @? | true | | | title of the header |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about heading to avoid the attribute title behaviour.

| Attribute | Type | Binding | One-time Binding | Values | Default | Description |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| title | string | @? | true | | | title of the header |
| subtitle | string | @? | true | | | subtitle of the header |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be description ?

<h2 class="oui-page-header__subtitle"
ng-if="::!!$ctrl.subtitle">{{::$ctrl.subtitle}}</h2>
</div>
<div ng-if="$ctrl.transcludeGuide"
Copy link
Contributor

@AxelPeter AxelPeter Jun 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add a class on these DIVs ?

@whispyy whispyy force-pushed the feat/page-header branch from 9356464 to fb3d289 Compare June 13, 2018 18:12
@whispyy whispyy force-pushed the feat/page-header branch from fb3d289 to 3731db6 Compare June 13, 2018 18:14
@whispyy
Copy link
Contributor

whispyy commented Jun 13, 2018

all corrected following to the new decisions

Copy link
Contributor

@AxelPeter AxelPeter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@AxelPeter AxelPeter merged commit 5663a03 into develop Jun 15, 2018
@AxelPeter AxelPeter deleted the feat/page-header branch June 15, 2018 08:30
neolitec pushed a commit that referenced this pull request Jun 21, 2018
* feat(oui-page-header): create component

* feat(oui-page-header): add test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

3 participants