UNPKG

jqwidgets-scripts

Version:

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

48 lines (47 loc) 1.47 kB
import * as React from 'react'; declare class JqxNavBar extends React.PureComponent<INavBarProps, IState> { protected static getDerivedStateFromProps(props: INavBarProps, state: IState): null | IState; private _jqx; private _id; private _componentSelector; constructor(props: INavBarProps); componentDidMount(): void; componentDidUpdate(): void; render(): React.ReactNode; setOptions(options: INavBarProps): void; getOptions(option: string): any; close(): void; destroy(): void; getSelectedIndex(): number; open(): void; selectAt(index: number | string): void; private _manageProps; private _wireEvents; } export default JqxNavBar; export declare const jqx: any; export declare const JQXLite: any; interface IState { lastProps: object; } interface INavBarOptions { columns?: string[]; disabled?: boolean; height?: string | number; minimized?: boolean; minimizeButtonPosition?: 'left' | 'right'; minimizedHeight?: number | string; minimizedTitle?: number | string; orientation?: 'vertical' | 'horizontal'; popupAnimationDelay?: number; rtl?: boolean; selection?: boolean; selectedItem?: number | string; theme?: string; width?: string | number; } export interface INavBarProps extends INavBarOptions { className?: string; style?: React.CSSProperties; onChange?: (e?: Event) => void; }