{ "title":"scrollIntoView", "description":"The `Element.scrollIntoView()` method scrolls the current element into the visible area of the browser window. Parameters can be provided to set the position inside the visible area as well as whether scrolling should be instant or smooth.", "spec":"https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview", "status":"wd", "links":[ { "url":"https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView", "title":"MDN Web Docs - scrollIntoView" }, { "url":"http://iamdustan.com/smoothscroll/", "title":"smooth scroll polyfill : polyfill for smooth behavior option" } ], "bugs":[ ], "categories":[ "DOM", "JS API" ], "stats":{ "ie":{ "5.5":"n", "6":"n", "7":"n", "8":"a #1", "9":"a #1", "10":"a #1", "11":"a #1" }, "edge":{ "12":"a #1", "13":"a #1", "14":"a #1", "15":"a #1", "16":"a #1", "17":"a #1", "18":"a #1" }, "firefox":{ "2":"a #1", "3":"a #1", "3.5":"a #1", "3.6":"a #1", "4":"a #1", "5":"a #1", "6":"a #1", "7":"a #1", "8":"a #1", "9":"a #1", "10":"a #1", "11":"a #1", "12":"a #1", "13":"a #1", "14":"a #1", "15":"a #1", "16":"a #1", "17":"a #1", "18":"a #1", "19":"a #1", "20":"a #1", "21":"a #1", "22":"a #1", "23":"a #1", "24":"a #1", "25":"a #1", "26":"a #1", "27":"a #1", "28":"a #1", "29":"a #1", "30":"a #1", "31":"a #1", "32":"a #1", "33":"a #1", "34":"a #1", "35":"a #1", "36":"y", "37":"y", "38":"y", "39":"y", "40":"y", "41":"y", "42":"y", "43":"y", "44":"y", "45":"y", "46":"y", "47":"y", "48":"y", "49":"y", "50":"y", "51":"y", "52":"y", "53":"y", "54":"y", "55":"y", "56":"y", "57":"y", "58":"y", "59":"y", "60":"y", "61":"y", "62":"y", "63":"y", "64":"y", "65":"y" }, "chrome":{ "4":"a #1", "5":"a #1", "6":"a #1", "7":"a #1", "8":"a #1", "9":"a #1", "10":"a #1", "11":"a #1", "12":"a #1", "13":"a #1", "14":"a #1", "15":"a #1", "16":"a #1", "17":"a #1", "18":"a #1", "19":"a #1", "20":"a #1", "21":"a #1", "22":"a #1", "23":"a #1", "24":"a #1", "25":"a #1", "26":"a #1", "27":"a #1", "28":"a #1", "29":"a #1", "30":"a #1", "31":"a #1", "32":"a #1", "33":"a #1", "34":"a #1", "35":"a #1", "36":"a #1", "37":"a #1", "38":"a #1", "39":"a #1", "40":"a #1", "41":"a #1", "42":"a #1", "43":"a #1", "44":"a #1", "45":"a #1", "46":"a #1", "47":"a #1", "48":"a #1", "49":"a #1", "50":"a #1", "51":"a #1", "52":"a #1", "53":"a #1", "54":"a #1", "55":"a #1", "56":"a #1", "57":"a #1", "58":"a #1", "59":"a #1", "60":"a #1", "61":"y", "62":"y", "63":"y", "64":"y", "65":"y", "66":"y", "67":"y", "68":"y", "69":"y", "70":"y", "71":"y", "72":"y", "73":"y" }, "safari":{ "3.1":"n", "3.2":"n", "4":"n", "5":"n", "5.1":"a #1", "6":"a #1", "6.1":"a #1", "7":"a #1", "7.1":"a #1", "8":"a #1", "9":"a #1", "9.1":"a #1", "10":"a #1", "10.1":"a #1", "11":"a #1", "11.1":"a #1", "12":"a #1", "TP":"a #1" }, "opera":{ "9":"n", "9.5-9.6":"n", "10.0-10.1":"n", "10.5":"n", "10.6":"n", "11":"u", "11.1":"u", "11.5":"u", "11.6":"a #1", "12":"a #1", "12.1":"a #1", "15":"a #1", "16":"a #1", "17":"a #1", "18":"a #1", "19":"a #1", "20":"a #1", "21":"a #1", "22":"a #1", "23":"a #1", "24":"a #1", "25":"a #1", "26":"a #1", "27":"a #1", "28":"a #1", "29":"a #1", "30":"a #1", "31":"a #1", "32":"a #1", "33":"a #1", "34":"a #1", "35":"a #1", "36":"a #1", "37":"a #1", "38":"a #1", "39":"a #1", "40":"a #1", "41":"a #1", "42":"a #1", "43":"a #1", "44":"a #1", "45":"a #1", "46":"a #1", "47":"a #1", "48":"y", "49":"y", "50":"y", "51":"y", "52":"y", "53":"y", "54":"y", "55":"y", "56":"y" }, "ios_saf":{ "3.2":"u", "4.0-4.1":"u", "4.2-4.3":"u", "5.0-5.1":"a #1", "6.0-6.1":"a #1", "7.0-7.1":"a #1", "8":"a #1", "8.1-8.4":"a #1", "9.0-9.2":"a #1", "9.3":"a #1", "10.0-10.2":"a #1", "10.3":"a #1", "11.0-11.2":"a #1", "11.3-11.4":"a #1", "12":"a #1" }, "op_mini":{ "all":"n" }, "android":{ "2.1":"u", "2.2":"u", "2.3":"a #1", "3":"a #1", "4":"a #1", "4.1":"a #1", "4.2-4.3":"a #1", "4.4":"a #1", "4.4.3-4.4.4":"a #1", "67":"a #1" }, "bb":{ "7":"a #1", "10":"a #1" }, "op_mob":{ "10":"a #1", "11":"a #1", "11.1":"a #1", "11.5":"a #1", "12":"a #1", "12.1":"a #1", "46":"a #1" }, "and_chr":{ "69":"y" }, "and_ff":{ "62":"y" }, "ie_mob":{ "10":"a #1", "11":"a #1" }, "and_uc":{ "11.8":"a #1" }, "samsung":{ "4":"a #1", "5":"a #1", "6.2":"a #1", "7.2":"a #1" }, "and_qq":{ "1.2":"a #1" }, "baidu":{ "7.12":"a #1" } }, "notes":"", "notes_by_num":{ "1":"Supports scrollIntoView with boolean parameter, but not `smooth` behavior option" }, "usage_perc_y":65.78, "usage_perc_a":27.98, "ucprefix":false, "parent":"", "keywords":"", "ie_id":"", "chrome_id":"", "firefox_id":"", "webkit_id":"", "shown":true }