These are chat archives for canjs/canjs

5th
Oct 2015
Justin Meyer
@justinbmeyer
Oct 05 2015 15:27

@mjstahl asked:

on a Controls processors can I listed to multiple events like I can with jquery’s bind?
i.e.
"#drop-target dragover dragenter”: “handler”?

@mjstahl no, you can't do that
however, you could do
"#drop-target dragover": "handler",
"#drop-target dragenter": "handler"
the reason you can't do this is b/c we wouldn't be able to distinguish between events and the selector