You are correct in your assumptions.

If you don't put them up there then the user has to search through your whole class to find out which events it supports.

On Jan 4, 2010, at 12:14 PM, Rolf -nl wrote:

I never fully understood the use of the following:

/*
onClick: $empty,
onClose: $empty,
onWhatever: $empty,
...*/

in class options that some people put it. These are just for your
reference so you know these events are used in the class, right? (i
mean, they are commented out anyway) Personally I don't add em.... but
should I?

Reply via email to