Skip to content

StylePropertyMap

Types

t

type t = private {size: int}

Record fields

Values

append

let append: (
t,
~property: string,
~values: WebAPI.CSSStyleValue.t,
) => unit

Parameters

~property: string

Return type

unit

append2

let append2: (t, ~property: string, ~values: string) => unit

Parameters

~property: string
~values: string

Return type

unit

asStylePropertyMapReadOnly

let asStylePropertyMapReadOnly: t => WebAPI.StylePropertyMapReadOnly.t

clear

let clear: t => unit

Parameters

Return type

unit

delete

let delete: (t, string) => unit

Parameters

string

Return type

unit

getAll

let getAll: (t, string) => array<WebAPI.CSSStyleValue.t>

Parameters

string

Return type

array<WebAPI.CSSStyleValue.t>

has

let has: (t, string) => bool

Parameters

string

Return type

bool

set

let set: (
t,
~property: string,
~values: WebAPI.CSSStyleValue.t,
) => unit

Parameters

~property: string

Return type

unit

set2

let set2: (t, ~property: string, ~values: string) => unit

Parameters

~property: string
~values: string

Return type

unit