@fishjam-cloud/js-server-sdk - v0.32.2
    Preparing search index...

    Interface Tiles

    Tiles

    interface Tiles {
        backgroundColor?: string | null;
        children?: Component[] | null;
        height?: number | null;
        horizontalAlign?: HorizontalAlign | null;
        id?: string | null;
        margin?: number | null;
        padding?: number | null;
        tileAspectRatio?: string | null;
        transition?: Transition | null;
        type: "tiles";
        verticalAlign?: VerticalAlign | null;
        width?: number | null;
    }
    Index
    backgroundColor?: string | null

    (default="#00000000") Background color in a "#RRGGBBAA" format.

    Tiles

    children?: Component[] | null

    List of component's children.

    Tiles

    height?: number | null

    Height of a component in pixels. Exact behavior might be different based on the parent component:

    • If the parent component is a layout, check sections "Absolute positioning" and "Static positioning" of that component.
    • If the parent component is not a layout, then this field is required.

    Tiles

    horizontalAlign?: HorizontalAlign | null

    (default="center") Horizontal alignment of tiles.

    Tiles

    id?: string | null

    Id of a component.

    Tiles

    margin?: number | null

    (default=0) Margin of each tile in pixels.

    Tiles

    padding?: number | null

    (default=0) Padding on each tile in pixels.

    Tiles

    tileAspectRatio?: string | null

    (default="16:9") Aspect ratio of a tile in "W:H" format, where W and H are integers.

    Tiles

    transition?: Transition | null

    Defines how this component will behave during a scene update. This will only have an effect if the previous scene already contained a Tiles component with the same id.

    Tiles

    type: "tiles"

    Tiles

    verticalAlign?: VerticalAlign | null

    (default="center") Vertical alignment of tiles.

    Tiles

    width?: number | null

    Width of a component in pixels. Exact behavior might be different based on the parent component:

    • If the parent component is a layout, check sections "Absolute positioning" and "Static positioning" of that component.
    • If the parent component is not a layout, then this field is required.

    Tiles