Skip to content

Commit 15c6bf9

Browse files
committed
core dom: Cleanup docstrings.
1 parent a3ecf93 commit 15c6bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/dom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const get_parents = (el) => {
169169
/**
170170
* Return the value of the first attribute found in the list of parents.
171171
*
172-
* @param {DOM element} el - The DOM element to start the acquisition search for the given attribute.
172+
* @param {Node} el - The DOM element to start the acquisition search for the given attribute.
173173
* @param {string} attribute - Name of the attribute to search for.
174174
* @param {Boolean} include_empty - Also return empty values.
175175
* @param {Boolean} include_all - Return a list of attribute values found in all parents.
@@ -245,7 +245,7 @@ function get_css_value(el, property, as_pixels = false, as_float = false) {
245245
* @param {String} [direction=] - Not given: Search for any scrollable element up in the DOM tree.
246246
* ``x``: Search for a horizontally scrollable element.
247247
* ``y``: Search for a vertically scrollable element.
248-
* @param {(DOM Node|null)} [fallback=document.body] - Fallback, if no scroll container can be found.
248+
* @param {(Node|null)} [fallback=document.body] - Fallback, if no scroll container can be found.
249249
* The default is to use document.body.
250250
*
251251
* @returns {Node} - Return the first scrollable element.

0 commit comments

Comments
 (0)