@neocomplexx/ngx-neo-directives
Version:
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.5.
25 lines (24 loc) • 700 B
TypeScript
import { ElementRef } from '@angular/core';
export declare class NeoCompositeInputDirective {
private el;
previousInput: any;
nextInput: any;
constructor(el: ElementRef);
onKeyDown(e: KeyboardEvent): boolean;
/**
*
* Method called on keyup to check if the pressed key is allow, if it is not it stops the event.
* If the element reached its maximum length on key pressed it must jump to the next input
* @param e
*/
onKeyUp(e: KeyboardEvent): void;
/**
* On focus we select the entire value of the input
*/
onFocus(): void;
/**
* Method to check if the element is selected
*
*/
private elementIsSelected;
}