UNPKG

jqwidgets-framework

Version:

jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.

55 lines (54 loc) 1.63 kB
import * as React from 'react'; declare class JqxCheckBox extends React.PureComponent<ICheckBoxProps, IState> { protected static getDerivedStateFromProps(props: ICheckBoxProps, state: IState): null | IState; private _jqx; private _id; private _componentSelector; constructor(props: ICheckBoxProps); componentDidMount(): void; componentDidUpdate(): void; render(): React.ReactNode; setOptions(options: ICheckBoxProps): void; getOptions(option: string): any; check(): void; disable(): void; destroy(): void; enable(): void; focus(): void; indeterminate(): void; renderWidget(): void; toggle(): void; uncheck(): void; val(value?: any): any; private _manageProps; private _wireEvents; } export default JqxCheckBox; export declare const jqx: any; export declare const JQXLite: any; interface IState { lastProps: object; } interface ICheckBoxOptions { animationShowDelay?: number; animationHideDelay?: number; boxSize?: number | string; checked?: boolean | null; disabled?: boolean; enableContainerClick?: boolean; groupName?: string; height?: number | string; hasThreeStates?: boolean; locked?: boolean; rtl?: boolean; theme?: string; width?: number | string; } export interface ICheckBoxProps extends ICheckBoxOptions { className?: string; style?: React.CSSProperties; onChecked?: (e?: Event) => void; onChange?: (e?: Event) => void; onIndeterminate?: (e?: Event) => void; onUnchecked?: (e?: Event) => void; }