forked from mystiq/hydrogen-web
UI: add enterkeyhint end into the MessageComposer
This commit is contained in:
parent
5e9f728346
commit
31a9da09b2
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ export class MessageComposer extends TemplateView {
|
||||||
render(t, vm) {
|
render(t, vm) {
|
||||||
this._input = t.input({
|
this._input = t.input({
|
||||||
placeholder: vm.isEncrypted ? "Send an encrypted message…" : "Send a message…",
|
placeholder: vm.isEncrypted ? "Send an encrypted message…" : "Send a message…",
|
||||||
|
enterkeyhint: 'send',
|
||||||
onKeydown: e => this._onKeyDown(e),
|
onKeydown: e => this._onKeyDown(e),
|
||||||
onInput: () => vm.setInput(this._input.value),
|
onInput: () => vm.setInput(this._input.value),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue