InputEvent inputType అంశం

నిర్వచనం మరియు వినియోగం

inputType ఇవెంట్ ద్వారా పూర్తి చేసిన మార్పు రకాన్ని అటువంటి అంశం ఇస్తుంది.

ప్రమాణాలు:

  • "insertText"
  • "insertReplacementText"
  • "insertLineBreak"
  • "insertParagraph"
  • "insertOrderedList"
  • "insertUnorderedList"
  • "insertHorizontalRule"
  • "insertFromYank"
  • "insertFromDrop"
  • "insertFromPaste"
  • "insertTranspose"
  • "insertCompositionText"
  • "insertFromComposition"
  • "insertLink"
  • "deleteByComposition"
  • "deleteCompositionText"
  • "deleteWordBackward"
  • "deleteWordForward"
  • "deleteSoftLineBackward"
  • "deleteSoftLineForward"
  • "deleteEntireSoftLine"
  • "deleteHardLineBackward"
  • "deleteHardLineForward"
  • "deleteByDrag"
  • "deleteByCut"
  • "deleteByContent"
  • "deleteContentBackward"
  • "deleteContentForward"
  • "historyUndo"
  • "historyRedo"
  • "formatBold"
  • "formatItalic"
  • "formatUnderline"
  • "formatStrikethrough"
  • "formatSuperscript"
  • "formatSubscript"
  • "formatJustifyFull"
  • "formatJustifyCenter"
  • "formatJustifyRight"
  • "formatJustifyLeft"
  • "formatIndent"
  • "formatOutdent"
  • "formatRemove"
  • "formatSetBlockTextDirection"
  • "formatSetInlineTextDirection"
  • "formatBackColor"
  • "formatFontColor"
  • "formatFontName"

ప్రతిరూపం

సంఘటన యొక్క ప్రవేశ రకం తిరిగి ఇవ్వండి:

function myFunction(event) {
  var x = event.inputType;
}

స్వయంగా ప్రయత్నించండి

సంకేతం

event.inputType

సాంకేతిక వివరాలు

తిరిగి వచ్చే విలువ పదబంధం విలువ, పూర్తి చేసిన చర్యను సూచిస్తుంది.

బ్రౌజర్ మద్దతు

అంశాలు చ్రోమ్ ఐఈ ఫైర్ఫాక్స్ సఫారీ ఆపెరా
inputType 60 మద్దతు లేదు మద్దతు లేదు మద్దతు 47

సంబంధిత పేజీలు

Document execCommand() పద్ధతి