Ei kuvausta

classlist.json 6.4KB

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