Separate viewport and containerDimensions
This commit is contained in:
parent
c22e86233b
commit
82e64d56bb
1 changed files with 320 additions and 110 deletions
|
|
@ -1008,7 +1008,8 @@ export class AppBridge extends Protocol<
|
|||
* ```typescript
|
||||
* bridge.setHostContext({
|
||||
* theme: "dark",
|
||||
* viewport: { width: 800, maxHeight: 600 }
|
||||
* viewport: { width: 800, height: 600 },
|
||||
* containerDimensions: { maxHeight: 600, width: 800 }
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue