Home > @i2analyze/notebook-sdk > dialog > IDialogDimensions
dialog.IDialogDimensions interface
Explicit dimensions for a dialog window, as CSS length strings.
Signature:
interface IDialogDimensions
Introduced: version 1.10
Remarks
Both axes are required. Each axis is independent and is clamped to the 'large' size (approximately the size of the viewport): a larger value is reduced to it. To size the dialog's height to fit its content, use dialog.IDialogAutoHeightSize instead.
Each value must be an unsigned number followed by one of the units px, rem, em, vh, vw, or % (for example, '600px', '40rem', or '75%').
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| height |
readonly
| string |
Gets the height of the dialog. Clamped to the 'large' size.
|
| width |
readonly
| string |
Gets the width of the dialog. Clamped to the 'large' size.
|