[Seaside] how to render access to a JS argument variable?
asqueaker at gmail.com
Fri Oct 9 01:46:12 UTC 2015
Found something. JSAlias.
> html span
> class: 'PufMessageWidget' ;
> id: (self assureHtmlIdUsing: html) ;
> asFunction: #('event')).
I gave up on onClick: since I guess its better to set up event
bindings through jQuery's API. This binding does what I want, no
html script defer with:
((html jQuery id: (self assureHtmlIdUsing: html)) onClick:
It seems like a pretty wordy way to write console.log(event), but the
intent reads clearly so, that's good..
More information about the seaside