module Gadget:sig..end
type t = {
|
display : |
(* |
The gadget's display mode. Optional. Possible values are:
| *) |
|
height : |
(* |
The gadget's height in pixels. The height must be an integer greater than 0. Optional.
| *) |
|
iconLink : |
(* |
The gadget's icon URL. The URL scheme must be HTTPS.
| *) |
|
link : |
(* |
The gadget's URL. The URL scheme must be HTTPS.
| *) |
|
preferences : |
(* |
Preferences.
| *) |
|
title : |
(* |
The gadget's title.
| *) |
|
_type : |
(* |
The gadget's type.
| *) |
|
width : |
(* |
The gadget's width in pixels. The width must be an integer greater than 0. Optional.
| *) |
val display : (t, string) GapiLens.t
val height : (t, int) GapiLens.t
val iconLink : (t, string) GapiLens.t
val link : (t, string) GapiLens.t
val preferences : (t, (string * string) list) GapiLens.t
val title : (t, string) GapiLens.t
val _type : (t, string) GapiLens.t
val width : (t, int) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t ->
GapiJson.json_data_model -> t