{"json_modified": "2016-10-06T06:38:52.652394", "uuid": "22cf0d96-a989-4487-bb0f-5d4ba0ac54c1", "title": "Element.scrollHeight", "url": "/en-US/docs/Web/API/Element/scrollHeight", "tags": ["Reference", "API", "Property", "NeedsDHTMLRemovalInExample", "CSSOM View"], "translations": [{"uuid": "4d8e3559-bcc7-434b-aa5a-311d2e40f843", "title": "Element.scrollHeight", "url": "/es/docs/Web/API/Element/scrollHeight", "tags": ["Propiedad", "API", "Vista CSSOM", "Necesidad de Ejemplo de eliminaci\u00f3n DHTML", "Referencia"], "summary": "El elemento\u00a0 Element.scrollHeight atributo unicamente de lectura es una medida de la altura del contenido de un elemento, incluyendo el contenido que no es visible en la pantalla debido al desbordamiento. El valor\u00a0scrollHeight
es igual a la altura m\u00ednima (donde la altura incluye el relleno , pero no incluye bordes y m\u00e1rgenes) El elemento lo necesita con el fin de adaptarse a todos los contenidos en el punto de vista sin necesidad de utilizar una barra de desplazamiento vertical. Incluye el\u00a0 elemento relleno pero no su margen.", "localization_tags": [], "locale": "es", "last_edit": "2016-10-06T06:38:43", "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": "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": []}, {"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": "c4942dc4-5aaa-43d0-a4fb-c2fca023bf1f", "title": "Element.scrollHeight", "url": "/zh-TW/docs/Web/API/Element/scrollHeight", "tags": ["Reference", "API"], "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.", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-08-09T10:22:56", "review_tags": []}], "modified": "2016-08-29T00:16:39", "label": "Element.scrollHeight", "localization_tags": [], "locale": "en-US", "id": 9966, "last_edit": "2016-08-29T00:16:32", "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 height (where height includes padding but does not include border and margin)
\u00a0the 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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Problems_and_solutions", "title": "Problems and solutions"}, {"id": "Determine_if_an_element_has_been_totally_scrolled", "title": "Determine if an element has been totally scrolled"}, {"id": "scrollHeight_Demo", "title": "scrollHeight Demo"}, {"id": "HTML", "title": "HTML"}, {"id": "CSS", "title": "CSS"}, {"id": "JavaScript", "title": "JavaScript"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_Also", "title": "See Also"}], "slug": "Web/API/Element/scrollHeight", "review_tags": []}