I tried that:
- it works when i say
signal (parent, onchange, child);
or
signal (myP, onchange, myImg);
to stay in your example.
- it does not work when i say
signal (child, onchange, child);
or
signal (myImg, onchange, myImg);
and
the event is only connected in the
parent DOM element myP!
Hi Beau,
as i stated in the answer to Jeremy,
i slightly missunderstood the behaviour
of signal in that sense that signal
would emulate an event, rather
then just calling the connected function
(more or less..).
But anyway, i will look into the Signal.js 's
source code to really understand