Skip to content

Commit 381cc8f

Browse files
committed
feat(ui5-dynamic-page-title): refactor snapped title documentation
1 parent 8a99605 commit 381cc8f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

packages/fiori/src/DynamicPageTitle.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,9 @@ class DynamicPageTitle extends UI5Element {
142142
* It should be used to provide a simplified, single-line title that takes up less space on smaller screens.
143143
*
144144
* **Note:**
145-
* - The content set in this slot overrides all other content set in the `DynamicPageTitle` slots when displayed.
145+
* - The content set in this slot **overrides** all other content set in the `DynamicPageTitle` slots when displayed.
146146
* - The slot is intended for a single `ui5-title` component.
147147
*
148-
* **Usage Example:**
149-
* ```html
150-
* <ui5-dynamic-page-title>
151-
* <!-- Other slots like heading, subheading, etc. -->
152-
* <ui5-title slot="snappedTitleOnMobile" size="H4" wrapping-type="None">My Snapped Mobile Title</ui5-title>
153-
* </ui5-dynamic-page-title>
154-
* ```
155-
*
156148
* @public
157149
* @since 2.3.0
158150
*/

0 commit comments

Comments
 (0)