content
Gets or sets the tile content(text/html) or the selector of the dom element which contains the content.
Defines the tile class for flowlayout.
JavaScript object containing initialization data for the tile.
Gets or sets a boolean value decides whether the tile could be dragged.
Gets or sets a boolean value decides whether the tiles could be hidden.
Gets or sets a boolean value decides whether the tiles could be maximized.
Gets or sets the tile content(text/html) or the selector of the dom element which contains the content.
Gets or sets the tile height in pixels. If it is set to null, it means the height will automatically fit the content.
Gets the outest element which represents this layoutitem.
Gets a boolean value represents whether the tile is maximized.
Gets or sets the maximum values of tile's height when resizing
Gets or sets the maximum values of tile's width when resizing
Gets the parent which owns this layoutitem.
It could be a Group or a LayoutBase.
Gets or sets a boolean value decides whether to show the header.
Gets or sets a boolean value decides whether to show the toolbar.
Gets or sets a boolean value decides whether to show the tile.
Gets or sets the tile width in pixels. If it is set to null, it means the width will automatically fit the content.
addEventListener(target: EventTarget, type: string, fn: any, capture?: boolean): void
Adds an event listener to an element owned by this Control.
The control keeps a list of attached listeners and their handlers, making it easier to remove them when the control is disposed (see the dispose and removeEventListener methods).
Failing to remove event listeners may cause memory leaks.
Target element for the event.
String that specifies the event.
Function to execute when the event occurs.
Whether the listener is capturing.
A boolean value decides wehter to keep the current status when disposing. If true, all the current status will be cleared. Otherwise, keep the current status.
draw(): void
Draws the tile.
initialize(options: any): void
Initializes the object by copying the properties from a given object.
Object that contains the initialization data.
remove(): boolean
Removes the current layoutitem from its parent.
removeEventListener(target?: EventTarget, type?: string, fn?: any, capture?: boolean): number
Removes one or more event listeners attached to elements owned by this Control.
Target element for the event. If null, removes listeners attached to all targets.
String that specifies the event. If null, removes listeners attached to all events.
Handler to remove. If null, removes all handlers.
Whether the listener is capturing. If null, removes capturing and non-capturing listeners.
render(container?: HTMLElement): HTMLElement
Renders the layoutitem in the specified container.
the container element where the layoutitem renders in.