[Ur] calling javascript code in <dyn>
Fabrice Leal
fabrice.leal.ch at gmail.com
Mon Oct 22 18:59:40 EDT 2018
Addendum: I never tried the onload on <img> from urweb, but on js land it
works
On Mon, Oct 22, 2018 at 11:50 PM Fabrice Leal <fabrice.leal.ch at gmail.com>
wrote:
> @AdamChlipala
>
> At the time I implemented an onload attribute for <div> on basis.ur and
> only later found out if was for no good on html/js land: the only onload
> that gets triggered is the one defined on <body>, setting onload for any
> other child tag has no "side effects"; so I scrapped that.
>
> Sorry for the vagueness :)
>
> I did end up using <active code={...} /> and that worked for me
>
--
---
Fabrice Leal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20181022/f9154cda/attachment.html>
More information about the Ur
mailing list