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

Description
Currently, getElementById is defined in the module DOM.Node.NonDocumentTypeChildNode with the following type:
getElementById :: forall eff. ElementId -> NonDocumentTypeChildNode -> Eff (dom :: DOM | eff) (Nullable Element)
Maybe I am misunderstanding something, but I don't think getElementById works on a single node level.. so I would rather expect this to be in DOM.Node.Document and to work on Document instead of NonDocumentTypeChildNode:
getElementById :: forall eff. ElementId -> Document -> Eff (dom :: DOM | eff) (Nullable Element)
See also: https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById