jqwidgets-scripts
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.78 kB
TypeScript
import * as React from 'react';
declare class JqxListMenu extends React.PureComponent<IListMenuProps, IState> {
protected static getDerivedStateFromProps(props: IListMenuProps, state: IState): null | IState;
private _jqx;
private _id;
private _componentSelector;
constructor(props: IListMenuProps);
componentDidMount(): void;
componentDidUpdate(): void;
render(): React.ReactNode;
setOptions(options: IListMenuProps): void;
getOptions(option: string): any;
back(): void;
changePage(Item: any): void;
destroy(): void;
private _manageProps;
private _wireEvents;
}
export default JqxListMenu;
export declare const jqx: any;
export declare const JQXLite: any;
interface IState {
lastProps: object;
}
export interface IListMenuFilterCallback {
text?: string;
searchValue?: string | number;
}
interface IListMenuOptions {
alwaysShowNavigationArrows?: boolean;
animationType?: 'slide' | 'fade';
animationDuration?: number | string;
autoSeparators?: boolean;
backLabel?: number | string;
disabled?: boolean;
enableScrolling?: boolean;
filterCallback?: (text: IListMenuFilterCallback['text'], searchValue: IListMenuFilterCallback['searchValue']) => boolean;
height?: number | string;
headerAnimationDuration?: number | string;
placeHolder?: number | string;
readOnly?: boolean;
rtl?: boolean;
roundedCorners?: boolean;
showNavigationArrows?: boolean;
showFilter?: boolean;
showHeader?: boolean;
showBackButton?: boolean;
theme?: string;
width?: string | number;
}
export interface IListMenuProps extends IListMenuOptions {
className?: string;
style?: React.CSSProperties;
}