UNPKG

jqwidgets-ng

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)

58 lines (57 loc) 2.58 kB
/// <reference path="../jqwidgets.d.ts" /> import { EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class jqxSwitchButtonComponent implements ControlValueAccessor, OnChanges { attrChecked: boolean; attrDisabled: boolean; attrOrientation: string; attrOnLabel: string; attrOffLabel: string; attrThumbSize: string; attrRtl: boolean; attrWidth: string | number; attrHeight: string | number; autoCreate: boolean; properties: string[]; host: any; elementRef: ElementRef; widgetObject: jqwidgets.jqxSwitchButton; private onTouchedCallback; private onChangeCallback; constructor(containerElement: ElementRef); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): boolean; arraysEqual(attrValue: any, hostValue: any): boolean; manageAttributes(): any; moveClasses(parentEl: HTMLElement, childEl: HTMLElement): void; moveStyles(parentEl: HTMLElement, childEl: HTMLElement): void; createComponent(options?: any): void; createWidget(options?: any): void; __updateRect__(): void; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setOptions(options: any): void; checked(arg?: boolean): boolean; disabled(arg?: boolean): boolean; height(arg?: string | number): string | number; orientation(arg?: string): string; onLabel(arg?: string): string; offLabel(arg?: string): string; thumbSize(arg?: string): string; rtl(arg?: boolean): boolean; width(arg?: string | number): string | number; check(): void; disable(): void; enable(): void; toggle(): void; uncheck(): void; val(value?: boolean): any; onChecked: EventEmitter<any>; onChange: EventEmitter<any>; onUnchecked: EventEmitter<any>; __wireEvents__(): void; static ɵfac: i0.ɵɵFactoryDeclaration<jqxSwitchButtonComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<jqxSwitchButtonComponent, "jqxSwitchButton", never, { "attrChecked": "checked"; "attrDisabled": "disabled"; "attrOrientation": "orientation"; "attrOnLabel": "onLabel"; "attrOffLabel": "offLabel"; "attrThumbSize": "thumbSize"; "attrRtl": "rtl"; "attrWidth": "width"; "attrHeight": "height"; "autoCreate": "auto-create"; }, { "onChecked": "onChecked"; "onChange": "onChange"; "onUnchecked": "onUnchecked"; }, never, ["*"]>; }