domData.get
domData.get.call(el, key)
Get data that was stored in a DOM Node using the specified key
.
var domData = require("can-util/dom/data/data");
var metadata = domData.get.call(el, "metadata");
Parameters
- key
{String}
:A string used as a unique key for storing data associated with this DOM Node.