Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
batman.js
Conversations
About
Batman.Object accessors with arguments
5 views
Skip to first unread message
Robert Mosolgo
unread,
Jun 27, 2014, 12:26:07 PM
6/27/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to batm...@googlegroups.com
Hi everyone,
I recently learned that accessors can take arguments, so I wrote a short blog post about it:
http://rmosolgo.github.io/blog/2014/06/27/batman-dot-js-accessors-as-methods/
As described there, this is HUGE for situations where you need to calculate a value based on 2 (or more) Batman.Objects and you need the value to stay updated in view bindings. It's made my life much easier :)
Here's where Justin/pushrax told me about it:
https://github.com/batmanjs/batman/pull/923#issuecomment-42135061
I hope to get some proper documentation up soon, too!
robert
Reply all
Reply to author
Forward
0 new messages