libs/upp-base/src/modules/kiosk.ts
This directive controls the interaction between an input element and a virtual keyboard. When the input element gains focus, the directive triggers the virtual keyboard to display, and when the input loses focus, it hides the keyboard. The keyboard type is determined by a data attribute on the element.
| Selector | [uppNgkiosk] |
Methods |
HostListeners |
constructor(el: ElementRef, kiosk: kioskService)
|
||||||||||||
|
Constructs the UiKioskInput directive.
Parameters :
|
| blur |
|
Listens for the |
| onBlur |
onBlur()
|
Decorators :
@HostListener('blur')
|
|
Listens for the
Returns :
void
|
| onFocus | ||||||||
onFocus(input: HTMLInputElement)
|
||||||||
Decorators :
@HostListener('focus', ['$event.target'])
|
||||||||
|
Listens for the
Parameters :
Returns :
void
|