Skip to content

Function: useText()

useText(device, name, element): string | undefined

Subscribe to one text value. See useNumber.

Parameters

device

string

The device name.

name

string

The property name.

element

string

The element name.

Returns

string | undefined

The value, or undefined when absent or of another kind.