Event that fires when resize occurs.

interface ResizeEvent {
    height: number;
    type: "resize";
    width: number;
}

Properties

Properties

height: number

New height.

type: "resize"

Event type.

width: number

New width.