@danielmoncada/angular-datetime-picker
Version:
Angular Date Time Picker
47 lines (46 loc) • 2.21 kB
TypeScript
/**
* timer-box.component
*/
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
import * as i0 from "@angular/core";
export declare class OwlTimerBoxComponent implements OnInit, OnDestroy {
showDivider: boolean;
upBtnAriaLabel: string;
upBtnDisabled: boolean;
downBtnAriaLabel: string;
downBtnDisabled: boolean;
/**
* Value would be displayed in the box
* If it is null, the box would display [value]
* */
boxValue: number;
value: number;
min: number;
max: number;
step: number;
inputLabel: string;
valueChange: EventEmitter<number>;
inputChange: EventEmitter<number>;
private inputStream;
private inputStreamSub;
private hasFocus;
get displayValue(): string;
get owlDTTimerBoxClass(): boolean;
private valueInput;
private onValueInputMouseWheelBind;
constructor();
ngOnInit(): void;
ngOnDestroy(): void;
upBtnClicked(): void;
downBtnClicked(): void;
handleInputChange(val: string): void;
focusIn(): void;
focusOut(value: string): void;
private updateValue;
private updateValueViaInput;
private onValueInputMouseWheel;
private bindValueInputMouseWheel;
private unbindValueInputMouseWheel;
static ɵfac: i0.ɵɵFactoryDeclaration<OwlTimerBoxComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<OwlTimerBoxComponent, "owl-date-time-timer-box", ["owlDateTimeTimerBox"], { "showDivider": { "alias": "showDivider"; "required": false; }; "upBtnAriaLabel": { "alias": "upBtnAriaLabel"; "required": false; }; "upBtnDisabled": { "alias": "upBtnDisabled"; "required": false; }; "downBtnAriaLabel": { "alias": "downBtnAriaLabel"; "required": false; }; "downBtnDisabled": { "alias": "downBtnDisabled"; "required": false; }; "boxValue": { "alias": "boxValue"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "inputLabel": { "alias": "inputLabel"; "required": false; }; }, { "valueChange": "valueChange"; "inputChange": "inputChange"; }, never, never, false, never>;
}