https://github.com/nsaunders/purescript-web-resize-observer
Type definitions and low level interface implementations for the W3C Resize Observer specification.
https://github.com/nsaunders/purescript-web-resize-observer
Last synced: about 1 year ago
JSON representation
Type definitions and low level interface implementations for the W3C Resize Observer specification.
- Host: GitHub
- URL: https://github.com/nsaunders/purescript-web-resize-observer
- Owner: nsaunders
- License: mit
- Created: 2021-04-03T18:46:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-24T17:38:33.000Z (over 2 years ago)
- Last Synced: 2025-01-28T20:12:35.344Z (over 1 year ago)
- Language: PureScript
- Homepage:
- Size: 308 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# purescript-web-resize-observer
[](https://github.com/nsaunders/purescript-web-resize-observer/actions?query=workflow%3ACI+branch%3Amaster)
[](https://github.com/nsaunders/purescript-web-resize-observer/releases)
[](https://github.com/purescript/registry)
[](https://pursuit.purescript.org/packages/purescript-web-resize-observer)
Type definitions and low level interface implementations for the [W3C Resize Observer specification](https://www.w3.org/TR/resize-observer-1/).
## Installation
`spago install web-resize-observer`
## Documentation
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-web-resize-observer).
## Example
You can see a simple example [here](https://nsaunders.dev/purescript-web-resize-observer/example) ([source](example/Main.purs)). Or, to build it yourself, just run `npm run-script example`.