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"
문법
event.inputType
기술 세부 사항
반환 값: | 문자열 값, 완료된 작업 유형을 나타냅니다. |
---|
브라우저 지원
속성 | 크롬 | IE | 파이어폭스 | 사파리 | 오페라 |
---|---|---|---|---|---|
inputType | 60 | 지원하지 않음 | 지원하지 않음 | 지원 | 47 |