Re: assigning multiple events

18 views
Skip to first unread message

Jonas Nicklas

unread,
Jul 11, 2012, 10:07:48 AM7/11/12
to seren...@googlegroups.com
Yes, your syntax is slightly wrong though:

Serenade.view('button[event:click=say event:dblclick=saygoodbye] "Say hello"')

/Jonas

On Wed, Jul 11, 2012 at 4:03 PM, Clemens Capitain <ckcap...@gmail.com> wrote:
> Hi,
> is it possible to assign multiple events to an element, e.g.
> Serenade.view('button[event:click=say, dblclick=saygoodbye] "Say
> hello"').render(model, controller)

Clemens Capitain

unread,
Jul 11, 2012, 12:22:47 PM7/11/12
to seren...@googlegroups.com
Thanks, good news. I should have guessed the syntax ;-)
Reply all
Reply to author
Forward
0 new messages