fix(input): change next input imports

This commit is contained in:
Adam Bradley
2016-01-26 14:34:59 -06:00
parent aea2217d73
commit 70a9eb3e38
3 changed files with 26 additions and 25 deletions

View File

@ -142,3 +142,21 @@ function removeClone(focusedInputEle, queryCssClass) {
clonedInputEle.parentNode.removeChild(clonedInputEle);
}
}
/**
* @private
*/
@Directive({
selector: '[next-input]'
})
export class NextInput {
@Output() focused: EventEmitter<boolean> = new EventEmitter();
@HostListener('focus')
receivedFocus() {
this.focused.emit(true);
}
}