Skip to content

CSSStyleDeclaration

Values

getPropertyPriority

let getPropertyPriority: (WebAPI.DOMAPI.cssStyleDeclaration, string) => string

Parameters

WebAPI.DOMAPI.cssStyleDeclaration string

Return type

string

getPropertyValue

let getPropertyValue: (WebAPI.DOMAPI.cssStyleDeclaration, string) => string

Parameters

WebAPI.DOMAPI.cssStyleDeclaration string

Return type

string

item

let item: (WebAPI.DOMAPI.cssStyleDeclaration, int) => string

Parameters

WebAPI.DOMAPI.cssStyleDeclaration int

Return type

string

removeProperty

let removeProperty: (WebAPI.DOMAPI.cssStyleDeclaration, string) => string

Parameters

WebAPI.DOMAPI.cssStyleDeclaration string

Return type

string

setProperty

let setProperty: (
WebAPI.DOMAPI.cssStyleDeclaration,
~property: string,
~value: string,
~priority: string=?,
) => unit

Parameters

WebAPI.DOMAPI.cssStyleDeclaration string string option< string >

Return type

unit