Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (47 sloc) 1.38 KB

{{ properties: { category: "core api" } }}

This base class is incredibly useful if you're looking to extend the functionality of DOM elements. This comes handy especially when creating pollyfills for browsers that don't support certain DOM features, such as placeholder.

paperclip.nodeBinding(name, nodeBindingClass)

Registers a node name or attribute binding class


{{#example}} {{#block:"index-pc"}}

{{/}} {{#block:"textAttrBinding-js"}}

{{/}} {{#block:"index-js"}}

{{/}} {{/}}

override _onChange(text)

called whenever the attribute changes


the DOM node being bound to