New issue
 Projects > js > Issues > Docs #3839

Information on "event" class missing

Docs #3839 [Closed]
ZippoLag 2014-01-24 20:24 . Updated almost 3 years ago

I was looking at the functions for handling events (for example @onMouseMoved@: http://www.cocos2d-x.org/reference/html5-js/V2.2.2/symbols/cc.Layer.html#onMouseMoved ) on the documentation and noticed that the "event" parameter is never described, so I can't be sure how to access it's properties except by trial and error.

Please add propper documents for this class. Big thanks.

ludingping 2014-01-27 02:22
  • Assignee set to ludingping
ZippoLag 2014-01-27 02:30

On a related note: the paremeter "touch" on @onTouchBegan@, etc. (and it's array form for @onTouchesBegan@, etc) also needs proper documents.

ludingping 2014-01-27 03:22

Thank you, Sebastián.:)

ludingping 2014-01-31 20:17
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:abe386e3edc1e53d47ba793cd1a4f1dcbf011edf.

Atom PDF

Status:Closed
Start date:2014-01-24
Priority:Low
Due date:
Assignee:ludingping
% Done:

100%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.