Module Values_0.GridLayoutElementSource

An element within a grid layout.

Sourcetype nonrec t = {
  1. elementId : ShortRestrictiveResourceId.t;
    (*

    A unique identifier for an element within a grid layout.

    *)
  2. elementType : LayoutElementType.t;
    (*

    The type of element.

    *)
  3. columnIndex : GridLayoutElementColumnIndex.t option;
    (*

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

    *)
  4. columnSpan : GridLayoutElementColumnSpan.t;
    (*

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

    *)
  5. rowIndex : GridLayoutElementRowIndex.t option;
    (*

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

    *)
  6. rowSpan : GridLayoutElementRowSpan.t;
    (*

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

    *)
  7. borderStyle : GridLayoutElementBorderStyle.t option;
    (*

    The border style configuration of a grid layout element.

    *)
  8. selectedBorderStyle : GridLayoutElementBorderStyle.t option;
    (*

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

    *)
  9. backgroundStyle : GridLayoutElementBackgroundStyle.t option;
    (*

    The background style configuration of a grid layout element.

    *)
  10. loadingAnimation : LoadingAnimation.t option;
  11. borderRadius : BorderRadius.t option;
    (*

    The border radius of a grid layout element.

    *)
  12. padding : Padding.t option;
    (*

    The padding of a grid layout element.

    *)
}
Sourceval context_ : string
Sourceval make : ?columnIndex:??? -> ?rowIndex:??? -> ?borderStyle:??? -> ?selectedBorderStyle:??? -> ?backgroundStyle:??? -> ?loadingAnimation:??? -> ?borderRadius:??? -> ?padding:??? -> elementId:ShortRestrictiveResourceId.t -> elementType:LayoutElementType.t -> columnSpan:GridLayoutElementColumnSpan.t -> rowSpan:GridLayoutElementRowSpan.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of GridLayoutElementColumnIndex.t | `String of ShortRestrictiveResourceId.t | `Structure of (string * [> `Enum of string | `String of HexColorWithTransparency.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t