input-event.json 7.5 KB

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