package ocsigen-toolkit

  1. Overview
  2. Docs
val parse_px : Js.js_string Js.t -> float option
val float_of_px : Js.js_string 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 display : Dom_html.element Js.t -> string
val display' : Dom_html.element Js.t -> display
val visibility : Dom_html.element Js.t -> string
val invisible : Dom_html.element Js.t -> bool
val top : Dom_html.element Js.t -> float option
val bottom : Dom_html.element Js.t -> float option
val left : Dom_html.element Js.t -> float option
val right : Dom_html.element Js.t -> float option
val marginTop : Dom_html.element Js.t -> float
val marginBottom : Dom_html.element Js.t -> float
val marginLeft : Dom_html.element Js.t -> float
val marginRight : Dom_html.element Js.t -> float
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.