jqwidgets-framework
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
51 lines (50 loc) • 1.55 kB
TypeScript
import * as React from 'react';
declare class JqxCheckBoxGroup extends React.PureComponent<ICheckBoxGroupProps, IState> {
protected static getDerivedStateFromProps(props: ICheckBoxGroupProps, state: IState): null | IState;
private _jqx;
private _id;
private _componentSelector;
constructor(props: ICheckBoxGroupProps);
componentDidMount(): void;
componentDidUpdate(): void;
render(): React.ReactNode;
setOptions(options: ICheckBoxGroupProps): void;
getOptions(option: string): any;
getValue(): [];
getValueAt(index: number): string;
enableAt(index: number): void;
disableAt(index: number): void;
checkAt(index: number): void;
uncheckAt(index: number): void;
uncheckAll(): void;
checkAll(): void;
checkValue(value: string): void;
uncheckValue(value: string): void;
disable(): void;
destroy(): void;
enable(): void;
renderWidget(): void;
val(value?: any): any;
private _manageProps;
private _wireEvents;
}
export default JqxCheckBoxGroup;
export declare const jqx: any;
export declare const JQXLite: any;
interface IState {
lastProps: object;
}
interface ICheckBoxGroupOptions {
change?: (item?: any) => void;
disabled?: boolean;
items?: [];
value?: [];
layout?: string;
labelPosition?: string;
rtl?: boolean;
theme?: string;
}
export interface ICheckBoxGroupProps extends ICheckBoxGroupOptions {
className?: string;
style?: React.CSSProperties;
}