fmlib_js

Library for easy compilation from ocaml to javascript
Library fmlib_js
Module Fmlib_js . Dom . Style
type t
val set : string -> string -> t -> unit

set name value style Set the property name to value in style.

Examples:

set "background-color" "red"      style
set "border"           "10px red" style
val remove : string -> t -> unit

remove name style Remove the property name from style.