package fmlib_js

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Inline style of a document element.

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.

OCaml

Innovation. Community. Security.