package chartjs

  1. Overview
  2. Docs
type t

If this value is a number, it is applied to all sides of the element (left, top, right, bottom). If this value is an object, the left property defines the left padding. Similarly the right, top and bottom properties can also be specified.

class type obj = object ... end
val make_object : ?top:int -> ?right:int -> ?bottom:int -> ?left:int -> unit -> t Js_of_ocaml.Js.t
val of_int : int -> t Js_of_ocaml.Js.t
val cast_int : t Js_of_ocaml.Js.t -> int Js_of_ocaml.Js.opt