package ocsigen-toolkit

  1. Overview
  2. Docs
val parse_px : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> float option
val float_of_px : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> float
val px_of_float : float -> string
type display =
  1. | Block
  2. | Compact
  3. | Flex
  4. | Inherit
  5. | Inline
  6. | Inline_block
  7. | Inline_flex
  8. | Inline_table
  9. | Initial
  10. | List_item
  11. | Marker
  12. | None
  13. | Run_in
  14. | Table
  15. | Table_caption
  16. | Table_cell
  17. | Table_column
  18. | Table_column_group
  19. | Table_header_group
  20. | Table_row
  21. | Table_row_group
  22. | Unknown
val display_to_str : display -> string
val display_of_str : string -> display
val bottom : Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> float option
val set_top : 'a Eliom_content.Html.elt -> float -> unit
val set_bottom : 'a Eliom_content.Html.elt -> float -> unit
val set_left : 'a Eliom_content.Html.elt -> float -> unit
val set_right : 'a Eliom_content.Html.elt -> float -> unit
val set_width : 'a Eliom_content.Html.elt -> float -> unit
val set_height : 'a Eliom_content.Html.elt -> float -> unit
OCaml

Innovation. Community. Security.