If it's ok, I have related questions: what about creating custom
properties returned by "get" and "set": when should it be done? At

http://mootools.net/docs/Element/Element#Element-Properties

the example uses the "setAttribute" method: what is that for? When
should that be used? Also, the fact that the Tween is returned by
"get" rather than "retrieve" confuses me. Why is it get and not
retrieve? Is it that "get" allows for some custom actions upon "get"?

Michal.

On Dec 29, 4:30 pm, nutron <[email protected]> wrote:
> I just went ahead and posted this to my blog, as my answer, I thought, might
> be useful to others to read. Includes code examples and whatnot.
>
> http://www.clientcide.com/your-questions/the-difference-between-eleme...
>
> On Mon, Dec 29, 2008 at 2:26 AM, stratboy (via Nabble) <
> [email protected]<ml-user%[email protected]>
>
>
>
> > wrote:
>
> > Hi!
>
> > after a lot of mootools programming and docs studies, I still have a
> > little question:
>
> > when should I use get/set and when store/retrieve? Or, in other words,
> > what's the best use for get/set and what's the best for store/
> > retrieve?
>
> > ------------------------------
> >  View message @
> >http://n2.nabble.com/get-set-vs.-store-retrieve-tp2077828p2077828.html
> > To start a new topic under MooTools Users, email
> > [email protected]<ml-node%[email protected]>
> > To unsubscribe from MooTools Users, click here< (link removed) >.
>
> -----
> The MooTools Tutorial:  http://www.mootorial.comwww.mootorial.com
> Clientcide:  http://www.clientcide.comwww.clientcide.com
> --
> View this message in 
> context:http://n2.nabble.com/get-set-vs.-store-retrieve-tp2077828p2089367.html
> Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to