Module Chartjs.Padding

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_object : obj Js_of_ocaml.Js.t -> 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
val cast_object : t Js_of_ocaml.Js.t -> obj Js_of_ocaml.Js.t Js_of_ocaml.Js.opt