AboutSupportDeveloper GuideVersion 38.126.83.74
interface Size {
    duration: number;
    height: number;
    relative?: boolean;
    width: number;
}

Properties

duration: number

The total time in milliseconds this transition should take.

height: number

Optional if width is present. Defaults to the window's current height.

relative?: boolean

Default Value

false

Treats 'opacity' as absolute or as a delta. Defaults to false.
width: number

Optional if height is present. Defaults to the window's current width.