资 源 简 介
The datajoin plugin allows you to join an object’s property to dom elements in the page.
Attributes on the dom elements specify what property from the object should populate that element.
Once joined change events to those dom elements will update the values of those properties.
The plugin provides some default behavior for different dom elements although assignment to the dom element and to the object’s properties can be overridden.
The object can be unjoined from the dom elements so change events to those elements no longer update the object’s properties.