Skip to content

GridLayoutElement

Source code in docs_src/capo_quicksight/types/grid_layout_element.py
class GridLayoutElement(TypedDict, closed=True):
    element_id: (
        "capo_quicksight.types.short_restrictive_resource_id.ShortRestrictiveResourceId"
    )
    """<p>A unique identifier for an element within a grid layout.</p>"""
    element_type: "capo_quicksight.types.layout_element_type.LayoutElementType"
    """<p>The type of element.</p>"""
    column_index: NotRequired[
        "capo_quicksight.types.grid_layout_element_column_index.GridLayoutElementColumnIndex"
    ]
    """<p>The column index for the upper left corner of an element.</p>"""
    column_span: "capo_quicksight.types.grid_layout_element_column_span.GridLayoutElementColumnSpan"
    """<p>The width of a grid element expressed as a number of grid columns.</p>"""
    row_index: NotRequired[
        "capo_quicksight.types.grid_layout_element_row_index.GridLayoutElementRowIndex"
    ]
    """<p>The row index for the upper left corner of an element.</p>"""
    row_span: (
        "capo_quicksight.types.grid_layout_element_row_span.GridLayoutElementRowSpan"
    )
    """<p>The height of a grid element expressed as a number of grid rows.</p>"""
    border_style: NotRequired[
        "capo_quicksight.types.grid_layout_element_border_style.GridLayoutElementBorderStyle"
    ]
    """<p>The border style configuration of a grid layout element.</p>"""
    selected_border_style: NotRequired[
        "capo_quicksight.types.grid_layout_element_border_style.GridLayoutElementBorderStyle"
    ]
    """<p>The border style configuration of a grid layout element. This border style is used when the element is selected.</p>"""
    background_style: NotRequired[
        "capo_quicksight.types.grid_layout_element_background_style.GridLayoutElementBackgroundStyle"
    ]
    """<p>The background style configuration of a grid layout element.</p>"""
    loading_animation: NotRequired[
        "capo_quicksight.types.loading_animation.LoadingAnimation"
    ]
    border_radius: NotRequired["capo_quicksight.types.border_radius.BorderRadius"]
    """<p>The border radius of a grid layout element.</p>"""
    padding: NotRequired["capo_quicksight.types.padding.Padding"]
    """<p>The padding of a grid layout element.</p>"""

background_style instance-attribute

background_style: NotRequired[GridLayoutElementBackgroundStyle]

The background style configuration of a grid layout element.

border_radius instance-attribute

border_radius: NotRequired[BorderRadius]

The border radius of a grid layout element.

border_style instance-attribute

border_style: NotRequired[GridLayoutElementBorderStyle]

The border style configuration of a grid layout element.

column_index instance-attribute

column_index: NotRequired[GridLayoutElementColumnIndex]

The column index for the upper left corner of an element.

column_span instance-attribute

The width of a grid element expressed as a number of grid columns.

element_id instance-attribute

A unique identifier for an element within a grid layout.

element_type instance-attribute

element_type: LayoutElementType

The type of element.

loading_animation instance-attribute

loading_animation: NotRequired[LoadingAnimation]

padding instance-attribute

padding: NotRequired[Padding]

The padding of a grid layout element.

row_index instance-attribute

row_index: NotRequired[GridLayoutElementRowIndex]

The row index for the upper left corner of an element.

row_span instance-attribute

The height of a grid element expressed as a number of grid rows.

selected_border_style instance-attribute

selected_border_style: NotRequired[GridLayoutElementBorderStyle]

The border style configuration of a grid layout element. This border style is used when the element is selected.