classlist.json 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. {
  2. "title":"classList (DOMTokenList)",
  3. "description":"Method of easily manipulating classes on elements, using the DOMTokenList object.",
  4. "spec":"https://dom.spec.whatwg.org/#dom-element-classlist",
  5. "status":"ls",
  6. "links":[
  7. {
  8. "url":"http://hacks.mozilla.org/2010/01/classlist-in-firefox-3-6/",
  9. "title":"Mozilla Hacks article"
  10. },
  11. {
  12. "url":"https://github.com/eligrey/classList.js",
  13. "title":"Polyfill script"
  14. },
  15. {
  16. "url":"http://docs.webplatform.org/wiki/dom/Element/classList",
  17. "title":"WebPlatform Docs"
  18. },
  19. {
  20. "url":"http://www.sitepoint.com/exploring-classlist-api/",
  21. "title":"SitePoint article"
  22. },
  23. {
  24. "url":"http://aurelio.audero.it/demo/classlist-api-demo.html",
  25. "title":"Demo using classList"
  26. },
  27. {
  28. "url":"https://developer.mozilla.org/en-US/docs/Web/API/Element.classList",
  29. "title":"MDN article"
  30. }
  31. ],
  32. "bugs":[
  33. {
  34. "description":"Opera (Presto) has `classList` support on SVG elements, but not on MathML elements."
  35. }
  36. ],
  37. "categories":[
  38. "DOM",
  39. "HTML5"
  40. ],
  41. "stats":{
  42. "ie":{
  43. "5.5":"p",
  44. "6":"p",
  45. "7":"p",
  46. "8":"p",
  47. "9":"p",
  48. "10":"a #1 #2 #3",
  49. "11":"a #1 #2 #3"
  50. },
  51. "edge":{
  52. "12":"y",
  53. "13":"y",
  54. "14":"y"
  55. },
  56. "firefox":{
  57. "2":"p",
  58. "3":"p",
  59. "3.5":"p",
  60. "3.6":"a #2 #3",
  61. "4":"a #2 #3",
  62. "5":"a #2 #3",
  63. "6":"a #2 #3",
  64. "7":"a #2 #3",
  65. "8":"a #2 #3",
  66. "9":"a #2 #3",
  67. "10":"a #2 #3",
  68. "11":"a #2 #3",
  69. "12":"a #2 #3",
  70. "13":"a #2 #3",
  71. "14":"a #2 #3",
  72. "15":"a #2 #3",
  73. "16":"a #2 #3",
  74. "17":"a #2 #3",
  75. "18":"a #2 #3",
  76. "19":"a #2 #3",
  77. "20":"a #2 #3",
  78. "21":"a #2 #3",
  79. "22":"a #2 #3",
  80. "23":"a #2 #3",
  81. "24":"a #3",
  82. "25":"a #3",
  83. "26":"y",
  84. "27":"y",
  85. "28":"y",
  86. "29":"y",
  87. "30":"y",
  88. "31":"y",
  89. "32":"y",
  90. "33":"y",
  91. "34":"y",
  92. "35":"y",
  93. "36":"y",
  94. "37":"y",
  95. "38":"y",
  96. "39":"y",
  97. "40":"y",
  98. "41":"y",
  99. "42":"y",
  100. "43":"y",
  101. "44":"y",
  102. "45":"y",
  103. "46":"y",
  104. "47":"y",
  105. "48":"y",
  106. "49":"y",
  107. "50":"y",
  108. "51":"y",
  109. "52":"y",
  110. "53":"y"
  111. },
  112. "chrome":{
  113. "4":"p",
  114. "5":"p",
  115. "6":"p",
  116. "7":"p",
  117. "8":"a #1 #2 #3",
  118. "9":"a #1 #2 #3",
  119. "10":"a #1 #2 #3",
  120. "11":"a #1 #2 #3",
  121. "12":"a #1 #2 #3",
  122. "13":"a #1 #2 #3",
  123. "14":"a #1 #2 #3",
  124. "15":"a #1 #2 #3",
  125. "16":"a #1 #2 #3",
  126. "17":"a #1 #2 #3",
  127. "18":"a #1 #2 #3",
  128. "19":"a #1 #2 #3",
  129. "20":"a #1 #2 #3",
  130. "21":"a #1 #2 #3",
  131. "22":"a #1 #2 #3",
  132. "23":"a #2 #3",
  133. "24":"a #3",
  134. "25":"a #3",
  135. "26":"a #3",
  136. "27":"a #3",
  137. "28":"y",
  138. "29":"y",
  139. "30":"y",
  140. "31":"y",
  141. "32":"y",
  142. "33":"y",
  143. "34":"y",
  144. "35":"y",
  145. "36":"y",
  146. "37":"y",
  147. "38":"y",
  148. "39":"y",
  149. "40":"y",
  150. "41":"y",
  151. "42":"y",
  152. "43":"y",
  153. "44":"y",
  154. "45":"y",
  155. "46":"y",
  156. "47":"y",
  157. "48":"y",
  158. "49":"y",
  159. "50":"y",
  160. "51":"y",
  161. "52":"y",
  162. "53":"y",
  163. "54":"y",
  164. "55":"y",
  165. "56":"y",
  166. "57":"y"
  167. },
  168. "safari":{
  169. "3.1":"p",
  170. "3.2":"p",
  171. "4":"p",
  172. "5":"p",
  173. "5.1":"a #1 #2 #3",
  174. "6":"a #1 #2 #3",
  175. "6.1":"a #1 #2 #3",
  176. "7":"y",
  177. "7.1":"y",
  178. "8":"y",
  179. "9":"y",
  180. "9.1":"y",
  181. "10":"y",
  182. "TP":"y"
  183. },
  184. "opera":{
  185. "9":"p",
  186. "9.5-9.6":"p",
  187. "10.0-10.1":"p",
  188. "10.5":"p",
  189. "10.6":"p",
  190. "11":"p",
  191. "11.1":"p",
  192. "11.5":"a #1 #2 #3",
  193. "11.6":"a #1 #2 #3",
  194. "12":"a #1 #2 #3",
  195. "12.1":"a #1 #2 #3",
  196. "15":"y",
  197. "16":"y",
  198. "17":"y",
  199. "18":"y",
  200. "19":"y",
  201. "20":"y",
  202. "21":"y",
  203. "22":"y",
  204. "23":"y",
  205. "24":"y",
  206. "25":"y",
  207. "26":"y",
  208. "27":"y",
  209. "28":"y",
  210. "29":"y",
  211. "30":"y",
  212. "31":"y",
  213. "32":"y",
  214. "33":"y",
  215. "34":"y",
  216. "35":"y",
  217. "36":"y",
  218. "37":"y",
  219. "38":"y",
  220. "39":"y",
  221. "40":"y",
  222. "41":"y",
  223. "42":"y",
  224. "43":"y"
  225. },
  226. "ios_saf":{
  227. "3.2":"p",
  228. "4.0-4.1":"p",
  229. "4.2-4.3":"p",
  230. "5.0-5.1":"a #1 #2 #3",
  231. "6.0-6.1":"a #1 #2 #3",
  232. "7.0-7.1":"y",
  233. "8":"y",
  234. "8.1-8.4":"y",
  235. "9.0-9.2":"y",
  236. "9.3":"y",
  237. "10-10.1":"y"
  238. },
  239. "op_mini":{
  240. "all":"p"
  241. },
  242. "android":{
  243. "2.1":"p",
  244. "2.2":"p",
  245. "2.3":"p",
  246. "3":"a #1 #2 #3",
  247. "4":"a #1 #2 #3",
  248. "4.1":"a #1 #2 #3",
  249. "4.2-4.3":"a #1 #2 #3",
  250. "4.4":"y",
  251. "4.4.3-4.4.4":"y",
  252. "53":"y"
  253. },
  254. "bb":{
  255. "7":"a #1 #2 #3",
  256. "10":"y"
  257. },
  258. "op_mob":{
  259. "10":"p",
  260. "11":"p",
  261. "11.1":"a #1 #2 #3",
  262. "11.5":"a #1 #2 #3",
  263. "12":"a #1 #2 #3",
  264. "12.1":"a #1 #2 #3",
  265. "37":"y"
  266. },
  267. "and_chr":{
  268. "54":"y"
  269. },
  270. "and_ff":{
  271. "50":"y"
  272. },
  273. "ie_mob":{
  274. "10":"a #1 #2 #3",
  275. "11":"a #1 #2 #3"
  276. },
  277. "and_uc":{
  278. "11":"a #1 #2 #3"
  279. },
  280. "samsung":{
  281. "4":"y"
  282. }
  283. },
  284. "notes":"",
  285. "notes_by_num":{
  286. "1":"Does not have support for `classList` on SVG or MathML elements.",
  287. "2":"Does not support the second parameter for the `toggle` method",
  288. "3":"Does not support multiple parameters for the `add()` & `remove()` methods"
  289. },
  290. "usage_perc_y":78.08,
  291. "usage_perc_a":15,
  292. "ucprefix":false,
  293. "parent":"",
  294. "keywords":"",
  295. "ie_id":"",
  296. "chrome_id":"",
  297. "firefox_id":"",
  298. "webkit_id":"",
  299. "shown":true
  300. }