five-on-it / apps/client/src/ui/phone-view / PhoneButton
Interface: PhoneButton
Defined in: apps/client/src/ui/phone-view.ts:102
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:111
What it does.
id
id:
string
Defined in: apps/client/src/ui/phone-view.ts:104
The element's id (the end-to-end tests' contract).
text?
optionaltext?:string
Defined in: apps/client/src/ui/phone-view.ts:106
The server's text.
textArgs?
optionaltextArgs?:Record<string,string|number>
Defined in: apps/client/src/ui/phone-view.ts:109
textKey?
optionaltextKey?:string
Defined in: apps/client/src/ui/phone-view.ts:108
A key of the locale, when the client has the words, and what goes in them.