An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# purescript-web-resize-observer

[![CI](https://github.com/nsaunders/purescript-web-resize-observer/workflows/CI/badge.svg?branch=master)](https://github.com/nsaunders/purescript-web-resize-observer/actions?query=workflow%3ACI+branch%3Amaster)
[![Latest release](http://img.shields.io/github/release/nsaunders/purescript-web-resize-observer.svg)](https://github.com/nsaunders/purescript-web-resize-observer/releases)
[![PureScript Registry](https://img.shields.io/badge/dynamic/json?color=informational&label=registry&query=$[%27web-resize-observer%27].version&url=https%3A%2F%2Fraw.githubusercontent.com%2Fpurescript%2Fpackage-sets%2Fmaster%2Fpackages.json)](https://github.com/purescript/registry)
[![Pursuit](https://pursuit.purescript.org/packages/purescript-web-resize-observer/badge)](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`.