jqwidgets-scripts
Version:
jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.
47 lines (46 loc) • 1.44 kB
TypeScript
import * as React from 'react';
declare class JqxPanel extends React.PureComponent<IPanelProps, IState> {
protected static getDerivedStateFromProps(props: IPanelProps, state: IState): null | IState;
private _jqx;
private _id;
private _componentSelector;
constructor(props: IPanelProps);
componentDidMount(): void;
componentDidUpdate(): void;
render(): React.ReactNode;
setOptions(options: IPanelProps): void;
getOptions(option: string): any;
append(HTMLElement: any): void;
clearcontent(): void;
destroy(): void;
focus(): void;
getScrollHeight(): number;
getVScrollPosition(): number;
getScrollWidth(): number;
getHScrollPosition(): number;
prepend(HTMLElement: any): void;
remove(HTMLElement: any): void;
scrollTo(left: number | string, top: number | string): void;
private _manageProps;
private _wireEvents;
}
export default JqxPanel;
export declare const jqx: any;
export declare const JQXLite: any;
interface IState {
lastProps: object;
}
interface IPanelOptions {
autoUpdate?: boolean;
disabled?: boolean;
height?: string | number;
rtl?: boolean;
sizeMode?: 'fixed' | 'wrap';
scrollBarSize?: number | string;
theme?: string;
width?: string | number;
}
export interface IPanelProps extends IPanelOptions {
className?: string;
style?: React.CSSProperties;
}