forked from HTMLElements/smart-webcomponents-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layoutitem.d.ts
67 lines (67 loc) · 2.33 KB
/
layoutitem.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import React from "react";
import { LayoutItemProperties } from "./../index";
export { LayoutItemProperties } from "./../index";
export {} from './../index';
export declare const Smart: any;
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;
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;
}
export default LayoutItem;