UNPKG

@asi-ngtools/lib

Version:

This project is a little components library, simple to use, which will help you to simplify your project.

14 lines (13 loc) 579 B
import { DefaultControlValueAccessor } from './../common/default-control-value-accessor'; import { OnInit, Renderer2, ElementRef } from '@angular/core'; export declare class AsiSwitchComponent extends DefaultControlValueAccessor implements OnInit { private renderer; private elementRef; /** Label to display (is translated) */ label: string; /** Label position */ labelPosition: 'top' | 'left' | 'right' | 'bottom' | 'bottom-center' | 'top-center'; constructor(renderer: Renderer2, elementRef: ElementRef); ngOnInit(): void; switch(): void; }