Triggered when either width or height changes.
Triggered when both width and height change.
Triggered when the viewport height changes (ignores width).
Triggered only when the height changes (width remains the same).
Triggered only when the width changes (height remains the same).
Triggered on any resize event, including width, height, or body size changes.
Triggered when the viewport width changes (ignores height).
Maps event names to their callback payload types.
Extend this interface to map event names to payload types. Use
undefinedfor events without a payload.