paperclip.BaseAttrDataBinding


paperclip.attrDataBinding(name, attrDataBindingClass)

Registers a attr data binding class for the data-bind attribute.

BaseAttrDataBinding(options)

Base class to extend when creating custom attr data binding.

node

the DOM node we're binding to

clip

the data binding script defined in the template

application

the application

scriptName

the script name registered to the binding class

script

the script defined within the clip