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-util/dom
        • ./ajax/
        • ./attr/
        • ./child-nodes/
        • ./class-name/
        • ./data/
          • domData.cid
          • domData.clean
          • domData.expando
          • domData.get
          • domData.getCid
          • domData.set
        • ./dispatch/
        • ./document/
        • ./events/
        • ./frag/
        • ./mutate/
      • can-util/js
    • can-view-callbacks
    • can-view-live
    • can-view-model
    • can-view-nodelist
    • 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-util
  • /
  • can-util/dom
  • /
  • ./data/
  • /
  • domData.cid
  • / On this page
    • domData.cid

      function
      • source

      domData.cid.call(el)

      Returns

      {Number}:

      The value of the element's unique CID

      Set a unique identifier for the dom node, using the expando property.

      If a unique cid value has not yet been set for this element, set it using the expando property. Return the unique cid whether or not it is newly set

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