UNPKG

smart-webcomponents-react

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-00JS8f7.svg)](https://jqwidgets.com/license/)

70 lines (69 loc) 2.36 kB
import React from "react"; import { LayoutItemProperties } from "./../index"; export { LayoutItemProperties } from "./../index"; export {} from './../index'; declare let Smart: any; export { Smart }; export interface LayoutItemProps extends LayoutItemProperties { className?: string; style?: React.CSSProperties; onCreate?: ((event?: Event) => void) | undefined; onReady?: ((event?: Event) => void) | undefined; } /** Layout item represents a single content section inside the Layout. */ export declare class LayoutItem extends React.Component<React.HTMLAttributes<Element> & LayoutItemProps, any> { private _id; private nativeElement; private componentRef; get id(): string; /** Enables or disables the element. * Property type: boolean */ get disabled(): boolean; set disabled(value: boolean); /** Sets or gets the modifiers of the Layout item. * Property type: any */ get modifiers(): any; set modifiers(value: any); /** Determines the min size of the item. * Property type: number */ get min(): number; set min(value: number); /** Determines the label of the item. * Property type: string */ get label(): string; set label(value: string); /** Determines the size of the item. * Property type: any */ get size(): any; set size(value: any); /** If is set to true, the element cannot be focused. * Property type: boolean */ get unfocusable(): boolean; set unfocusable(value: boolean); get properties(): string[]; /** This event occurs, when the React component is created. * @param event. The custom event. */ onCreate?: ((event?: Event) => void) | undefined; /** This event occurs, when the React component is completely rendered. * @param event. The custom event. */ onReady?: ((event?: Event) => void) | undefined; get eventListeners(): string[]; constructor(props: any); componentDidRender(initialize: boolean): void; componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; render(): React.ReactElement<{ ref: any; suppressHydrationWarning: boolean; }, string | React.JSXElementConstructor<any>>; } export default LayoutItem;