This project is archived and is in readonly mode.

#948 ✓wontfix

setOptions and events sub-object

Reported by Crystark | July 21st, 2010 @ 09:59 AM | in 2.0 (closed)


I was wondering why alot of objects allow you to set events through options using

events: {
'click' : myfunction
and others needs to have options like that :
'onClick' : myfunction

Shouldn't options also test the existence of the sub-object "events" ?
Or maybe you just want us to always use the onEvent way ?

Anyway, shouldn't there be only one way to declare events through initialization ?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket