five-on-it / apps/client/src/ui/phone-view / PhoneButton
Interface: PhoneButton
Defined in: apps/client/src/ui/phone-view.ts:67
A button of the panel: its DOM id, what it says (the server's text, or a word of the locale), what it does.
Properties
act
act:
PhoneAct
Defined in: apps/client/src/ui/phone-view.ts:76
What it does.
id
id:
string
Defined in: apps/client/src/ui/phone-view.ts:69
The element's id (the end-to-end tests' contract).
text?
optionaltext?:string
Defined in: apps/client/src/ui/phone-view.ts:71
The server's text.
textArgs?
optionaltextArgs?:Record<string,string|number>
Defined in: apps/client/src/ui/phone-view.ts:74
textKey?
optionaltextKey?:string
Defined in: apps/client/src/ui/phone-view.ts:73
A key of the locale, when the client has the words, and what goes in them.