DoneJS StealJS jQuery ++ FuncUnit DocumentJS
3.0.0
2.3.27

 

  • Github
  • Twitter
  • Chat
  • Forum
  • Guides
  • Core
    • can-component
    • can-compute
    • can-connect
      • behaviors
        • ./base/
        • ./cache-requests/
        • ./can/map/
        • ./can/ref/
        • ./constructor/callbacks-once/
        • ./constructor/
        • ./constructor/store/
          • stores
            • addInstanceReference
            • addListReference
            • deleteInstanceReference
            • deleteListReference
            • instanceStore
            • listStore
          • crud methods
            • destroy
            • get
            • getList
            • save
          • hydrators
            • hydrateInstance
            • hydrateList
            • hydratedInstance
            • hydratedList
        • ./data/callbacks/
        • ./data/callbacks-cache/
        • ./data/combine-requests/
        • ./data/localstorage-cache/
        • ./data/memory-cache/
        • ./data/parse/
        • ./data/url/
        • ./data/worker/
        • ./fall-through-cache/
        • ./real-time/
      • modules
        • ./can/base-map/
        • ./can/model/
        • ./can/super-map/
        • ./can/tag/
        • ./helpers/weak-reference-map
      • data types
        • DataInterface
        • Instance
        • InstanceInterface
        • List
        • ListData
    • can-define
    • can-define/list/list
    • can-define/map/map
    • can-route
    • can-route-pushstate
    • can-set
    • can-stache
    • can-stache/helpers/route
    • can-stache-bindings
  • Ecosystem
  • Infrastructure
  • Legacy
  • Bitovi
    • Bitovi.com
    • Blog
    • Consulting
    • Training
    • Open Source
  • Chat
  • Forum
  • Star
  • Follow @canjs
  • CanJS
  • /
  • Core
  • /
  • can-connect
  • /
  • ./constructor/store/
  • /
  • hydrateList
  • / On this page
    • hydrateList

      function

      Returns a list given raw data.

      • source

      connection.hydrateList( listData, set )

      Overwrites the base hydrateList so that if a matching list is in the listStore, that list will be updated with listData and returned. If there isn't a matching list, the base hydrateList will be called.

      Parameters

      1. listData {ListData}:

        List data to hyrate into a list type.

      2. set {Set}:

        The set that represents the data in listData.

      Returns

      {List}:

      A list from either the store or a newly created instance.

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