Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Dom.StyleInline style of a document element.
val set : string -> string -> t -> unitset name value style Set the property name to value in style.
Examples:
set "background-color" "red" style
set "border" "10px red" styleval remove : string -> t -> unitremove name style Remove the property name from style.