Some pointers from a friend - currently I've noticed Behavior doesn't listen to new elements being inserted into the DOM. this blog post shows some methods for doing this. could be a cool addition, although a little hacky: http://devign.me/ohbehave-apply-behavior-to-elements/
On Sat, Jan 1, 2011 at 10:40 AM, Aaron Newton <[email protected]> wrote: > Typing on my phone. I'll give a longer reply tomorrow. > > On Dec 31, 2010, at 10:07 PM, אריה גלזר <[email protected]> wrote: > > So, as I was told - a new thread about Behavior. > <https://github.com/anutron/behavior>https://github.com/anutron/behavior > > I've went through the Docs so everything is much clearer but still - some > questions - > 1. Are there some live demos that I can look at to see how real widgets use > this? > > > Yeah, I'll send instructions tomorrow. If you can't wait, check out the > "behavior" branch of my mootools-development repo on github. > > > 2. I would like to see how extensions of behavior look like - and how the > assigned methods variable is used or interaction (I really really like this > pattern - very cool use of dependency injection). > > > Check out my more-behaviors repo. > > 3. I've noticed that Behavior uses ART, so 2 questions about that: a) What > parts of ART does it use? I failed to find any. b) Depending on the previous > q - how hard will it be to port it to normal apps? > > > It doesn't depend on ART. Where did you see that? > > > I would really like to see this become a part of moo (maybe a part of the > Moo UI lib?) > > > Maybe some day, we'll see. > > as a side note - when will we see some ART demos and guides? We've been > hearing about it for ages now > > > Check out the "art-widgets" branch of my mootools-development repo. > > I'll send some more details tomorrow when I'm not on my phone. > > Happy new year! > > > > -- > Arieh Glazer > אריה גלזר > 052-5348-561 > http://www.arieh.co.il > http://www.link-wd.co.il > > -- Arieh Glazer אריה גלזר 052-5348-561 http://www.arieh.co.il http://www.link-wd.co.il
