angular_node_bind 0.1.1 copy "angular_node_bind: ^0.1.1" to clipboard
angular_node_bind: ^0.1.1 copied to clipboard

outdatedDart 1 only

Utilities to allow Angular templates to use Node.bind()

Angular Node Bind #

Utilities to allow Angular templates to use Node.bind().

###NodeBindDirective

NodeBindDirective lets you use Node.bind() in an Angular app. This means that you can bind to custom elements, including Polymer elements. The bindings are declared by expressions in attribute values surrounded by double-square-brackets, like so:

<input value="[[ name ]]">

This declares that the expression name should be bound to the value property of the element using Node.bind(). The advantages of using Node.bind are:

  • Node.bind() takes care of setting up the binding, including two-way bindings, eliminating the need for directives for every property for two-way bindings.
  • Custom elements that expose properties will be properly bound, again including two-way bindings. You can use the growing collection of custom element libraries in your Angular app.
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Utilities to allow Angular templates to use Node.bind()

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

angular, browser, polymer_ui_elements

More

Packages that depend on angular_node_bind