JavaScript

JavaScript Intro

JavaScript Intro Quiz

JavaScript Intro Exercise

JavaScript Basic

JavaScript Basic Quiz

JavaScript Basic Exercise

JavaScript Advance

JavaScript Advance Quiz

JavaScript Advance Exercise

JavaScript ES6

JavaScript ES6 Quiz

JavaScript ES6 Exercise

JavaScript Array Methods and Properties

JavaScript String Methods and Properties

JavaScript Number Methods and Properties

JavaScript Math Properties and Methods

JavaScript Date Methods and Properties

JavaScript Global Methods and Properties

JavaScript RegExp Properties and Methods

JavaScript Class Methods and Keywords

JavaScript Errors, JSON and Booleans

JavaScript Statements

JavaScript Window History Object Properties and Methods

JavaScript Window Location Object Properties and Methods

JavaScript Window Screen Object Properties

JavaScript Window Navigator Object Properties and Methods

JavaScript Window Object Properties and Methods

JavaScript Console Object Methods

JavaScript Geolocation and Storage APIs

JavaScript CSSStyleDeclaration Object Methods and Properties

HTML DOM Documents Object Properties and Methods

DOM HTMLCollection Properties and Methods

HTML DOM Attributes Properties and Methods

HTML DOM Elements Properties and Methods

HTML DOM Style Object Properties

HTML DOM AnimationEvent Properties and Methods

HTML DOM ClipboardEvent Properties and Methods

HTML DOM DragEvent Properties and Methods

HTML DOM FocusEvent Properties and Methods

HTML DOM HashChangeEvent Properties and Methods

HTML DOM InputEvent Properties and Methods

HTML DOM KeyboardEvent Properties and Methods

HTML DOM MouseEvent Properties and Methods

HTML DOM PageTransitionEvent Properties and Methods

HTML DOM ProgressEvent Properties and Methods

HTML DOM StorageEvent Properties and Methods

HTML DOM TransitionEvent Properties and Methods

HTML DOM WheelEvent Properties and Methods

HTML DOM UiEvent Properties and Methods

HTML DOM TouchEvent Properties and Methods

The Event Object Properties and Methods

InputEvent inputType Property in JavaScript

InputEvent inputType Property in JavaScript

 

 

The inputType property is used for returning type of change that was done by event. Its possible values are:-

  1. deleteByComposition
  2. deleteCompositionText
  3. deleteWordBackward
  4. deleteWordForward
  5. deleteSoftLineBackward
  6. deleteSoftLineForward
  7. deleteEntireSoftLine
  8. deleteHardLineBackward
  9. deleteHardLineForward
  10. deleteByDrag
  11. deleteByCut
  12. deleteByContent
  13. deleteContentBackward
  14. deleteContentForward
  15. historyUndo
  16. historyRedo
  17. insertText
  18. insertReplacementText
  19. insertLineBreak
  20. insertParagraph
  21. insertOrderedList
  22. insertUnorderedList
  23. insertHorizontalRule
  24. insertFromYank
  25. insertFromDrop
  26. insertFromPaste
  27. insertTranspose
  28. insertCompositionText
  29. insertFromComposition
  30. insertLink
  31. formatBold
  32. formatItalic
  33. formatUnderline
  34. formatStrikethrough
  35. formatSuperscript
  36. formatSubscript
  37. formatJustifyFull
  38. formatJustifyCenter
  39. formatJustifyRight
  40. formatJustifyLeft
  41. formatIndent
  42. formatOutdent
  43. formatRemove
  44. formatSetBlockTextDirection
  45. formatSetInlineTextDirection
  46. formatBackColor
  47. formatFontColor
  48. formatFontName

 

Syntax:-

 

Its syntax is:- event.inputType

 

Return:-

 

Its return is:- a string containing what kind of action was done

Code Explanation

All Tutorials related to HTML DOM InputEvent Properties and Methods

All Sections related to JavaScript