@ipi-soft/ng-components
Version:
Custom Angular Components
26 lines (25 loc) • 1.24 kB
TypeScript
import { EventEmitter, ChangeDetectorRef } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { TooltipPosition } from '@ipi-soft/ng-components/tooltip';
import * as i0 from "@angular/core";
export interface IpiCheckboxOptions {
formGroup?: FormGroup;
formControlName?: string;
}
export declare class IpiCheckboxComponent {
private changeDetectorRef;
constructor(changeDetectorRef: ChangeDetectorRef);
checked: boolean;
disabled: boolean;
tooltip: string | null;
options: IpiCheckboxOptions | null;
clickChange: EventEmitter<boolean>;
tooltipPosition: typeof TooltipPosition;
private controlSubscription;
ngAfterViewInit(): void;
ngOnDestroy(): void;
onChange(): void;
private checkIfControlDisabled;
static ɵfac: i0.ɵɵFactoryDeclaration<IpiCheckboxComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IpiCheckboxComponent, "ipi-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "clickChange": "clickChange"; }, never, ["*"], true, never>;
}