In my class I build an element:

new Element('div',{
        'events': {
                this.options.labelEvent: this.show.bind(this, index)
        }
});

I'd love to have the event added here be an option, but I get a parse error.

Any tips?

Reply via email to