UNPKG

ng-voice-inputs

Version:

This library provides Voice Recognition service to fill the form input fields (text, datepicker, textarea, button-click) for Angular application.

43 lines (42 loc) 1.44 kB
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core'; import { VuiVoiceRecognitionService } from './ng-voice-inputs.service'; export declare class NgVoiceInputsComponent implements OnInit { private vuiService; private ref; recognition: any; transcript: string; selectedDate: Date; process: any; style: any; scrollOffset: any; scrollDuration: any; onValueChange: EventEmitter<any>; /** * Decides direction of scroll movement ( Up or Down ) or ( Left or Right) * +ve value indicates Down/Right and -ve value idicates Up/Left */ activeDirection: number; /** * Decides direction of Scroll ( Vertical or Horizontal ) */ scrollDirection: string; constructor(vuiService: VuiVoiceRecognitionService, ref: ChangeDetectorRef); ngOnInit(): void; scrollToTop: (duration: any) => void; scrollBy: (offset: any, duration: any, direction?: any) => void; scroll: { SCROLLDOWN: () => void; SCROLLUP: () => void; SCROLLRIGHT: () => void; SCROLLLEFT: () => void; SCROLLBOTTOM: () => void; SCROLLTOP: () => void; SCROLLCONTINUE: () => void; }; vuiResponseSubscription(data: any): void; setProcess(processType: any): void; formatDate(date: Date, format?: string): string; initVoiceRecognition(): void; startRecognition(): void; stopRecognition(): void; }