Module

Web.DOM.NodeList

Package
purescript-web-dom
Repository
purescript-web/purescript-web-dom

#length Source

length :: NodeList -> Effect Int

The number of items in a NodeList.

#item Source

item :: Int -> NodeList -> Effect (Maybe Node)

The item in a NodeList at the specified index, or Nothing if no such node exists.

#toArray Source

toArray :: NodeList -> Effect (Array Node)

The elements of a NodeList represented in an array.

Re-exports from Web.DOM.Internal.Types

#NodeList Source

data NodeList :: Type