Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Grove_MicroSwitch

Implements

Index

Constructors

constructor

Properties

isPressed

isPressed: boolean | null = null

keys

keys: string[]

onchange

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

params

params: any

requiredKeys

requiredKeys: string[]

Methods

isPressedWait

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

onChangeForStateWait

  • onChangeForStateWait(pressed: boolean): void
  • Parameters

    • pressed: boolean

    Returns void

stateWait

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

    • isPressed: boolean

    Returns Promise<void>

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc