smart-webcomponents-react
Version:
[](https://jqwidgets.com/license/)
76 lines (75 loc) • 2.67 kB
TypeScript
import React from "react";
import { LayoutGroupProperties } from "./../index";
import { LayoutGroupOrientation } from './../index';
export { LayoutGroupProperties } from "./../index";
export { LayoutGroupOrientation } from './../index';
declare let Smart: any;
export { Smart };
export interface LayoutGroupProps extends LayoutGroupProperties {
className?: string;
style?: React.CSSProperties;
onCreate?: ((event?: Event) => void) | undefined;
onReady?: ((event?: Event) => void) | undefined;
}
/**
LayoutGroup represents a group of layout items inside the Layout.
*/
export declare class LayoutGroup extends React.Component<React.HTMLAttributes<Element> & LayoutGroupProps, 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 group orientation.
* Property type: LayoutGroupOrientation | string
*/
get orientation(): LayoutGroupOrientation | string;
set orientation(value: LayoutGroupOrientation | 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 LayoutGroup;