natashawylie/iviewer

Inconsistent signal naming

Closed this issue · 1 comments

I find it a bit inconsistent to have onAfterZoom / onStopDrag / onFinishLoad for similar events (fired after the onZoom / onDrag / (onLoad) ). Wouldn't it be more convenient to name them consistently onAfterZoom / onAfterDrag / onAfterLoad for instance?

It may have sense and the only reason we I do not want to make it is backwards compatibility. I keep rather strange event names as well as callbacks support, because changing these things may break someone's code immediately. So, from consumer point of view it will be better to have a bit inconsistent but stable API.