inputType

The inputType read-only property of the InputEvent interface returns the type of change made to editable content.

MDN Reference