blob: 68896eb3579f7bc32b7c6a70dc20eaeb89e68cc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
---
title: DOMRectReadOnly.height
slug: Web/API/DOMRectReadOnly/height
tags:
- API
- DOM
- Géométrie
- Hauteur
- Propriétés
- Rectangle
translation_of: Web/API/DOMRectReadOnly/height
---
{{APIRef("DOM")}}{{ SeeCompatTable() }}
La propriété en lecture seule **`height`** de l'interface of the **`DOMRectReadOnly`** représente la hauteur du `DOMRect`.
## Syntaxe
```js
var recHeight = DOMRect.height;
```
### Valeur
Un double.
## Spécifications
| Spécification | Statut | Commentaire |
| ---------------------------------------------------------------------------------------------------- | -------------------------------------------- | -------------------------------------------------- |
| {{SpecName('Geometry Interfaces', '#dom-domrectreadonly-height', 'height')}} | {{Spec2('Geometry Interfaces')}} | La dernière version de la spécification est un ED. |
## Compatibilité des navigateurs
{{Compat("api.DOMRectReadOnly.height")}}
## Voir aussi
- {{domxref("DOMRect")}}
|