Module Values.SectionalElementSource

Stores the configuration information for a visual helper element for a form. A sectional element can be a header, a text block, or a divider. These elements are static and not associated with any data.

Sourcetype nonrec t = {
  1. type_ : String_.t;
    (*

    The type of sectional element. Valid values are Heading, Text, and Divider.

    *)
  2. position : FieldPosition.t option;
    (*

    Specifies the position of the text in a field for a Text sectional element.

    *)
  3. text : String_.t option;
    (*

    The text for a Text sectional element.

    *)
  4. level : Integer.t option;
    (*

    Specifies the size of the font for a Heading sectional element. Valid values are 1 | 2 | 3 | 4 | 5 | 6.

    *)
  5. orientation : String_.t option;
    (*

    Specifies the orientation for a Divider sectional element. Valid values are horizontal or vertical.

    *)
  6. excluded : Boolean.t option;
    (*

    Excludes a sectional element that was generated by default for a specified data model.

    *)
}
Sourceval context_ : string
Sourceval make : ?position:??? -> ?text:??? -> ?level:??? -> ?orientation:??? -> ?excluded:??? -> type_:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.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