Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Button

Hierarchy

  • Button

Implements

Index

Constructors

constructor

  • Returns Button

Properties

isPressed

isPressed: boolean | null = null

keys

keys: string[]

onChangeForStateWait

onChangeForStateWait: any

onchange

onchange: ((pressed: boolean) => void) | null = null

params

params: any

requiredKeys

requiredKeys: string[]

Methods

isPressedWait

  • isPressedWait(): Promise<boolean>
  • Returns Promise<boolean>

stateWait

  • stateWait(isPressed: boolean): Promise<unknown>
  • Parameters

    • isPressed: boolean

    Returns Promise<unknown>

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc