HTMLBRElement
Values
addEventListener
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. Read more on MDN
let addEventListener: ( DomTypes.htmlbrElement, EventTypes.eventType, EventTypes.eventListener<'event>, ~options: EventTypes.addEventListenerOptions=?,) => unitParameters
DomTypes.htmlbrElement EventTypes.eventType EventTypes.eventListener option< EventTypes.addEventListenerOptions >Return type
unitaddEventListenerWithCapture
Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. Read more on MDN
let addEventListenerWithCapture: ( DomTypes.htmlbrElement, EventTypes.eventType, EventTypes.eventListener<'event>,) => unitParameters
DomTypes.htmlbrElement EventTypes.eventType EventTypes.eventListenerReturn type
unitafter
Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let after: (DomTypes.htmlbrElement, DomTypes.node) => unitParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
unitafter2
Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let after2: (DomTypes.htmlbrElement, string) => unitParameters
DomTypes.htmlbrElement stringReturn type
unitanimate
let animate: ( DomTypes.htmlbrElement, ~keyframes: unknown, ~options: float=?,) => DomTypes.animationParameters
DomTypes.htmlbrElement unknown option< float >Return type
DomTypes.animationanimate2
let animate2: ( DomTypes.htmlbrElement, ~keyframes: unknown, ~options: DomTypes.keyframeAnimationOptions=?,) => DomTypes.animationParameters
DomTypes.htmlbrElement unknown option< DomTypes.keyframeAnimationOptions >Return type
DomTypes.animationappend
Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let append: (DomTypes.htmlbrElement, DomTypes.node) => unitParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
unitappend2
Inserts nodes after the last child of node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let append2: (DomTypes.htmlbrElement, string) => unitParameters
DomTypes.htmlbrElement stringReturn type
unitasElement
let asElement: DomTypes.htmlbrElement => DomTypes.elementParameters
DomTypes.htmlbrElementReturn type
DomTypes.elementasEventTarget
let asEventTarget: DomTypes.htmlbrElement => EventTypes.eventTargetParameters
DomTypes.htmlbrElementReturn type
EventTypes.eventTargetasHTMLElement
let asHTMLElement: DomTypes.htmlbrElement => HTMLElement.tParameters
DomTypes.htmlbrElementReturn type
HTMLElement.tasNode
let asNode: DomTypes.htmlbrElement => DomTypes.nodeParameters
DomTypes.htmlbrElementReturn type
DomTypes.nodeattachInternals
let attachInternals: DomTypes.htmlbrElement => DomTypes.elementInternalsParameters
DomTypes.htmlbrElementReturn type
DomTypes.elementInternalsattachShadow
Creates a shadow root for element and returns it. Read more on MDN
let attachShadow: ( DomTypes.htmlbrElement, DomTypes.shadowRootInit,) => DomTypes.shadowRootParameters
DomTypes.htmlbrElement DomTypes.shadowRootInitReturn type
DomTypes.shadowRootbefore
Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let before: (DomTypes.htmlbrElement, DomTypes.node) => unitParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
unitbefore2
Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let before2: (DomTypes.htmlbrElement, string) => unitParameters
DomTypes.htmlbrElement stringReturn type
unitblur
let blur: DomTypes.htmlbrElement => unitParameters
DomTypes.htmlbrElementReturn type
unitcheckVisibility
let checkVisibility: ( DomTypes.htmlbrElement, ~options: DomTypes.checkVisibilityOptions=?,) => boolParameters
DomTypes.htmlbrElement option< DomTypes.checkVisibilityOptions >Return type
boolclick
let click: DomTypes.htmlbrElement => unitParameters
DomTypes.htmlbrElementReturn type
unitcloneNode
Returns a copy of node. If deep is true, the copy also includes the node's descendants. Read more on MDN
let cloneNode: ( DomTypes.htmlbrElement, ~deep: bool=?,) => DomTypes.htmlbrElementParameters
DomTypes.htmlbrElement option< bool >Return type
DomTypes.htmlbrElementclosest
Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. Read more on MDN
let closest: (DomTypes.htmlbrElement, string) => 'eParameters
DomTypes.htmlbrElementReturn type
stringcompareDocumentPosition
Returns a bitmask indicating the position of other relative to node. Read more on MDN
let compareDocumentPosition: (DomTypes.htmlbrElement, DomTypes.node) => intParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
intcomputedStyleMap
let computedStyleMap: DomTypes.htmlbrElement => DomTypes.stylePropertyMapReadOnlyParameters
DomTypes.htmlbrElementReturn type
DomTypes.stylePropertyMapReadOnlycontains
Returns true if other is an inclusive descendant of node, and false otherwise. Read more on MDN
let contains: (DomTypes.htmlbrElement, DomTypes.node) => boolParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
booldispatchEvent
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. Read more on MDN
let dispatchEvent: (DomTypes.htmlbrElement, EventTypes.event) => boolParameters
DomTypes.htmlbrElement EventTypes.eventReturn type
boolfocus
let focus: ( DomTypes.htmlbrElement, ~options: DomTypes.focusOptions=?,) => unitParameters
DomTypes.htmlbrElement option< DomTypes.focusOptions >Return type
unitgetAnimations
let getAnimations: ( DomTypes.htmlbrElement, ~options: DomTypes.getAnimationsOptions=?,) => array<DomTypes.animation>Parameters
DomTypes.htmlbrElement option< DomTypes.getAnimationsOptions >Return type
array< DomTypes.animation >getAttribute
Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. Read more on MDN
let getAttribute: (DomTypes.htmlbrElement, string) => null<string>Parameters
DomTypes.htmlbrElement stringReturn type
Stdlib.null< string >getAttributeNames
Returns the qualified names of all element's attributes. Can contain duplicates. Read more on MDN
let getAttributeNames: DomTypes.htmlbrElement => array<string>Parameters
DomTypes.htmlbrElementReturn type
array< string >getAttributeNode
let getAttributeNode: (DomTypes.htmlbrElement, string) => DomTypes.attrParameters
DomTypes.htmlbrElement stringReturn type
DomTypes.attrgetAttributeNodeNS
let getAttributeNodeNS: ( DomTypes.htmlbrElement, ~namespace: string, ~localName: string,) => DomTypes.attrParameters
DomTypes.htmlbrElement string stringReturn type
DomTypes.attrgetAttributeNS
Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. Read more on MDN
let getAttributeNS: ( DomTypes.htmlbrElement, ~namespace: string, ~localName: string,) => stringParameters
DomTypes.htmlbrElement string stringReturn type
stringgetBoundingClientRect
let getBoundingClientRect: DomTypes.htmlbrElement => DomTypes.domRectParameters
DomTypes.htmlbrElementReturn type
DomTypes.domRectgetClientRects
let getClientRects: DomTypes.htmlbrElement => DomTypes.domRectListParameters
DomTypes.htmlbrElementReturn type
DomTypes.domRectListgetElementsByClassName
Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. Read more on MDN
let getElementsByClassName: ( DomTypes.htmlbrElement, string,) => DomTypes.htmlCollection<DomTypes.element>Parameters
DomTypes.htmlbrElement stringReturn type
DomTypes.htmlCollection< DomTypes.element >getElementsByTagName
let getElementsByTagName: ( DomTypes.htmlbrElement, string,) => DomTypes.htmlCollection<DomTypes.element>Parameters
DomTypes.htmlbrElement stringReturn type
DomTypes.htmlCollection< DomTypes.element >getElementsByTagNameNS
let getElementsByTagNameNS: ( DomTypes.element, ~namespace: string, ~localName: string,) => DomTypes.htmlCollection<DomTypes.element>Parameters
DomTypes.element string stringReturn type
DomTypes.htmlCollection< DomTypes.element >getHTML
let getHTML: ( DomTypes.htmlbrElement, ~options: DomTypes.getHTMLOptions=?,) => stringParameters
DomTypes.htmlbrElement option< DomTypes.getHTMLOptions >Return type
stringgetRootNode
Returns node's root. Read more on MDN
let getRootNode: ( DomTypes.htmlbrElement, ~options: DomTypes.getRootNodeOptions=?,) => DomTypes.nodeParameters
DomTypes.htmlbrElement option< DomTypes.getRootNodeOptions >Return type
DomTypes.nodehasAttribute
Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. Read more on MDN
let hasAttribute: (DomTypes.htmlbrElement, string) => boolParameters
DomTypes.htmlbrElement stringReturn type
boolhasAttributeNS
Returns true if element has an attribute whose namespace is namespace and local name is localName. Read more on MDN
let hasAttributeNS: ( DomTypes.htmlbrElement, ~namespace: string, ~localName: string,) => boolParameters
DomTypes.htmlbrElement string stringReturn type
boolhasAttributes
Returns true if element has attributes, and false otherwise. Read more on MDN
let hasAttributes: DomTypes.htmlbrElement => boolParameters
DomTypes.htmlbrElementReturn type
boolhasChildNodes
Returns whether node has children. Read more on MDN
let hasChildNodes: DomTypes.htmlbrElement => boolParameters
DomTypes.htmlbrElementReturn type
boolhasPointerCapture
let hasPointerCapture: (DomTypes.htmlbrElement, int) => boolParameters
DomTypes.htmlbrElement intReturn type
boolhidePopover
let hidePopover: DomTypes.htmlbrElement => unitParameters
DomTypes.htmlbrElementReturn type
unitinsertAdjacentElement
let insertAdjacentElement: ( DomTypes.htmlbrElement, ~where: DomTypes.insertPosition, ~element: DomTypes.element,) => DomTypes.elementParameters
DomTypes.htmlbrElement DomTypes.insertPosition DomTypes.elementReturn type
DomTypes.elementinsertAdjacentHTML
let insertAdjacentHTML: ( DomTypes.htmlbrElement, ~position: DomTypes.insertPosition, ~string: string,) => unitParameters
DomTypes.htmlbrElement DomTypes.insertPosition stringReturn type
unitinsertAdjacentText
let insertAdjacentText: ( DomTypes.htmlbrElement, ~where: DomTypes.insertPosition, ~data: string,) => unitParameters
DomTypes.htmlbrElement DomTypes.insertPosition stringReturn type
unitinsertBefore
let insertBefore: (DomTypes.htmlbrElement, 't, ~child: DomTypes.node) => 'tParameters
DomTypes.htmlbrElementReturn type
DomTypes.nodeisDefaultNamespace
let isDefaultNamespace: (DomTypes.htmlbrElement, string) => boolParameters
DomTypes.htmlbrElement stringReturn type
boolisEqualNode
Returns whether node and otherNode have the same properties. Read more on MDN
let isEqualNode: (DomTypes.htmlbrElement, DomTypes.node) => boolParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
boolisSameNode
let isSameNode: (DomTypes.htmlbrElement, DomTypes.node) => boolParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
boollookupNamespaceURI
let lookupNamespaceURI: (DomTypes.htmlbrElement, string) => stringParameters
DomTypes.htmlbrElement stringReturn type
stringlookupPrefix
let lookupPrefix: (DomTypes.htmlbrElement, string) => stringParameters
DomTypes.htmlbrElement stringReturn type
stringmatches
Returns true if matching selectors against element's root yields element, and false otherwise. Read more on MDN
let matches: (DomTypes.htmlbrElement, string) => boolParameters
DomTypes.htmlbrElement stringReturn type
boolnormalize
Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes. Read more on MDN
let normalize: DomTypes.htmlbrElement => unitParameters
DomTypes.htmlbrElementReturn type
unitprepend
Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let prepend: (DomTypes.htmlbrElement, DomTypes.node) => unitParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
unitprepend2
Inserts nodes before the first child of node, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let prepend2: (DomTypes.htmlbrElement, string) => unitParameters
DomTypes.htmlbrElement stringReturn type
unitquerySelector
Returns the first element that is a descendant of node that matches selectors. Read more on MDN
let querySelector: (DomTypes.htmlbrElement, string) => Null.t<DomTypes.element>Parameters
DomTypes.htmlbrElement stringReturn type
Stdlib.Null.t< DomTypes.element >querySelectorAll
Returns all element descendants of node that match selectors. Read more on MDN
let querySelectorAll: ( DomTypes.htmlbrElement, string,) => DomTypes.nodeList<DomTypes.element>Parameters
DomTypes.htmlbrElement stringReturn type
DomTypes.nodeList< DomTypes.element >releasePointerCapture
let releasePointerCapture: (DomTypes.htmlbrElement, int) => unitParameters
DomTypes.htmlbrElement intReturn type
unitremove
Removes node. Read more on MDN
let remove: DomTypes.htmlbrElement => unitParameters
DomTypes.htmlbrElementReturn type
unitremoveAttribute
Removes element's first attribute whose qualified name is qualifiedName. Read more on MDN
let removeAttribute: (DomTypes.htmlbrElement, string) => unitParameters
DomTypes.htmlbrElement stringReturn type
unitremoveAttributeNode
let removeAttributeNode: (DomTypes.htmlbrElement, DomTypes.attr) => DomTypes.attrParameters
DomTypes.htmlbrElement DomTypes.attrReturn type
DomTypes.attrremoveAttributeNS
Removes element's attribute whose namespace is namespace and local name is localName. Read more on MDN
let removeAttributeNS: ( DomTypes.htmlbrElement, ~namespace: string, ~localName: string,) => unitParameters
DomTypes.htmlbrElement string stringReturn type
unitremoveEventListener
Removes the event listener in target's event listener list with the same type, callback, and options. Read more on MDN
let removeEventListener: ( DomTypes.htmlbrElement, EventTypes.eventType, EventTypes.eventListener<'event>, ~options: EventTypes.eventListenerOptions=?,) => unitParameters
DomTypes.htmlbrElement EventTypes.eventType EventTypes.eventListener option< EventTypes.eventListenerOptions >Return type
unitremoveEventListenerUseCapture
Removes the event listener in target's event listener list with the same type, callback, and options. Read more on MDN
let removeEventListenerUseCapture: ( DomTypes.htmlbrElement, EventTypes.eventType, EventTypes.eventListener<'event>,) => unitParameters
DomTypes.htmlbrElement EventTypes.eventType EventTypes.eventListenerReturn type
unitreplaceChild
let replaceChild: (DomTypes.htmlbrElement, ~node: DomTypes.node, 't) => 'tParameters
DomTypes.htmlbrElementReturn type
DomTypes.nodereplaceChildren
Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let replaceChildren: (DomTypes.htmlbrElement, DomTypes.node) => unitParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
unitreplaceChildren2
Replace all children of node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let replaceChildren2: (DomTypes.htmlbrElement, string) => unitParameters
DomTypes.htmlbrElement stringReturn type
unitreplaceWith
Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let replaceWith: (DomTypes.htmlbrElement, DomTypes.node) => unitParameters
DomTypes.htmlbrElement DomTypes.nodeReturn type
unitreplaceWith2
Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes.
Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. Read more on MDN
let replaceWith2: (DomTypes.htmlbrElement, string) => unitParameters
DomTypes.htmlbrElement stringReturn type
unitrequestFullscreen
Displays element fullscreen and resolves promise when done.
When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. Read more on MDN
let requestFullscreen: ( DomTypes.htmlbrElement, ~options: DomTypes.fullscreenOptions=?,) => promise<unit>Parameters
DomTypes.htmlbrElement option< DomTypes.fullscreenOptions >Return type
promise< unit >requestPointerLock
let requestPointerLock: ( DomTypes.htmlbrElement, ~options: DomTypes.pointerLockOptions=?,) => promise<unit>Parameters
DomTypes.htmlbrElement option< DomTypes.pointerLockOptions >Return type
promise< unit >scroll
let scroll: ( DomTypes.htmlbrElement, ~options: DomTypes.scrollToOptions=?,) => unitParameters
DomTypes.htmlbrElement option< DomTypes.scrollToOptions >Return type
unitscroll2
let scroll2: (DomTypes.htmlbrElement, ~x: float, ~y: float) => unitParameters
DomTypes.htmlbrElement float floatReturn type
unitscrollBy
let scrollBy: ( DomTypes.htmlbrElement, ~options: DomTypes.scrollToOptions=?,) => unitParameters
DomTypes.htmlbrElement option< DomTypes.scrollToOptions >Return type
unitscrollBy2
let scrollBy2: (DomTypes.htmlbrElement, ~x: float, ~y: float) => unitParameters
DomTypes.htmlbrElement float floatReturn type
unitscrollIntoView
scrollIntoView()
Scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
element->Element.scrollIntoView()
let scrollIntoView: DomTypes.htmlbrElement => unitParameters
DomTypes.htmlbrElementReturn type
unitscrollIntoViewAlignToTop
scrollIntoView(true)
Scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
element->Element.scrollIntoView_alignToTop()
let scrollIntoViewAlignToTop: DomTypes.htmlbrElement => unitParameters
DomTypes.htmlbrElementReturn type
unitscrollIntoViewWithOptions
scrollIntoView({ behavior: "smooth" })
Scrolls the element's ancestor containers such that the element on which scrollIntoView() is called is visible to the user.
element->Element.scrollIntoViewWithOptions({ behavior: DOMAPI.Smooth })
let scrollIntoViewWithOptions: ( DomTypes.htmlbrElement, DomTypes.scrollIntoViewOptions,) => unitParameters
DomTypes.htmlbrElement DomTypes.scrollIntoViewOptionsReturn type
unitscrollTo
let scrollTo: ( DomTypes.htmlbrElement, ~options: DomTypes.scrollToOptions=?,) => unitParameters
DomTypes.htmlbrElement option< DomTypes.scrollToOptions >Return type
unitscrollTo2
let scrollTo2: (DomTypes.htmlbrElement, ~x: float, ~y: float) => unitParameters
DomTypes.htmlbrElement float floatReturn type
unitsetAttribute
Sets the value of element's first attribute whose qualified name is qualifiedName to value. Read more on MDN
let setAttribute: ( DomTypes.htmlbrElement, ~qualifiedName: string, ~value: string,) => unitParameters
DomTypes.htmlbrElement string stringReturn type
unitsetAttributeNode
let setAttributeNode: (DomTypes.htmlbrElement, DomTypes.attr) => DomTypes.attrParameters
DomTypes.htmlbrElement DomTypes.attrReturn type
DomTypes.attrsetAttributeNodeNS
let setAttributeNodeNS: (DomTypes.htmlbrElement, DomTypes.attr) => DomTypes.attrParameters
DomTypes.htmlbrElement DomTypes.attrReturn type
DomTypes.attrsetAttributeNS
Sets the value of element's attribute whose namespace is namespace and local name is localName to value. Read more on MDN
let setAttributeNS: ( DomTypes.element, ~namespace: string, ~qualifiedName: string, ~value: string,) => unitParameters
DomTypes.element string string stringReturn type
unitsetHTMLUnsafe
let setHTMLUnsafe: (DomTypes.htmlbrElement, string) => unitParameters
DomTypes.htmlbrElement stringReturn type
unitsetPointerCapture
let setPointerCapture: (DomTypes.htmlbrElement, int) => unitParameters
DomTypes.htmlbrElement intReturn type
unitshowPopover
let showPopover: DomTypes.htmlbrElement => unitParameters
DomTypes.htmlbrElementReturn type
unittoggleAttribute
If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName.
Returns true if qualifiedName is now present, and false otherwise. Read more on MDN
let toggleAttribute: ( DomTypes.htmlbrElement, ~qualifiedName: string, ~force: bool=?,) => boolParameters
DomTypes.htmlbrElement string option< bool >Return type
booltogglePopover
let togglePopover: (DomTypes.htmlbrElement, ~force: bool=?) => bool