Ziptie currently has no dependencies! Likely, a dependency on
lodash.assign will be added in the near future.
var foo = value: 'foo' ;var $bar = ;var zip =view:target: $barproperty: 'value'event: 'input'model:target: fooproperty: 'value';// foo and $bar are now linked. When a user inputs text on $bar, foo is updated. As soon as this Ziptie is created, the text of $bar is updated.// When the user types 'Testing - 1, 2, 3':console;// => 'Testing - 1, 2, 3'foovalue = 'Hello?';// On screen, $bar now contains the text 'Hello?'.// Cut the cord:zip;foovalue = 'Is this thing on?'// $bar still displays 'Hello?'.
Ziptie may be freely distributed under the MIT license, because freedom.