cheatgui
    Preparing search index...

    Class BoxWidget

    Just a container where you can put child elements. They will not differ in any way from the ones outside. Can be used as a column in a row.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    listeners: { [key: string]: EventCallback[] }
    ref: HTMLElement
    view: View

    Methods

    • Parameters

      • event: string
      • callback: EventCallback

      Returns void

    • Parameters

      • event: string
      • callback: EventCallback

      Returns void

    • Add a click event listener to the widget.

      Parameters

      • f: () => void

        The function to call when the widget is clicked.

      Returns this

    • Set the text of the widget.

      Parameters

      • value: string

        The value to set the text to.

      Returns this