Skip to content

Commit 54c0cc8

Browse files
committed
Add all querySelector helpers
1 parent 374f47c commit 54c0cc8

File tree

5 files changed

+1112
-2
lines changed

5 files changed

+1112
-2
lines changed

src/DOMAPI.res

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7442,6 +7442,19 @@ and htmlTableRowElement = {
74427442
cells: htmlCollectionOf<htmlTableCellElement>,
74437443
}
74447444

7445+
/**
7446+
Provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements.
7447+
[See HTMLTableColElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement)
7448+
*/
7449+
type htmlTableColElement = {
7450+
...htmlElement,
7451+
/**
7452+
Sets or retrieves the number of columns in the group.
7453+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/span)
7454+
*/
7455+
mutable span: int,
7456+
}
7457+
74457458
/**
74467459
Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating <button> elements.
74477460
[See HTMLButtonElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLButtonElement)
@@ -8307,6 +8320,22 @@ type htmlDataElement = {
83078320
mutable value: string,
83088321
}
83098322

8323+
/**
8324+
[See HTMLDetailsElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement)
8325+
*/
8326+
type htmlDetailsElement = {
8327+
...htmlElement,
8328+
/**
8329+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open)
8330+
*/
8331+
mutable name: string,
8332+
/**
8333+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open)
8334+
*/
8335+
@as("open")
8336+
mutable open_: bool,
8337+
}
8338+
83108339
/**
83118340
[See HTMLDialogElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement)
83128341
*/

src/DOMAPI/Document.js

Lines changed: 186 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)