domx-value
v0.2.13
Published
DOMx extension that makes it trivial to read and write rich, typed, nested model values to and from the DOM using name attributes.
Downloads
20
Maintainers
Readme
xValue is a DOMx that makes it trivial to read and write rich, typed, nested model values to and from the DOM using name attributes and ${name} placeholders in textContent.
Bower: bower install domx-value
NPM: npm install domx-value
Component: component install esha/domx-value
Full Version:
Download: domx-value.min.js or domx-value.js
Adds the xValue
getter/setter to DOM nodes and the queryName(name)
and queryNameAll(name)
functions to DOM nodes and lists.
Release History
- 2014-12-10 v0.1.0 (first independent release)
- 2014-12-23 v0.2.0 (s/xvalue-/x-value- for plugin attribute hooks)
- 2015-01-27 v0.2.5 (fix x-value-attr get/set/query, textContent that is all one var, better path resolution, more robust handling of x-repeat)
- 2015-02-06 v0.2.6 (faster and cleaner get/set of nameValue, especially w/x-value-attr)
- 2015-02-27 v0.2.10 (fix get/set of array values, support x-value-parent to repeat of array get/set on duplicate named elements that are children of the same unnamed element instead of sharing the array between them, fix useBaseValue for elements with child elements)
- 2015-04-14 v0.2.13 (smarter handling, 'checkable' property for inputs)