Module El.PropSource

Element properties.

Sourcetype 'a t

The type for element properties of type 'a.

Sourceval bool : Jstr.t -> bool t

bool n is a property named n accessed as a bool and returning false on undefined.

Sourceval int : Jstr.t -> int t

int n is a property named n accessed as an int and returning 0 on undefined.

Sourceval float : Jstr.t -> float t

float n is a property named n accessed as a float and returning 0. on undefined.

Sourceval jstr : Jstr.t -> Jstr.t t

jstr n is the property named n accessed as a Jstr.t and returning Jstr.empty on undefined.

Predefined properties

Sourceval checked : bool t
Sourceval height : int t
Sourceval hidden : bool t
Sourceval id : Jstr.t t
Sourceval name : Jstr.t t
Sourceval title : Jstr.t t
Sourceval value : Jstr.t t
Sourceval width : int t