input-event.json 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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. "18":"y #3 #5"
  47. },
  48. "firefox":{
  49. "2":"u",
  50. "3":"a #2 #3 #4",
  51. "3.5":"a #2 #3 #4",
  52. "3.6":"y #3 #4",
  53. "4":"y #3 #4",
  54. "5":"y #3 #4",
  55. "6":"y #3 #4",
  56. "7":"y #3 #4",
  57. "8":"y #3 #4",
  58. "9":"y #3 #4",
  59. "10":"y #3 #4",
  60. "11":"y #3 #4",
  61. "12":"y #3 #4",
  62. "13":"y #3 #4",
  63. "14":"y #3 #4",
  64. "15":"y #3 #4",
  65. "16":"y #3 #4",
  66. "17":"y #3 #4",
  67. "18":"y #3 #4",
  68. "19":"y #3 #4",
  69. "20":"y #3 #4",
  70. "21":"y #3 #4",
  71. "22":"y #3 #4",
  72. "23":"y #3 #4",
  73. "24":"y #3 #4",
  74. "25":"y #3 #4",
  75. "26":"y #3 #4",
  76. "27":"y #3 #4",
  77. "28":"y #3 #4",
  78. "29":"y #3 #4",
  79. "30":"y #3 #4",
  80. "31":"y #3 #4",
  81. "32":"y #3 #4",
  82. "33":"y #3 #4",
  83. "34":"y #3 #4",
  84. "35":"y #3 #4",
  85. "36":"y #3 #4",
  86. "37":"y #3 #4",
  87. "38":"y #3 #4",
  88. "39":"y #3 #4",
  89. "40":"y #3 #4",
  90. "41":"y #3 #4",
  91. "42":"y #3 #4",
  92. "43":"y #3 #4",
  93. "44":"y #3 #4",
  94. "45":"y #3 #4",
  95. "46":"y #3 #4",
  96. "47":"y #3 #4",
  97. "48":"y #3 #4",
  98. "49":"y",
  99. "50":"y",
  100. "51":"y",
  101. "52":"y",
  102. "53":"y",
  103. "54":"y",
  104. "55":"y",
  105. "56":"y",
  106. "57":"y",
  107. "58":"y",
  108. "59":"y",
  109. "60":"y",
  110. "61":"y",
  111. "62":"y",
  112. "63":"y",
  113. "64":"y",
  114. "65":"y",
  115. "66":"y",
  116. "67":"y",
  117. "68":"y"
  118. },
  119. "chrome":{
  120. "4":"u",
  121. "5":"u",
  122. "6":"u",
  123. "7":"u",
  124. "8":"u",
  125. "9":"u",
  126. "10":"u",
  127. "11":"u",
  128. "12":"u",
  129. "13":"u",
  130. "14":"u",
  131. "15":"y #3 #4",
  132. "16":"y #3 #4",
  133. "17":"y #3 #4",
  134. "18":"y #3 #4",
  135. "19":"y #3 #4",
  136. "20":"y #3 #4",
  137. "21":"y #3 #4",
  138. "22":"y #3 #4",
  139. "23":"y #3 #4",
  140. "24":"y #3 #4",
  141. "25":"y #3 #4",
  142. "26":"y #3 #4",
  143. "27":"y #3 #4",
  144. "28":"y #3 #4",
  145. "29":"y #3 #4",
  146. "30":"y #3 #4",
  147. "31":"y #3 #4",
  148. "32":"y #3 #4",
  149. "33":"y #3 #4",
  150. "34":"y #3 #4",
  151. "35":"y #4",
  152. "36":"y #4",
  153. "37":"y #4",
  154. "38":"y #4",
  155. "39":"y #4",
  156. "40":"y #4",
  157. "41":"y #4",
  158. "42":"y #4",
  159. "43":"y #4",
  160. "44":"y #4",
  161. "45":"y #4",
  162. "46":"y #4",
  163. "47":"y #4",
  164. "48":"y #4",
  165. "49":"y #4",
  166. "50":"y #4",
  167. "51":"y #4",
  168. "52":"y #4",
  169. "53":"y #4",
  170. "54":"y #4",
  171. "55":"y #4",
  172. "56":"y #4",
  173. "57":"y #4",
  174. "58":"y #4",
  175. "59":"y #4",
  176. "60":"y #4",
  177. "61":"y #4",
  178. "62":"y #4",
  179. "63":"y #4",
  180. "64":"y #4",
  181. "65":"y #4",
  182. "66":"y",
  183. "67":"y",
  184. "68":"y",
  185. "69":"y",
  186. "70":"y",
  187. "71":"y",
  188. "72":"y",
  189. "73":"y",
  190. "74":"y",
  191. "75":"y",
  192. "76":"y"
  193. },
  194. "safari":{
  195. "3.1":"u",
  196. "3.2":"u",
  197. "4":"u",
  198. "5":"u",
  199. "5.1":"y #3 #4",
  200. "6":"u",
  201. "6.1":"y #4",
  202. "7":"y #4",
  203. "7.1":"y #4",
  204. "8":"y #4",
  205. "9":"y #4",
  206. "9.1":"y #4",
  207. "10":"y #4",
  208. "10.1":"y #4",
  209. "11":"y #4",
  210. "11.1":"y #4",
  211. "12":"y #4",
  212. "12.1":"y #4",
  213. "TP":"y #4"
  214. },
  215. "opera":{
  216. "9":"u",
  217. "9.5-9.6":"u",
  218. "10.0-10.1":"u",
  219. "10.5":"u",
  220. "10.6":"u",
  221. "11":"u",
  222. "11.1":"u",
  223. "11.5":"u",
  224. "11.6":"a #2",
  225. "12":"u",
  226. "12.1":"y",
  227. "15":"y #3 #4",
  228. "16":"y #3 #4",
  229. "17":"y #3 #4",
  230. "18":"y #3 #4",
  231. "19":"y #3 #4",
  232. "20":"y #3 #4",
  233. "21":"y #3 #4",
  234. "22":"y #4",
  235. "23":"y #4",
  236. "24":"y #4",
  237. "25":"y #4",
  238. "26":"y #4",
  239. "27":"y #4",
  240. "28":"y #4",
  241. "29":"y #4",
  242. "30":"y #4",
  243. "31":"y #4",
  244. "32":"y #4",
  245. "33":"y #4",
  246. "34":"y #4",
  247. "35":"y #4",
  248. "36":"y #4",
  249. "37":"y #4",
  250. "38":"y #4",
  251. "39":"y #4",
  252. "40":"y #4",
  253. "41":"y #4",
  254. "42":"y #4",
  255. "43":"y #4",
  256. "44":"y #4",
  257. "45":"y #4",
  258. "46":"y #4",
  259. "47":"y #4",
  260. "48":"y #4",
  261. "49":"y #4",
  262. "50":"y #4",
  263. "51":"y #4",
  264. "52":"y",
  265. "53":"y",
  266. "54":"y",
  267. "55":"y",
  268. "56":"y",
  269. "57":"y",
  270. "58":"y"
  271. },
  272. "ios_saf":{
  273. "3.2":"u",
  274. "4.0-4.1":"u",
  275. "4.2-4.3":"u",
  276. "5.0-5.1":"y #3 #4",
  277. "6.0-6.1":"y #3 #4",
  278. "7.0-7.1":"y #3 #4",
  279. "8":"y #4",
  280. "8.1-8.4":"y #4",
  281. "9.0-9.2":"y #4",
  282. "9.3":"y #4",
  283. "10.0-10.2":"y #4",
  284. "10.3":"y #4",
  285. "11.0-11.2":"y #4",
  286. "11.3-11.4":"y #4",
  287. "12.0-12.1":"y #4",
  288. "12.2":"y #4"
  289. },
  290. "op_mini":{
  291. "all":"n"
  292. },
  293. "android":{
  294. "2.1":"u",
  295. "2.2":"u",
  296. "2.3":"y #3 #4",
  297. "3":"y #3 #4",
  298. "4":"y #3 #4",
  299. "4.1":"y #3 #4",
  300. "4.2-4.3":"y #3 #4",
  301. "4.4":"y #3 #4",
  302. "4.4.3-4.4.4":"y #4",
  303. "67":"y #4"
  304. },
  305. "bb":{
  306. "7":"y #3 #4",
  307. "10":"y #4"
  308. },
  309. "op_mob":{
  310. "10":"y",
  311. "11":"y",
  312. "11.1":"y",
  313. "11.5":"y",
  314. "12":"y",
  315. "12.1":"y",
  316. "46":"y #4"
  317. },
  318. "and_chr":{
  319. "71":"y #4"
  320. },
  321. "and_ff":{
  322. "64":"y #3 #4"
  323. },
  324. "ie_mob":{
  325. "10":"y #3 #5",
  326. "11":"y #3 #5"
  327. },
  328. "and_uc":{
  329. "11.8":"y #3 #4"
  330. },
  331. "samsung":{
  332. "4":"y #4",
  333. "5.0-5.4":"y #4",
  334. "6.2-6.4":"y #4",
  335. "7.2-7.4":"y #4",
  336. "8.2":"y #4"
  337. },
  338. "and_qq":{
  339. "1.2":"y #4"
  340. },
  341. "baidu":{
  342. "7.12":"y #4"
  343. }
  344. },
  345. "notes":"",
  346. "notes_by_num":{
  347. "1":"Doesn't fire an `input` event when deleting text (via Backspace, Delete, Cut, etc.).",
  348. "2":"Doesn't fire an `input` event when drag-and-dropping text into an `<input>` or `<textarea>`.",
  349. "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).",
  350. "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).",
  351. "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)."
  352. },
  353. "usage_perc_y":96.17,
  354. "usage_perc_a":0.22,
  355. "ucprefix":false,
  356. "parent":"",
  357. "keywords":"oninput",
  358. "ie_id":"",
  359. "chrome_id":"",
  360. "firefox_id":"",
  361. "webkit_id":"",
  362. "shown":true
  363. }