Note: This event fires when a document's selection state is changed.This event is also triggered by the element.