I was able to get an answer from the Polymer slack community. My issue is 
that the code I was referencing was using Polymer 2x, whereas I'm using 
Polymer 1.6.1. In 1.x, creating a binding using foo="[[bar]]" automatically 
assumes that bar is a property of the current element, whereas in 2x, bar 
could either be a property or a function. In 1x, to do what I need to do, I 
have to define a property that returns similar:

foo: {
   type: Function,
   value: function() {
      return function(value) {
         // do something with value here and return it
      }
   }
}

On Friday, March 10, 2017 at 9:58:51 AM UTC-8, [email protected] wrote:
>
> in  
> https://github.com/David-Mulder/paper-datatable/blob/master/demo/paper-datatable/filter.html#L49
>  
>  the binding is using {{ }}  but your code is using [ ]  
>
> have you tried changing to {{ }}  ?
>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/320fdbf9-0dcb-4ccb-95e6-7616accd19f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to