package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. width : int;
    (*

    The gadget's width in pixels. The width must be an integer greater than 0. Optional. Deprecated.

    *)
  2. title : string;
    (*

    The gadget's title. Deprecated.

    *)
  3. preferences : (string * string) list;
    (*

    Preferences.

    *)
  4. height : int;
    (*

    The gadget's height in pixels. The height must be an integer greater than 0. Optional. Deprecated.

    *)
  5. _type : string;
    (*

    The gadget's type. Deprecated.

    *)
  6. display : string;
    (*

    The gadget's display mode. Deprecated. Possible values are:

    • "icon" - The gadget displays next to the event's title in the calendar view.
    • "chip" - The gadget displays when the event is clicked.
    *)
}
val width : (t, int) GapiLens.t
val title : (t, string) GapiLens.t
val preferences : (t, (string * string) list) GapiLens.t
val height : (t, int) GapiLens.t
val _type : (t, string) GapiLens.t
val display : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.