Skip to content

Commit 3aef9ea

Browse files
authored
Merge pull request #148 from element-hq/langleyd/hideWidgets
EW module APi: add hideWidgets props to RoomViewProps
2 parents c08ad76 + eee4587 commit 3aef9ea

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/element-web-module-api/element-web-module-api.api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ export interface RoomViewProps {
361361
hideHeader?: boolean;
362362
hidePinnedMessageBanner?: boolean;
363363
hideRightPanel?: boolean;
364+
hideWidgets?: boolean;
364365
}
365366

366367
// @alpha @deprecated (undocumented)

packages/element-web-module-api/src/api/builtins.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ export interface RoomViewProps {
2626
* If true, the pinned message banner will be hidden.
2727
*/
2828
hidePinnedMessageBanner?: boolean;
29+
/**
30+
* If true, the widgets will be hidden.
31+
*/
32+
hideWidgets?: boolean;
2933
}
3034

3135
/**

0 commit comments

Comments
 (0)