You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -90,13 +90,13 @@ import { AppComponent } from './app.component';
90
90
exportclassAppModule {}
91
91
```
92
92
93
-
3. Use Origami in your template:
93
+
#### 3. Use Origami in your template:
94
94
95
95
```html
96
96
<ui5-input[(ngModel)]="value"origami></ui5-input>
97
97
```
98
98
99
-
4. Make Angular boot after UI5 Web Components are defined:
99
+
#### 4. Make Angular boot after UI5 Web Components are defined:
100
100
101
101
In the module, where you are using UI5 Web Components, you should add the ```APP_INITIALIZER``` provider. In order to do so, import ```APP_INITIALIZER``` and add it to the providers array like this (In this example we will add it in the ```app.module.ts```):
102
102
```js
@@ -135,7 +135,7 @@ If you need your application to run on Internet Explorer 11, there are some addi
135
135
136
136
*Note* These steps have been tested with Angular 7. For other versions of Angular, there might be some differences.
* <b>Note:</b> Available options are "Header", "Subheader", "Footer", "FloatingFooter".
20
+
* <b>Note:</b>
21
+
* Available options are:
22
+
* <ul>
23
+
* <li><code>Header</code></li>
24
+
* <li><code>Subheader</code></li>
25
+
* <li><code>Footer</code></li>
26
+
* <li><code>FloatingFooter</code></li>
27
+
* </ul>
20
28
*
21
29
* @type {BarDesign}
22
30
* @defaultvalue "Header"
@@ -65,17 +73,23 @@ const metadata = {
65
73
* @class
66
74
*
67
75
* <h3 class="comment-api-title">Overview</h3>
68
-
* The Bar component consists of three areas to hold its content. It has the capability to center content, such as a title, while having other components on the left and right side.
76
+
* The Bar is a container which is primarily used to hold titles, buttons and input elements
77
+
* and its design and functionality is the basis for page headers and footers.
78
+
* The component consists of three areas to hold its content - startContent, middleContent and endContent.
79
+
* It has the capability to center content, such as a title, while having other components on the left and right side.
69
80
*
70
81
* <h3>Usage</h3>
71
82
* With the use of the design property, you can set the style of the Bar to appear designed like a Header, Subheader, Footer and FloatingFooter.
83
+
* <br>
84
+
* <b>Note:</b> Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
72
85
*
73
-
* Note: Do not place a Bar inside another Bar or inside any bar-like component. Doing so causes unpredictable behavior.
86
+
* <h3>Responsive Behavior</h3>
87
+
* The middleContent will be centered in the available space between the startContent and the endContent areas,
88
+
* therefore it might not always be centered in the entire bar.
Copy file name to clipboardExpand all lines: packages/fiori/src/Page.js
+6-2
Original file line number
Diff line number
Diff line change
@@ -130,10 +130,9 @@ const metadata = {
130
130
* The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.
131
131
* This is enabled with the <code>floatingFooter</code> property.
0 commit comments