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

    Interface Tiles

    Tiles

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

    Properties

    backgroundColor?: null | string

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

    Tiles

    children?: null | Component[]

    List of component's children.

    Tiles

    height?: null | number

    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?: null | HorizontalAlign

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

    Tiles

    id?: null | string

    Id of a component.

    Tiles

    margin?: null | number

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

    Tiles

    padding?: null | number

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

    Tiles

    tileAspectRatio?: null | string

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

    Tiles

    transition?: null | Transition

    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?: null | VerticalAlign

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

    Tiles

    width?: null | number

    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