DoneJS StealJS jQuery ++ FuncUnit DocumentJS
3.0.0
2.3.27

 

  • Github
  • Twitter
  • Chat
  • Forum
  • Guides
  • Core
  • Ecosystem
  • Infrastructure
    • can-construct
    • can-control
    • can-event
    • can-event/async/async
    • can-event/batch/batch
    • can-observation
    • can-simple-map
    • can-util
    • can-view-callbacks
    • can-view-live
    • can-view-model
    • can-view-nodelist
      • types
        • NodeList
      • methods
        • first
        • last
        • nestList
        • nestReplacements
        • register
        • unregister
        • unregisterChildren
        • update
    • can-view-parser
    • can-view-scope
    • can-view-target
  • Legacy
  • Bitovi
    • Bitovi.com
    • Blog
    • Consulting
    • Training
    • Open Source
  • Chat
  • Forum
  • Star
  • Follow @canjs
  • CanJS
  • /
  • Infrastructure
  • /
  • can-view-nodelist
  • /
  • NodeList
  • / On this page
    • NodeList

      typedef

      A collection of nodes being managed by a part of a live-bound template and references to other collections.

      • source

      Array

      A NodeList is an array of nodes that a part of a live-bound template manages. For example {{name}} might manage a single text node while something like {{#each todos}}{{name}}{{/each}} might manage multiple nodes and other child.

      NodeLists are primarily used to teardown live binding. When a "parent" section of a template is updated, every sub-section needs to be torn down. NodeLists provide this structure.

      NOTE: The structure of a NodeList is purposefully not documented as it's subject to change.

      CanJS is part of DoneJS. Created and maintained by the core DoneJS team and Bitovi. Currently 3.0.0.