Home > @uniformdev/mesh-sdk > SdkWindow

SdkWindow interface

Signature:

Properties

PropertyModifiersTypeDescription
disableAutoResizing() => voidDisables auto-resizing of the window (iframe) based on the size of the content.
enableAutoResizing() => voidEnables auto-resizing of the window (iframe) based on the size of the content.
heightnumberThe numerical height of the current window.
instanceWindowThe current window object.
observer?MutationObserver(Optional) The MutationObserver object used to detect content height changes. Note: this property is only defined if <code>enableAutoResizing</code> is true.
updateHeight(height: CSSHeight) => void<code>height</code> argument can be specific lengths, e.g. 100vh, 300px, etc... as well as other standard CSS height options