InputEvent inputType Özellik
Örnek
Olayın ilgili olduğu girdi türünü döndürün:
function myFunction(event) {
var x = event.inputType;
}
Tanım ve Kullanım
Özellik inputType
, olay tarafından yapılan değişikliğin türünü döndürür.
Olası değerler:
"InsertText""insertreplaxementtext"
"insertlineBreak"
"insertlineRebreak"
"insertouredList"
"insertouredList"
"insertoRizontalrule"
"inserthorizontalrule"
"insertfromdrop"
"insertrompthitt"
"insertfrompromposition"
"insertLink"
"DeleteByComposition"
"DeleteCompositionText" "
DeleteBositionBositionText"
"
"
"deleteWordForward"
"deleteSoftLineBackward"
"deleteSoftLineForward"
"deleteEntireSoftLine"
"deleteHardLineBackward"
"deleteHardLineForward"
"deleteByDrag"
"deleteByCut"
"deleteByContent"
"deleteContentBackward"
"deleteContentForward"
"historyGeri Al"
"historyRedo"
"formatBold"
"formatItalic"
"formatUnderline"
"format Strikethrough" "formatSuperscript" "
formatSubscript " " formatJustifyFull" "format" tformatCenter" "formatJustify " tCenter " " formatRemove" "formatSetBlockTextDirection" "formatSetInlineTextDirection" "formatBackColor" "formatFontColor" "formatFontName"
Tarayıcı Desteği
Property | |||||
---|---|---|---|---|---|
inputType | 60 | Not supported | Not supported | Yes | 47 |
Sözdizimi
event.inputType
Teknik detaylar
Geri dönüş değeri: | Ne tür bir eylemin yapıldığını gösteren bir String |
---|
İlgili Sayfalar
Dom Belgesi execCommand() Yöntemi