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

height

height: number

The offset height of the widget.

Notes

This will be -1 if the height is unknown.

width

width: number

The offset width of the widget.

Notes

This will be -1 if the width is unknown.

Static UnknownSize

UnknownSize: ResizeMessage = new ResizeMessage(-1, -1)

A singleton 'resize' message with an unknown size.

Generated using TypeDoc