Skip to content

Commit

Permalink
fix: integrity
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioCastigliano committed Jan 4, 2024
1 parent 6f5d235 commit e85525e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/container/container/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Since the element's order in the DOM is also used to determine the keyboard navi

## Properties

| Name | Attribute | Privacy | Type | Default | Description |
| ---------- | ---------- | ------- | -------------------------------------------------- | --------------- | ------------------------------------------------------ |
| `expanded` | `expanded` | public | `boolean` | `false` | Whether the container is expanded. |
| `variant` | `variant` | public | `'transparent' \| 'white' \| 'milk' \| 'midnight'` | `'transparent'` | Variant of the container, like transparent, white etc. |
| Name | Attribute | Privacy | Type | Default | Description |
| ---------- | ---------- | ------- | -------------------------------------------------- | --------------- | ---------------------------------------------------- |
| `expanded` | `expanded` | public | `boolean` | `false` | Whether the container is expanded. |
| `color` | `color` | public | `'transparent' \| 'white' \| 'milk' \| 'midnight'` | `'transparent'` | Color of the container, like transparent, white etc. |

## Slots

Expand Down
5 changes: 5 additions & 0 deletions src/components/container/sticky-bar/sticky-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export class SbbStickyBarElement extends LitElement {
});
}

/**
* @internal
* Method used to override the updateComplete getter
* in order to wait for the outer sbb-container
*/
public override async getUpdateComplete(): Promise<boolean> {
await super.getUpdateComplete();
await this.closest('sbb-container')?.updateComplete;
Expand Down

0 comments on commit e85525e

Please sign in to comment.