Home > @uniformdev/mesh-sdk > SdkWindow

SdkWindow interface

Signature:

Properties

Property

Modifiers

Type

Description

disableAutoResizing

() => void

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

enableAutoResizing

() => void

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

height

number

The numerical height of the current window.

instance

Window

The current window object.

observer?

MutationObserver

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

updateHeight

(height: CSSHeight) => void

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