Guest User

Untitled

a guest
Jan 16th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. @Component({
  2. selector: 'num-input',
  3. template:
  4. `
  5. <ion-input [value]="value" type="tel" autofocus
  6. [class]="inputClass"
  7. [disabled]="disabled"
  8. (change)="onChange($event)"
  9. (focus)="onFocus($event)"
  10. (keyup)="onChange($event)"
  11. (keyup.enter)="closeKeyboard()"
  12. (ionChange)="ionChangeWrapper()"></ion-input>
  13. `,
  14. providers: [
  15. {
  16. provide: NG_VALUE_ACCESSOR,
  17. multi: true,
  18. useExisting: forwardRef(() => NumInputComponent),
  19. }]
  20. })
  21.  
  22. <num-input formControlName="time_on_as_time" (ionChange)="parentScopeIonChangeHandler()" (focus)="parentScopeFocusHandler"</num-input>
Add Comment
Please, Sign In to add comment