Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BlankSpaceComponent

The Blank Space Component is simply an empty component that doesn't show anything other than a background. It mostly serves as padding between other components.

Hierarchy

Index

Constructors

constructor

Properties

ptr

ptr: number

Methods

dispose

  • dispose(): void
  • Disposes the object, allowing it to clean up all of its memory. You need to call this for every object that you don't use anymore and hasn't already been disposed.

    Returns void

intoGeneric

  • Converts the component into a generic component suitable for using with a layout.

    Returns Component

state

stateAsJson

  • stateAsJson(): any

with

  • Allows for scoped usage of the object. The object is guaranteed to get disposed once this function returns. You are free to dispose the object early yourself anywhere within the scope. The scope's return value gets carried to the outside of this function.

    Type parameters

    • T

    Parameters

    Returns T

Static new

  • Creates a new Blank Space Component.

    Returns BlankSpaceComponent

Generated using TypeDoc