@ipi-soft/ng-components
Version:
Custom Angular Components
27 lines (26 loc) • 1.02 kB
TypeScript
import { EventEmitter } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { TooltipPosition } from '@ipi-soft/ng-components/tooltip';
import * as i0 from "@angular/core";
export interface IpiRadioData {
label: string;
value: any;
tooltip?: string;
isHover?: boolean;
}
export interface IpiRadioButtonOptions {
checked?: number;
inline?: boolean;
data: IpiRadioData[];
formGroup?: FormGroup;
formControlName?: string;
}
export declare class IpiRadioButtonComponent {
options: IpiRadioButtonOptions;
selectChange: EventEmitter<IpiRadioData>;
buttonGroupId: number;
tooltipPositionAbove: TooltipPosition;
onChange(item: IpiRadioData): void;
static ɵfac: i0.ɵɵFactoryDeclaration<IpiRadioButtonComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IpiRadioButtonComponent, "ipi-radio-button", never, { "options": { "alias": "options"; "required": false; }; }, { "selectChange": "selectChange"; }, never, never, true, never>;
}