Commit 4cda1aee4883f402aa1dc2f794aa353f56129ba4
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !8
Showing
2 changed files
 
Show diff stats
src/js/service.js
| ... | ... | @@ -2,6 +2,7 @@ angular.module('focaBotoneraLateral') | 
| 2 | 2 | .service('focaBotoneraLateralService', function() { | 
| 3 | 3 | |
| 4 | 4 | this.botones = { | 
| 5 | + teclado: true, | |
| 5 | 6 | salir: false, | 
| 6 | 7 | cancelar: false, | 
| 7 | 8 | pausar: false, | 
| ... | ... | @@ -12,6 +13,9 @@ angular.module('focaBotoneraLateral') | 
| 12 | 13 | custom: [] | 
| 13 | 14 | }; | 
| 14 | 15 | |
| 16 | + this.showTeclado = function(value) { | |
| 17 | + this.botones.teclado = value; | |
| 18 | + }; | |
| 15 | 19 | this.showSalir = function(value) { | 
| 16 | 20 | this.botones.custom = []; | 
| 17 | 21 | this.botones.salir = value; | 
src/views/botonera-lateral.html
| ... | ... | @@ -61,7 +61,7 @@ | 
| 61 | 61 | </div> | 
| 62 | 62 | </div> | 
| 63 | 63 | </div> | 
| 64 | -<div class="container botonera-lateral teclado"> | |
| 64 | +<div class="container botonera-lateral teclado" ng-show="botones.teclado"> | |
| 65 | 65 | <div class="row"> | 
| 66 | 66 | <div class="col-auto my-2 col-2 offset-10 d-none d-md-flex" style="min-height: 176px"> | 
| 67 | 67 | <div class="px-2 mt-auto"> |