{"json_modified": "2016-08-09T10:23:03.395743", "uuid": "c4942dc4-5aaa-43d0-a4fb-c2fca023bf1f", "title": "Element.scrollHeight", "url": "/zh-TW/docs/Web/API/Element/scrollHeight", "tags": ["Reference", "API"], "translations": [{"uuid": "22cf0d96-a989-4487-bb0f-5d4ba0ac54c1", "title": "Element.scrollHeight", "url": "/en-US/docs/Web/API/Element/scrollHeight", "tags": ["API", "Reference", "Property", "CSSOM View", "NeedsDHTMLRemovalInExample"], "summary": "The Element.scrollHeight
read-only attribute is a measurement of the height of an element's content, including content not visible on the screen due to overflow. The scrollHeight
value is equal to the minimum clientHeight
the element would require in order to fit all the content in the viewpoint without using a vertical scrollbar. It includes the element padding but not its margin.", "localization_tags": [], "locale": "en-US", "last_edit": "2016-06-14T08:07:15", "review_tags": []}, {"uuid": "cab00c89-35d9-4a69-bd80-993c6a347959", "title": "Element.scrollHeight", "url": "/fr/docs/Web/API/Element/scrollHeight", "tags": [], "summary": "L'attribut en lecture seule e
lement.scrollHeight
est une mesure de la hauteur du contenu d'un \u00e9l\u00e9ment qui inclut le contenu d\u00e9bordant et non visible \u00e0 l'\u00e9cran. La valeur scrollHeight
est \u00e9gale \u00e0 la hauteur minimum dont l'\u00e9l\u00e9ment aurait besoin pour que le contenu rentre dans le viewpoint sans utiliser de barre de d\u00e9filement. Cela inclut les marges internes mais pas les marges externes.", "localization_tags": [], "locale": "fr", "last_edit": "2014-10-23T23:17:17", "review_tags": []}, {"uuid": "300bc51b-63f5-4d58-be15-5b503187ac94", "title": "Element.scrollHeight", "url": "/it/docs/Web/API/Element/scrollHeight", "tags": [], "summary": "L'\u00a0Element.scrollHeight
\u00e8 una propriet\u00e0 di sola lettura e contiene la misura dell'altezza del contenuto di un elemento, incluso il contenuto non visibile sullo schermo a causa dell'overflow.\u00a0Il valore dello\u00a0scrollHeight
\u00a0\u00e8 uguale al minimo valore del\u00a0clientHeight che l'elemento richiederebbe per adattare tutto il contenuto nel punto di vista, senza usare una barra di scorrimento verticale. Esso include il padding, ma non il bordo dell'elemento.", "localization_tags": ["inprogress"], "locale": "it", "last_edit": "2015-02-23T16:09:26", "review_tags": []}, {"uuid": "1bcb316b-cac2-442e-8f68-8122dd66ce5b", "title": "Element.scrollHeight", "url": "/zh-CN/docs/Web/API/Element/scrollHeight", "tags": [], "summary": "Element.scrollHeight
\u00a0\u662f\u8ba1\u91cf\u5143\u7d20\u5185\u5bb9\u9ad8\u5ea6\u7684\u53ea\u8bfb\u5c5e\u6027\uff0c\u5305\u62ecoverflow\u6837\u5f0f\u5c5e\u6027\u5bfc\u81f4\u7684\u89c6\u56fe\u4e2d\u4e0d\u53ef\u89c1\u5185\u5bb9\u3002\u6ca1\u6709\u5782\u76f4\u6eda\u52a8\u6761\u7684\u60c5\u51b5\u4e0b\uff0cscrollHeight\u503c\u4e0e\u5143\u7d20\u89c6\u56fe\u586b\u5145\u6240\u6709\u5185\u5bb9\u6240\u9700\u8981\u7684\u6700\u5c0f\u503cclientHeight\u76f8\u540c\u3002\u5305\u62ec\u5143\u7d20\u7684padding\uff0c\u4f46\u4e0d\u5305\u62ec\u5143\u7d20\u7684margin.", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2014-08-27T06:58:29", "review_tags": []}, {"uuid": "ea0a8eb3-a5a4-4927-9db8-bdff2f0eccc0", "title": "Element.scrollHeight", "url": "/ko/docs/Web/API/Element/scrollHeight", "tags": [], "summary": "\uc77d\uae30 \uc804\uc6a9 \uc18d\uc131\uc778\u00a0Element.scrollHeight
\ub294 \uc218\uc9c1 \uc2a4\ud06c\ub864\ubc14\uac00 \uc788\ub294 \uc5d8\ub9ac\uba3c\ud2b8(element)\uc758\u00a0 CSS\u00a0\ub192\uc774\ub97c \ucd08\uacfc\ud558\uc5ec,\u00a0\ubcf4\uc774\uc9c0 \uc54a\ub294 \ubd80\ubd84\uae4c\uc9c0\u00a0\ud3ec\ud568\ud55c \ub0b4\uc6a9(content)\uc758 \ub192\uc774(height)\uc785\ub2c8\ub2e4.\u00a0scrollHeight
\uc758 \uac12\uc740\u00a0\uc218\uc9c1 \uc2a4\ud06c\ub864\ubc14\uac00 \uc5c6\ub294\u00a0clientHeight
\uc758 \uac12\uacfc \uac19\uc2b5\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2015-03-06T07:10:46", "review_tags": ["editorial"]}, {"uuid": "5badbe5b-ddec-4444-b051-366ae18843a4", "title": "Element.scrollHeight", "url": "/ru/docs/Web/API/Element/scrollHeight", "tags": [], "summary": "\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u00a0Element.scrollHeight
\u00a0(\u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u0435\u043d\u0438\u0435)\u00a0-\u00a0\u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u0435 \u0432\u044b\u0441\u043e\u0442\u044b \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0432 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0435, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435, \u043d\u0435\u0432\u0438\u0434\u0438\u043c\u043e\u0435 \u0438\u0437-\u0437\u0430 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0438. \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0scrollHeight
\u00a0\u0440\u0430\u0432\u043d\u043e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u043c\u0443\u00a0clientHeight
, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432\u0441\u0451 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0432 \u0432\u0438\u0434\u0438\u043c\u0443\u044e \u043e\u0431\u043b\u0430\u0441\u0442\u044c (viewport), \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u043e\u043b\u043e\u0441\u0443 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0438. \u041e\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f padding \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u043d\u043e \u043d\u0435 \u0435\u0433\u043e margin.", "localization_tags": [], "locale": "ru", "last_edit": "2015-11-28T06:27:57", "review_tags": []}], "modified": "2016-08-09T10:23:02", "label": "Element.scrollHeight", "localization_tags": [], "locale": "zh-TW", "id": 158085, "last_edit": "2016-08-09T10:22:56", "summary": "Element.scrollHeight
\u662f\u8861\u91cf\u5143\u7d20\u5305\u542b\u56e0\u70ba overflow \u800c\u6c92\u986f\u793a\u5728\u87a2\u5e55\u4e0a\u7684\u5167\u5bb9\u9ad8\u5ea6\u7684\u552f\u8b80\u5c6c\u6027. scrollHeight
\u00a0\u7684\u503c\u76f8\u7b49\u65bc\u5143\u7d20\u8981\u6c42\u00a0clientHeight
\u00a0\u5728\u8996\u57df\u4e2d\u6c92\u6709\u4f7f\u7528\u6efe\u52d5\u689d\u986f\u793a\u6240\u6709\u5167\u5bb9\u7684\u6700\u5c0f\u9ad8\u5ea6\u503c\u00a0. \u9019\u7576\u4e2d\u53ea\u5305\u542b padding, \u4e26\u4e0d\u5305\u542b\u00a0margin.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax_and_values", "title": "\u8868\u9054\u5f0f"}, {"id": "Example", "title": "\u7bc4\u4f8b"}, {"id": "\u554f\u984c\u8207\u89e3\u6c7a\u65b9\u6cd5", "title": "\u554f\u984c\u8207\u89e3\u6c7a\u65b9\u6cd5"}, {"id": "\u4e86\u89e3\u5143\u7d20\u662f\u5426\u88ab\u6efe\u8f2a\u5b8c\u5168\u6efe\u904e", "title": "\u4e86\u89e3\u5143\u7d20\u662f\u5426\u88ab\u6efe\u8f2a\u5b8c\u5168\u6efe\u904e"}, {"id": "scrollHeight_Demo", "title": "scrollHeight \u7bc4\u4f8b"}, {"id": "HTML", "title": "HTML"}, {"id": "CSS", "title": "CSS"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Specification", "title": "\u898f\u7bc4"}, {"id": "Supported", "title": "\u700f\u89bd\u5668\u76f8\u5bb9\u6027"}, {"id": "See_Also", "title": "\u53c3\u898b"}], "slug": "Web/API/Element/scrollHeight", "review_tags": []}