New to Kendo UI for Angular? Start a free 30-day trial
Represents a layout container that automatically arranges child elements.
Extends Group to provide automatic layout and positioning capabilities.
Name | Type | Default | Description |
---|
|
any[]
|
|
|
any
|
|
|
string
|
|
|
any
|
|
(rect?: any, options?: any)
Creates a new Layout instance.
any
The rectangle bounds for the layout
any
Configuration options for the layout
|
---|
Appends a visual element to this group.
|
Parameters | | |
---|
visual
|
any
|
The visual element to append to the group
|
|
|
---|
Removes all child visual elements from this group.
|
|
---|
Gets the drawing container for this element.
|
Returns | |
---|
any
|
The drawing element container
|
|
|
---|
Gets or sets the position of the element.
|
Parameters | | |
---|
x
|
any
|
The x coordinate or Point object, or undefined to get current position
|
y?
|
any
|
The y coordinate when x is a number
|
|
Returns | |
---|
Point
|
The current position as a Point when called as getter
|
|
|
---|
Gets or sets the rectangle bounds of the layout.
|
Parameters | | |
---|
rect
|
any
|
The rectangle bounds to set, or undefined to get current bounds
|
|
Returns | |
---|
Rect
|
The current rectangle bounds when called as getter
|
|
|
---|
Redraws the layout with updated options.
|
Parameters | | |
---|
options
|
any
|
New options to apply to the layout
|
|
|
---|
Triggers a reflow of the layout, recalculating positions and sizes.
|
|
---|
Removes a visual element from this group.
|
Parameters | | |
---|
visual
|
any
|
The visual element to remove from the group
|
|
|
---|
Gets or sets the rotation of the element.
|
Parameters | | |
---|
angle
|
any
|
The rotation angle in radians, or undefined to get current rotation
|
center
|
any
|
The center point for rotation
|
|
Returns | |
---|
Rotation
|
The current rotation when called as getter
|
|
|
---|
Moves the specified visual elements to the back of the display order.
|
Parameters | | |
---|
visuals
|
any
|
Array of visual elements to move to back
|
|
|
---|
Moves the specified visual elements to the front of the display order.
|
Parameters | | |
---|
visuals
|
any
|
Array of visual elements to move to front
|
|
|
---|
Moves the specified visual elements to specific indices in the display order.
|
Parameters | | |
---|
visuals
|
any
|
Array of visual elements to reorder
|
indices
|
any
|
Target indices for the visual elements
|
|
|
---|
Gets or sets the visibility of the element.
|
Parameters | | |
---|
value
|
any
|
The visibility value to set, or undefined to get current visibility
|
|
Returns | |
---|
any
|
The current visibility state when called as getter
|
|