Selection changed event

There are no document events. There is an update() method that’s called when selection changes in your plugin panel. This contains all updates to a document like move, resize and selection change.