暫無描述

input-event.json 7.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  1. {
  2. "title":"input event",
  3. "description":"The `input` event is fired when the user changes the value of an `<input>` element, `<select>` element, or `<textarea>` element. By contrast, the \"change\" event usually only fires after the form control has lost focus.",
  4. "spec":"https://html.spec.whatwg.org/multipage/forms.html#event-input-input",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"https://html.spec.whatwg.org/multipage/forms.html#send-select-update-notifications",
  9. "title":"Specification for `<select>` elements firing the `input` event"
  10. },
  11. {
  12. "url":"https://developer.mozilla.org/en-US/docs/Web/Events/input",
  13. "title":"MDN Web Docs - input event"
  14. },
  15. {
  16. "url":"https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/10182111--input-type-checkbox-type-radio-should-fire-in",
  17. "title":"Microsoft Edge feature request on UserVoice"
  18. }
  19. ],
  20. "bugs":[
  21. {
  22. "description":"Internet Explorer 10 and 11 fire the `input` event when an input field with a placeholder [is focused](https://connect.microsoft.com/IE/feedback/details/885747/ie-11-fires-the-input-event-when-a-input-field-with-placeholder-is-focused) or on page load when the placeholder [contains certain characters](https://jsfiddle.net/yiminghe/fm3rckaz/), like Chinese. "
  23. }
  24. ],
  25. "categories":[
  26. "DOM",
  27. "HTML5"
  28. ],
  29. "stats":{
  30. "ie":{
  31. "5.5":"n",
  32. "6":"n",
  33. "7":"n",
  34. "8":"n",
  35. "9":"a #1 #3 #5",
  36. "10":"y #3 #5",
  37. "11":"y #3 #5"
  38. },
  39. "edge":{
  40. "12":"y #3 #5",
  41. "13":"y #3 #5",
  42. "14":"y #3 #5",
  43. "15":"y #3 #5",
  44. "16":"y #3 #5",
  45. "17":"y #3 #5"
  46. },
  47. "firefox":{
  48. "2":"u",
  49. "3":"a #2 #3 #4",
  50. "3.5":"a #2 #3 #4",
  51. "3.6":"y #3 #4",
  52. "4":"y #3 #4",
  53. "5":"y #3 #4",
  54. "6":"y #3 #4",
  55. "7":"y #3 #4",
  56. "8":"y #3 #4",
  57. "9":"y #3 #4",
  58. "10":"y #3 #4",
  59. "11":"y #3 #4",
  60. "12":"y #3 #4",
  61. "13":"y #3 #4",
  62. "14":"y #3 #4",
  63. "15":"y #3 #4",
  64. "16":"y #3 #4",
  65. "17":"y #3 #4",
  66. "18":"y #3 #4",
  67. "19":"y #3 #4",
  68. "20":"y #3 #4",
  69. "21":"y #3 #4",
  70. "22":"y #3 #4",
  71. "23":"y #3 #4",
  72. "24":"y #3 #4",
  73. "25":"y #3 #4",
  74. "26":"y #3 #4",
  75. "27":"y #3 #4",
  76. "28":"y #3 #4",
  77. "29":"y #3 #4",
  78. "30":"y #3 #4",
  79. "31":"y #3 #4",
  80. "32":"y #3 #4",
  81. "33":"y #3 #4",
  82. "34":"y #3 #4",
  83. "35":"y #3 #4",
  84. "36":"y #3 #4",
  85. "37":"y #3 #4",
  86. "38":"y #3 #4",
  87. "39":"y #3 #4",
  88. "40":"y #3 #4",
  89. "41":"y #3 #4",
  90. "42":"y #3 #4",
  91. "43":"y #3 #4",
  92. "44":"y #3 #4",
  93. "45":"y #3 #4",
  94. "46":"y #3 #4",
  95. "47":"y #3 #4",
  96. "48":"y #3 #4",
  97. "49":"y",
  98. "50":"y",
  99. "51":"y",
  100. "52":"y",
  101. "53":"y",
  102. "54":"y",
  103. "55":"y",
  104. "56":"y",
  105. "57":"y",
  106. "58":"y",
  107. "59":"y",
  108. "60":"y",
  109. "61":"y"
  110. },
  111. "chrome":{
  112. "4":"u",
  113. "5":"u",
  114. "6":"u",
  115. "7":"u",
  116. "8":"u",
  117. "9":"u",
  118. "10":"u",
  119. "11":"u",
  120. "12":"u",
  121. "13":"u",
  122. "14":"u",
  123. "15":"y #3 #4",
  124. "16":"y #3 #4",
  125. "17":"y #3 #4",
  126. "18":"y #3 #4",
  127. "19":"y #3 #4",
  128. "20":"y #3 #4",
  129. "21":"y #3 #4",
  130. "22":"y #3 #4",
  131. "23":"y #3 #4",
  132. "24":"y #3 #4",
  133. "25":"y #3 #4",
  134. "26":"y #3 #4",
  135. "27":"y #3 #4",
  136. "28":"y #3 #4",
  137. "29":"y #3 #4",
  138. "30":"y #3 #4",
  139. "31":"y #3 #4",
  140. "32":"y #3 #4",
  141. "33":"y #3 #4",
  142. "34":"y #3 #4",
  143. "35":"y #4",
  144. "36":"y #4",
  145. "37":"y #4",
  146. "38":"y #4",
  147. "39":"y #4",
  148. "40":"y #4",
  149. "41":"y #4",
  150. "42":"y #4",
  151. "43":"y #4",
  152. "44":"y #4",
  153. "45":"y #4",
  154. "46":"y #4",
  155. "47":"y #4",
  156. "48":"y #4",
  157. "49":"y #4",
  158. "50":"y #4",
  159. "51":"y #4",
  160. "52":"y #4",
  161. "53":"y #4",
  162. "54":"y #4",
  163. "55":"y #4",
  164. "56":"y #4",
  165. "57":"y #4",
  166. "58":"y #4",
  167. "59":"y #4",
  168. "60":"y #4",
  169. "61":"y #4",
  170. "62":"y #4",
  171. "63":"y #4",
  172. "64":"y #4",
  173. "65":"y #4",
  174. "66":"y",
  175. "67":"y"
  176. },
  177. "safari":{
  178. "3.1":"u",
  179. "3.2":"u",
  180. "4":"u",
  181. "5":"u",
  182. "5.1":"y #3 #4",
  183. "6":"u",
  184. "6.1":"y #4",
  185. "7":"y #4",
  186. "7.1":"y #4",
  187. "8":"y #4",
  188. "9":"y #4",
  189. "9.1":"y #4",
  190. "10":"y #4",
  191. "10.1":"y #4",
  192. "11":"y #4",
  193. "11.1":"y #4",
  194. "TP":"y #4"
  195. },
  196. "opera":{
  197. "9":"u",
  198. "9.5-9.6":"u",
  199. "10.0-10.1":"u",
  200. "10.5":"u",
  201. "10.6":"u",
  202. "11":"u",
  203. "11.1":"u",
  204. "11.5":"u",
  205. "11.6":"a #2",
  206. "12":"u",
  207. "12.1":"y",
  208. "15":"y #3 #4",
  209. "16":"y #3 #4",
  210. "17":"y #3 #4",
  211. "18":"y #3 #4",
  212. "19":"y #3 #4",
  213. "20":"y #3 #4",
  214. "21":"y #3 #4",
  215. "22":"y #4",
  216. "23":"y #4",
  217. "24":"y #4",
  218. "25":"y #4",
  219. "26":"y #4",
  220. "27":"y #4",
  221. "28":"y #4",
  222. "29":"y #4",
  223. "30":"y #4",
  224. "31":"y #4",
  225. "32":"y #4",
  226. "33":"y #4",
  227. "34":"y #4",
  228. "35":"y #4",
  229. "36":"y #4",
  230. "37":"y #4",
  231. "38":"y #4",
  232. "39":"y #4",
  233. "40":"y #4",
  234. "41":"y #4",
  235. "42":"y #4",
  236. "43":"y #4",
  237. "44":"y #4",
  238. "45":"y #4",
  239. "46":"y #4",
  240. "47":"y #4",
  241. "48":"y #4",
  242. "49":"y #4",
  243. "50":"y #4",
  244. "51":"y #4",
  245. "52":"y"
  246. },
  247. "ios_saf":{
  248. "3.2":"u",
  249. "4.0-4.1":"u",
  250. "4.2-4.3":"u",
  251. "5.0-5.1":"y #3 #4",
  252. "6.0-6.1":"y #3 #4",
  253. "7.0-7.1":"y #3 #4",
  254. "8":"y #4",
  255. "8.1-8.4":"y #4",
  256. "9.0-9.2":"y #4",
  257. "9.3":"y #4",
  258. "10.0-10.2":"y #4",
  259. "10.3":"y #4",
  260. "11.0-11.2":"y #4",
  261. "11.3":"y #4"
  262. },
  263. "op_mini":{
  264. "all":"n"
  265. },
  266. "android":{
  267. "2.1":"u",
  268. "2.2":"u",
  269. "2.3":"y #3 #4",
  270. "3":"y #3 #4",
  271. "4":"y #3 #4",
  272. "4.1":"y #3 #4",
  273. "4.2-4.3":"y #3 #4",
  274. "4.4":"y #3 #4",
  275. "4.4.3-4.4.4":"y #4",
  276. "62":"y #4"
  277. },
  278. "bb":{
  279. "7":"y #3 #4",
  280. "10":"y #4"
  281. },
  282. "op_mob":{
  283. "10":"y",
  284. "11":"y",
  285. "11.1":"y",
  286. "11.5":"y",
  287. "12":"y",
  288. "12.1":"y",
  289. "37":"y #4"
  290. },
  291. "and_chr":{
  292. "64":"y #4"
  293. },
  294. "and_ff":{
  295. "57":"y #3 #4"
  296. },
  297. "ie_mob":{
  298. "10":"y #3 #5",
  299. "11":"y #3 #5"
  300. },
  301. "and_uc":{
  302. "11.8":"y #3 #4"
  303. },
  304. "samsung":{
  305. "4":"y #4",
  306. "5":"y #4",
  307. "6.2":"y #4"
  308. },
  309. "and_qq":{
  310. "1.2":"y #4"
  311. },
  312. "baidu":{
  313. "7.12":"y #4"
  314. }
  315. },
  316. "notes":"",
  317. "notes_by_num":{
  318. "1":"Doesn't fire an `input` event when deleting text (via Backspace, Delete, Cut, etc.).",
  319. "2":"Doesn't fire an `input` event when drag-and-dropping text into an `<input>` or `<textarea>`.",
  320. "3":"`<select>` doesn't fire `input` events. See [MS Edge bug](https://developer.microsoft.com/microsoft-edge/platform/issues/4660045/) and [Firefox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1024350).",
  321. "4":"Doesn't fire an `input` event when (un)checking a checkbox or radio button, or when changing the selected file(s) of an `<input type=\"file\">`. See [Chrome bug](https://code.google.com/p/chromium/issues/detail?id=534245), [WebKit bug](https://bugs.webkit.org/show_bug.cgi?id=149398), and [Firefox bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1206616).",
  322. "5":"Doesn't fire an `input` event when (un)checking a checkbox or radio button. See [MS Edge bug](https://connect.microsoft.com/IE/feedback/details/1883692)."
  323. },
  324. "usage_perc_y":94.68,
  325. "usage_perc_a":0.15,
  326. "ucprefix":false,
  327. "parent":"",
  328. "keywords":"oninput",
  329. "ie_id":"",
  330. "chrome_id":"",
  331. "firefox_id":"",
  332. "webkit_id":"",
  333. "shown":true
  334. }