Kasi, thanks for the clarification. I was checking out the source of
More, but didn't make the connection as you did.
Thanks, I have been moving forward now ;)

Ryan, you are right, and I try to follow the Core/More basic
principles when writing classes these days, since 1.2 I guess (dirty
mock ups not counted, lol).
In fact, I try to copy as much of the logic seen in other classes and
those done by (core) mootools developers (thanks aaron)..

As far as the documentation, it could by expanded, but they don't feel
like "final" docs anyway: try using the search.. I never find anything
- hehe
The docs could do with more examples and specific cases, though, who
has time to update/make them!? Nobody!



On Jul 18, 11:31 pm, Ryan Florence <[email protected]> wrote:
> As a general rule, if the class attaches events, you'll have both an  
> attach and a detach method.
>
> Also, keep that in mind when writing your own classes.
>
> On Jul 18, 2009, at 3:00 PM, Sanford Whiteman wrote:
>
>
>
> >> In defense of the library, attach and detach are documented:
> >>http://mootools.net/docs/more/Drag/Drag#Drag:attach
>
> > But it's Scroller::attach/::detach that's being called.
>
> > -- Sandy

Reply via email to