package melange-webapi
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
- 0.19.2
- 0.19.1
- 0.19.0
- 0.18.0
- 0.17.1 (2020-07-01)
- 0.17.0 (2020-06-29)
- 0.16.2 (2020-06-29)
- 0.16.1 (2020-06-24)
- 0.16.0 (2020-06-16)
- 0.15.9 (2020-03-14)
- 0.15.8 (2020-02-22)
- 0.15.6 (2020-02-08)
- 0.15.6 (2019-11-20)
- 0.15.5 - (2019-10-09)
- 0.15.4 - (2019-09-02)
- 0.15.3 - (2019-08-22)
- 0.15.2 - (2019-05-25)
- 0.15.1 - (2019-05-17)
- 0.15.0 - (2019-05-11)
- 0.14.4 - (2019-05-04)
- 0.14.3 - (2019-04-28)
- 0.14.0 - (2019-04-15)
- 0.13.6 - (2019-03-22)
- 0.13.5 - (2019-03-15)
- 0.13.4 - (2019-02-24)
- 0.13.3 - (2019-02-19)
- 0.13.2 - (2019-01-16)
- 0.13.1 - (2018-11-11)
- 0.13.0 - (2018-10-09)
- 0.12.0 - (2018-09-16)
- 0.11.0 - (2018-08-02)
- 0.10.0 - (2018-06-14)
- 0.9.1 - (2018-04-19)
- 0.9.0 - (2018-04-17)
- 0.8.0 - (2018-01-03)
- 0.7.0 - (2017-09-22)
- 0.6.1 - (2017-09-10)
- 0.6.0 - (2017-09-10)
Melange bindings to the DOM
Install
dune-project
Dependency
Authors
Maintainers
Sources
melange-webapi-0.20.0.tbz
sha256=eea28fba52c856cbd9a4b8f8cb429d3a2741e2fa402b0cde290a50566b318143
sha512=0cf2cecca9ce9666acded365e7a7e638b0dc5ff0e5079df90ec509a627a1b0f0c0f5ce9d7b0cfafda30c461f05b8329c800a16b5e21fa77b97051b7a4d3da915
doc/CHANGELOG.html
Unreleased
- Migrate to Melange
- Remove bsdoc
0.19.2
- Removed peer dependency on
bsdoc
0.19.1
- Removed dev dependency on
bsdocto allow smooth installs on non-Mac OS
0.19.0
- Added bindings to
ReadableStream - Added
Webapi.Url.makeWith - Deprecated
Webapi.Url.makeWithBasein favor ofWebapi.Url.makeWith - (Breaking) Fixed the binding for
Webapi.Url.URLSearchParams.entriesto return(string, string) - Added
Webapi.Dom.Node.replaceChild
0.18.0
- Upgraded to bs-platform@7.1.0 and added API doc generation
- Added
bs-fetchdependency forFormDatabindings - Added bindings for
BlobandFile - Deprecated
File._typeforFile.type_
0.17.1 (2020-07-01)
- Deprecated
Webapi.Dom.eventPhasein favour ofWebapi.Dom.EventPhase.t
0.17.0 (2020-06-29)
- (Breaking) fixed
Canvas2d.putImageData, unfortunately this needs to be a breaking change because the JavaScript method itself doesn't accept optional arguments
0.16.2 (2020-06-29)
- Fixed
document instanceof HTMLDocumentcheck to ensure it works across windows
0.16.1 (2020-06-24)
- Fixed
element instanceof HTMLElementcheck to ensure it works for elements from different windows - Un-deprecated the unsafe downcast functions
0.16.0 (2020-06-16)
- Fixed
DomStringMap.unsafeDeleteKeyfor BuckleScript 8 - Removed
mainfile frompackage.json - Removed JS outputs except for tests
- Enabled more warnings and errors
- Used
instanceofto implement downcasts and deprecated the unsafe downcasts
0.15.9 (2020-03-14)
- Added
ResizeObserver
0.15.8 (2020-02-22)
- Added
Window.performanceandPerformance.now
0.15.6 (2020-02-08)
WheelEventnow inherits the implementation ofMouseEvent
0.15.6 (2019-11-20)
- Added
DomStringMap - Changed
Window.open_to have optionalfeaturesargument
0.15.5 - (2019-10-09)
- Added
keypressevent handler API - Added
selectionchangeevent handler API - Added
Text.ofNode
0.15.4 - (2019-09-02)
- Added
Selection.setBaseAndExtent
0.15.3 - (2019-08-22)
- Added
NodeList.forEach - Added
Node.asNode
0.15.2 - (2019-05-25)
- Added
File.size
0.15.1 - (2019-05-17)
- Added
URLSearchParams.forEach - Added
Element.scrollByandElement.srollByWithOptions
0.15.0 - (2019-05-11)
- (Breaking) Changed
DomRectcoordinates to usefloatinstead ofint
0.14.4 - (2019-05-04)
- Added
File.name
0.14.3 - (2019-04-28)
- Added
width,height,setWidthandsetHeighttoCanvasElement
0.14.0 - (2019-04-15)
- Removed deprecated
Webapi.Dom.onloadfunction - Removed deprecated
Webapi.File.Urlmodule alias - Restructured internal module layout (non-breaking for modules accessed through the
Webapitop-level module, but breaking if internal*Remodules have been accessed directly) - Enforce private modules (effectively a formality and non-breaking)
0.13.6 - (2019-03-22)
- Added
HtmlElement.focusPreventScroll - Refined return type of
Node.cloneNodeandNode.cloneDeepNodeso it now returns the specific type of the cloned node.
0.13.5 - (2019-03-15)
- Added
Element.scrollTo,Element.scrollToWithOptions
0.13.4 - (2019-02-24)
- Added
URLSearchParams.makeWithDictandURLSearchParams.makeWithArray
0.13.3 - (2019-02-19)
- Added
bs.return nullabletoURLSearchParams.getsince it returnsnull, notundefinedand therefore does not autmatically conform to the runtime representation ofoptionas previosuly assumed.
0.13.2 - (2019-01-16)
- Fixed signature of
NamedNodeMap.toArray, which returnedelementbut should returnattr(considere non-breaking since it was just plain wrong) - Added
add...andremovePopStateEventListenertoWindow - Added
add...andremove...functions for touch and animation event listeners toEventTarget
0.13.1 - (2018-11-11)
- Added
add...andremove...functions for drag event listeners toEventTarget
0.13.0 - (2018-10-09)
- (Breaking) Requires bs-platform > 4.0.0
- (Breaking) Changed
FocusEvent.relatedTargetto returnoption - Added
HtmlFormElementandHtmlInputElement
0.12.0 - (2018-09-16)
- (Breaking) Fixed return type if
StorageEvent.oldValueandStorageEvent.newValue. They should benullable, but were not. - Added
UrlandUrlSearchParams - Deprecated
Webapi.File.Urlin favor ofWebapi.Url
0.11.0 - (2018-08-02)
EventTarget.dispatchEventnow take aDom.event_like(_)instead of justDom.event, so it will accept any event subtype.Window.pageXOffset,pageYOffset,scrollX,scrollY,scrollLeftandscrollTopnow returnfloats instead ofints, andWindow.scroll,scrollBy,scrollTo,setScrollLeftandsetScrollToptakefloats instead ofintsHtmlElement.offsetParentnow returns anoptionSelection.anchorNodeandSelection.focusNodenow returnoptionsElement.closestnow returns anoption
0.10.0 - (2018-06-14)
- Added inheritance of
HtmlElementand its ancestors toHtmlImageElement - Deprecated
HtmlImageElement.onload - Fixed inconsistencies with
HtmlImageElement.srcandHtmlImageElement.getSrc, breaking the API - Fleshed out
HtmlImageElement
0.9.1 - (2018-04-19)
- Renamed
Document.docTypetoDocument.doctypeto fix #95
0.9.0 - (2018-04-17)
- Support
bs-platform@3.0.0. If your app isn't using that version, then don't upgrade to0.9.0; otherwise, please do!
0.8.0 - (2018-01-03)
- Added
EventTarget.unsafeAsDocument,EventTarget.unsafeAsElementandEventTarget.unsafeAsWindowfunctions - Removed deprecated
Bs_webapimodule` - Added event-specific listener APIs to
EventTarget, e.g.EventTarget.addMouseMoveListener(mouseEvent => ...) - Added
requestCancellableAnimationFrameandcancelAnimationFrame - Fixed msising
@bs.returnannotations causing type unsoundness - Fixed typo in encoding of
insertPositiontype - Added
Dom.HtmlImageElement,FileandFile.Url - Fixed
HtmlElement.offsetParentreturningintinstead ofDom.Element
0.7.0 - (2017-09-22)
- Added
Webapimodule, DeprecatedBs_webapi - Removed deprecated Storage API
- Add
Document.unsafeAshtmlDocument,Element.unsafeAsHtmlElement. DeprecatedDocument.asHtmlDocument,Element.asHtmlElement,HtmlEleement.ofElement. - Changed
Dom.historyandDom.locationto usewindowinstead ofdocument
0.6.1 - (2017-09-10)
- Fix incorrect heuristic in
HtmlElement.ofElement
0.6.0 - (2017-09-10)
- Renamed createText to CreateTextNode, according to spec
- Deprecated Storage API, it's been upstreamed to
bs-platformasDom.Storage - Removed
ReasonJsnamespace. UseBs_webapiinstead
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
- 0.19.2
- 0.19.1
- 0.19.0
- 0.18.0
- 0.17.1 (2020-07-01)
- 0.17.0 (2020-06-29)
- 0.16.2 (2020-06-29)
- 0.16.1 (2020-06-24)
- 0.16.0 (2020-06-16)
- 0.15.9 (2020-03-14)
- 0.15.8 (2020-02-22)
- 0.15.6 (2020-02-08)
- 0.15.6 (2019-11-20)
- 0.15.5 - (2019-10-09)
- 0.15.4 - (2019-09-02)
- 0.15.3 - (2019-08-22)
- 0.15.2 - (2019-05-25)
- 0.15.1 - (2019-05-17)
- 0.15.0 - (2019-05-11)
- 0.14.4 - (2019-05-04)
- 0.14.3 - (2019-04-28)
- 0.14.0 - (2019-04-15)
- 0.13.6 - (2019-03-22)
- 0.13.5 - (2019-03-15)
- 0.13.4 - (2019-02-24)
- 0.13.3 - (2019-02-19)
- 0.13.2 - (2019-01-16)
- 0.13.1 - (2018-11-11)
- 0.13.0 - (2018-10-09)
- 0.12.0 - (2018-09-16)
- 0.11.0 - (2018-08-02)
- 0.10.0 - (2018-06-14)
- 0.9.1 - (2018-04-19)
- 0.9.0 - (2018-04-17)
- 0.8.0 - (2018-01-03)
- 0.7.0 - (2017-09-22)
- 0.6.1 - (2017-09-10)
- 0.6.0 - (2017-09-10)