diff --git a/README.md b/README.md index 667fcf7..54c0e16 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Experimental successor to [rescript-webapi](https://github.com/TheSpyder/rescrip Install the package using your favorite package manager: ```shell -npm i -D @rescript/webapi@experimental +npm i @rescript/webapi@experimental ``` and add `@rescript/webapi` to your `rescript.json`: diff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdx index 87c4d2c..15d4e4a 100644 --- a/docs/content/docs/index.mdx +++ b/docs/content/docs/index.mdx @@ -30,14 +30,14 @@ Install the package using your favorite package manager: diff --git a/src/DOMAPI.res b/src/DOMAPI.res index df04130..3261920 100644 --- a/src/DOMAPI.res +++ b/src/DOMAPI.res @@ -7442,6 +7442,19 @@ and htmlTableRowElement = { cells: htmlCollectionOf, } +/** +Provides special properties (beyond the HTMLElement interface it also has available to it inheritance) for manipulating single or grouped table column elements. +[See HTMLTableColElement on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement) +*/ +type htmlTableColElement = { + ...htmlElement, + /** + Sets or retrieves the number of columns in the group. + [Read more on MDN](https://developer.mozilla.org/docs/Web/API/HTMLTableColElement/span) + */ + mutable span: int, +} + /** Provides properties and methods (beyond the regular HTMLElement interface it also has available to it by inheritance) for manipulating