Triggered whenever the user changes which layers are selected in a document.
The action context for this action contains three keys:
document: the document that the change occurred in.
oldSelection: a list of the previously selected layers.
newSelection: a list of the newly selected layers.
See something wrong or incomplete? Improve this page.