Skip to content

Commit

Permalink
docs(ui5-page): document available shadow parts (#7361)
Browse files Browse the repository at this point in the history
This PR adds the shadow parts description for content to the Page component.
  • Loading branch information
Lukas742 authored Jul 21, 2023
1 parent ad4a338 commit eeb16d2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/fiori/src/Page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ import PageCss from "./generated/themes/Page.css.js";
* that there is enough space for the <code>ui5-page</code> to be rendered.
* <b>Note:</b> In order for the <code>ui5-page</code> to be displayed, the parent element should have fixed height.
*
* <h3>CSS Shadow Parts</h3>
*
* <ui5-link target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part">CSS Shadow Parts</ui5-link> allow developers to style elements inside the Shadow DOM.
* <br>
* The <code>ui5-page</code> exposes the following CSS Shadow Parts:
* <ul>
* <li>content - Used to style the content section of the component</li>
* </ul>
*
* <h3>ES6 Module Import</h3>
*
Expand Down

0 comments on commit eeb16d2

Please sign in to comment.