Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

MutationObserver API #139

Merged

Conversation

natefaubion
Copy link
Contributor

No description provided.

@garyb
Copy link
Member

garyb commented Jan 20, 2018

Finally got to it 😛. This thing looks pretty cool though, I wasn't aware of the API previously.

@natefaubion natefaubion merged commit 13e7a35 into purescript-deprecated:master Jan 28, 2018
@natefaubion natefaubion deleted the mutation-observer branch January 28, 2018 17:04
. (MutationRecord -> MutationObserver -> Eff (dom :: DOM | eff) Unit)
-> Eff (dom :: DOM | eff) MutationObserver

foreign import _observe :: forall eff r. Node -> Record r -> MutationObserver -> Eff (dom :: DOM | eff) Unit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might throw "An invalid or illegal string was specified"
https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver#MutationObserverInit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants