문제

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?

도움이 되었습니까?

해결책

instantiate it with var kb = new Keyboard();

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top