Closed tristanls closed 13 years ago
We had a need for setting multiple attributes and the tag value. For example:
This commit extends the data-bind functionality so that the above could be written as:
var op = $$( { value: "special.format.value", label: "Special Format Label" }, '<option data-bind="label, value value"></option>' );
note: the non-attribute data-bind needs to be first if it exists, rest is comma separated attribute variable pairs
I'd be happy to chat further.
Cheers!
Found a bug, going to rework...
Resubmitted as #34
We had a need for setting multiple attributes and the tag value. For example:
This commit extends the data-bind functionality so that the above could be written as:
note: the non-attribute data-bind needs to be first if it exists, rest is comma separated attribute variable pairs
I'd be happy to chat further.
Cheers!