imgareaselect icon indicating copy to clipboard operation
imgareaselect copied to clipboard

update() should trigger callbacks

Open mchccc opened this issue 12 years ago • 3 comments

As the title says, I think that a call to the update() function should trigger most of the callbacks available.. What do you think?

mchccc avatar May 25 '12 10:05 mchccc

Yeah I agree. I'm banging my head against the fact that events don't fire if you assign a selection in the initial imgAreaSelect() call. I was hoping I could just call update() afterwards and force it.

drewish avatar Dec 06 '12 09:12 drewish

This would also be very convenient.

Similarly it would be nice to also trigger callbacks if initial selection dimensions are given to imgAreaSelect()

acrispino avatar Dec 11 '12 21:12 acrispino

Yeah, I am currently searching for a graceful way to trigger onSelectChange when I call setSelection from an instance of imgAreaSelect. My expectation was that calling setSelection would do this.

tonytopper avatar Nov 18 '13 20:11 tonytopper