Question

I'm playing around with MooTools, including MooTools More.

I currently have a blank HTML page with a reference to both the core and the more js files. However, when I use var kb = Keyboard(), the page gets refreshed. I guess this is not what it is supposed to do.

What is the use of this, or what am I possibly doing wrong?

Was it helpful?

Solution

instantiate it with var kb = new Keyboard();

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top