Skip to content

StylePropertyMap

Values

append

let append: (
DomTypes.stylePropertyMap,
~property: string,
~values: DomTypes.cssStyleValue,
) => unit

Parameters

DomTypes.stylePropertyMap string DomTypes.cssStyleValue

Return type

unit

append2

let append2: (
DomTypes.stylePropertyMap,
~property: string,
~values: string,
) => unit

Parameters

DomTypes.stylePropertyMap string string

Return type

unit

asStylePropertyMapReadOnly

let asStylePropertyMapReadOnly: DomTypes.stylePropertyMap => DomTypes.stylePropertyMapReadOnly

Parameters

DomTypes.stylePropertyMap

Return type

DomTypes.stylePropertyMapReadOnly

clear

let clear: DomTypes.stylePropertyMap => unit

Parameters

DomTypes.stylePropertyMap

Return type

unit

delete

let delete: (DomTypes.stylePropertyMap, string) => unit

Parameters

DomTypes.stylePropertyMap string

Return type

unit

getAll

let getAll: (
DomTypes.stylePropertyMap,
string,
) => array<DomTypes.cssStyleValue>

Parameters

DomTypes.stylePropertyMap string

Return type

array< DomTypes.cssStyleValue >

has

let has: (DomTypes.stylePropertyMap, string) => bool

Parameters

DomTypes.stylePropertyMap string

Return type

bool

set

let set: (
DomTypes.stylePropertyMap,
~property: string,
~values: DomTypes.cssStyleValue,
) => unit

Parameters

DomTypes.stylePropertyMap string DomTypes.cssStyleValue

Return type

unit

set2

let set2: (
DomTypes.stylePropertyMap,
~property: string,
~values: string,
) => unit

Parameters

DomTypes.stylePropertyMap string string

Return type

unit