What is enabled in the context?
I don't see where i'm going to use this.
Do you have a code of your own that uses it and could you explain the code?

Have fun.

Fábio Miranda Costa
Engenheiro de Computação
http://meiocodigo.com


On Tue, Apr 14, 2009 at 10:31 PM, Mike <[email protected]> wrote:

>
> Can I propose a new method of <Element> called enableClass? Makes
> certain code much more compact.
>
> ... <snip> ..
>
> enableClass: function(className, isEnabled) {
>   (isEnabled) ? this.addClass(className) : this.removeClass
> (className);
> },
>
> ... <snip> ..
>
>

Reply via email to