mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
feat: speek orders page comanda
This commit is contained in:
Binary file not shown.
@@ -61,6 +61,8 @@ function notificacao(){
|
|||||||
// navigator.vibrate(200);
|
// navigator.vibrate(200);
|
||||||
// navigator.vibrate([200, 100, 200]);
|
// navigator.vibrate([200, 100, 200]);
|
||||||
mostrarNotificacao(data['titulo'], data['corpo'],'Garçom')
|
mostrarNotificacao(data['titulo'], data['corpo'],'Garçom')
|
||||||
|
texto = new SpeechSynthesisUtterance(data['corpo']+', para '+data['titulo']);
|
||||||
|
window.speechSynthesis.speak(texto);
|
||||||
console.log(data['notificacao'])
|
console.log(data['notificacao'])
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user