Home > @uniformdev/mesh-sdk > SdkWindow

SdkWindow interface

Signature:

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

disableAutoResizing

</td><td>

</td><td>

() => void

</td><td>

Disables auto-resizing of the window (iframe) based on the size of the content.

</td></tr> <tr><td>

enableAutoResizing

</td><td>

</td><td>

() => void

</td><td>

Enables auto-resizing of the window (iframe) based on the size of the content.

</td></tr> <tr><td>

height

</td><td>

</td><td>

number

</td><td>

The numerical height of the current window.

</td></tr> <tr><td>

instance

</td><td>

</td><td>

Window

</td><td>

The current window object.

</td></tr> <tr><td>

observer?

</td><td>

</td><td>

MutationObserver

</td><td>

(Optional) The MutationObserver object used to detect content height changes. Note: this property is only defined if enableAutoResizing is true.

</td></tr> <tr><td>

updateHeight

</td><td>

</td><td>

(height: CSSHeight) => void

</td><td>

height argument can be specific lengths, e.g. 100vh, 300px, etc... as well as other standard CSS height options

</td></tr> </tbody></table>