One touch stops; hold 2 s to stop all; lying down it becomes wake and stand up. UI only: sending and the Bluetooth fallback live in the app.
API reference
Generated from the types. Every part also takes className.
StopButton
- state
StopButtonState = "ready"- tag
stringName tag on the right when there is more than one dog, e.g. "7F3A".- onStoprequired
() => voidCalled on pointer down. Send the stop immediately; do not wait for an animation.- onStopAll
() => voidCalled after holding forholdAllMs. Omit to disable stop-all (single dog).- holdAllMs
number = 2000- labels
Partial<StopButtonLabels>
WakeButton
- onWakerequired
() => void- disabled
boolean- label
string = "Wake and stand up"- reason
string = "Battery low. Charge to 25% to stand up"Shown under the label while disabled.