-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add possibility to transform/map binded values #30
Comments
+1 This is similar to what I suggested in #29 |
yep, what you're suggesting is more advanced and flexible just adding that my branch uses the "with" method which is a reservd keyword also (as is class) in JS/ECMAscript |
Closing this, you can now do: var map = new plates.Map();
map.className('pewpew').use(function render(data, value, tagbody) {
return 'pewpew' + data.pewpew + value;
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How about adding support for calling functions on binded values ?
I can think of having the "with" method as in:
or
see bae1fae for an example implementation
The text was updated successfully, but these errors were encountered: