@asi-ngtools/lib
Version:
This project is a little components library, simple to use, which will help you to simplify your project.
16 lines (15 loc) • 662 B
TypeScript
import { DefaultControlValueAccessor } from './../common/default-control-value-accessor';
import { OnInit, Renderer2, ElementRef } from '@angular/core';
export declare class AsiCheckboxComponent extends DefaultControlValueAccessor implements OnInit {
private renderer;
private elementRef;
/** Label (is translated) */
label: string;
/** Label position */
labelPosition: 'top' | 'left' | 'right' | 'bottom' | 'bottom-center' | 'top-center';
/** design : checkbox (square) or radio (round) */
type: 'checkbox' | 'radio';
constructor(renderer: Renderer2, elementRef: ElementRef);
ngOnInit(): void;
toggleCheck(): void;
}