Module Browser_extra.CoercionSource

Coercion provides utility functions for common coercions known to be equivalent. Please note that some of these coercions are possibly unsafe if a subclass overrides an ancestor class method with a completely different return type

Coercion functions between js_of_ocaml Dom_html types and Browser types.

Note that some of these conversions could be dangerous if the subclass has a method or attribute that overrides the ancestor class and returns a completely different type

Console conversions

HTML Element conversions

Event conversions

File List conversions

Focus Event conversions

Mouse Event conversions

Keyboard Event conversions

Wheel Event conversions

Mousewheel Event conversions (maps to wheel_event)

Touch Event conversions

Submit Event conversions

Drag Event conversions

Clipboard Event conversions

Toggle Event conversions

Pop State Event conversions

Pointer Event conversions

Storage Event conversions

Hash Change Event conversions

Animation Event conversions

Transition Event conversions

Media Event conversions

Message Event conversions