Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResizeMessage

A message class for 'resize' messages. The namespace for the ResizeMessage class statics.

Hierarchy

  • ResizeMessage

Index

Constructors

Properties

Constructors

constructor

  • new ResizeMessage(width: number, height: number): ResizeMessage
  • Construct a new resize message.

    Parameters

    • width: number

      The offset width of the widget, or -1 if the width is not known.

    • height: number

      The offset height of the widget, or -1 if the height is not known.

    Returns ResizeMessage

Properties

Readonly height

height: number

The offset height of the widget.

Notes

This will be -1 if the height is unknown.

Readonly width

width: number

The offset width of the widget.

Notes

This will be -1 if the width is unknown.

Static UnknownSize

UnknownSize: ResizeMessage

A singleton 'resize' message with an unknown size.