@candidosales/material-time-picker
Version:
Time Picker for Angular
28 lines (27 loc) • 1.49 kB
TypeScript
import { EventEmitter, OnInit } from "@angular/core";
import { ITime } from "../w-clock/w-clock.component";
import { MatDialog } from "@angular/material/dialog";
import * as i0 from "@angular/core";
export declare class MaterialTimePickerComponent implements OnInit {
private dialog;
label: string;
appearance: string;
userTime: ITime;
color: string;
revertLabel: string;
submitLabel: string;
disabled: boolean;
readonly: boolean;
/**
* Class to put in the form-field
*/
classFormField: string;
change: EventEmitter<ITime>;
constructor(dialog: MatDialog);
ngOnInit(): void;
time(): string;
showPicker(): boolean;
private emitChange;
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTimePickerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTimePickerComponent, "material-timepicker", never, { "label": { "alias": "label"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "userTime": { "alias": "userTime"; "required": false; }; "color": { "alias": "color"; "required": false; }; "revertLabel": { "alias": "revertLabel"; "required": false; }; "submitLabel": { "alias": "submitLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "classFormField": { "alias": "classFormField"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
}