Module Webapi__Dom__Types
type compareHow = | StartToStart |
| StartToEnd |
| EndToEnd |
| EndToStart |
;
let encodeCompareHow: compareHow => int;
type compareResult = | Before |
| Equal |
| After |
| Unknown |
;
let decodeCompareResult: int => compareResult;
type compatMode = | BackCompat |
| CSS1Compat |
| Unknown |
;
let decodeCompatMode: string => compatMode;
type contentEditable = | True |
| False |
| Inherit |
| Unknown |
;
let encodeContentEditable: contentEditable => string;let decodeContentEditable: string => contentEditable;
type deltaMode = ;
let decodeDeltaMode: int => deltaMode;
type designMode = ;
let encodeDesignMode: designMode => string;let decodeDesignMode: string => designMode;
type dir = ;
let encodeDir: dir => string;let decodeDir: string => dir;
module EventPhase: { ... };
type eventPhase = EventPhase.t = | None |
| CapturingPhase |
| AtTarget |
| BubblingPhase |
| Unknown |
;type filterAction = ;
let encodeFilterAction: filterAction => int;
type insertPosition = | BeforeBegin |
| AfterBegin |
| BeforeEnd |
| AfterEnd |
;
let encodeInsertPosition: insertPosition => string;
type modifierKey = | Alt |
| AltGraph |
| CapsLock |
| Control |
| Fn |
| FnLock |
| Hyper |
| Meta |
| NumLock |
| ScrollLock |
| Shift |
| Super |
| Symbol |
| SymbolLock |
;
let encodeModifierKey: modifierKey => string;
type nodeType = | Element |
| Attribute |
| Text |
| CDATASection |
| EntityReference |
| Entity |
| ProcessingInstruction |
| Document |
| DocumentType |
| DocumentFragment |
| Notation |
| Unknown |
;
let decodeNodeType: int => nodeType;
type pointerType = | Mouse |
| Pen |
| Touch |
| Unknown |
;
let decodePointerType: string => pointerType;
type readyState = | Loading |
| Interactive |
| Complete |
| Unknown |
;
let decodeReadyState: string => readyState;
type shadowRootMode = ;
let decodeShadowRootMode: string => shadowRootMode;
type visibilityState = | Visible |
| Hidden |
| Prerender |
| Unloaded |
| Unknown |
;
let decodeVisibilityState: string => visibilityState;
type image;