The selectionchange event of the Selection API is fired when the current Selection of a Document is changed.
selectionchange
Selection
Document
This event is not cancelable and does not bubble.