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