Skip to main content
.NETStandard2.1

Fable bindings for the DOM and web APIs, generated by Glutinum from @types/web

Published
Sep 27, 2026
23d ago
Total Downloads
421
421

Install

dotnet add package Glutinum.Web --version 1.0.0-beta.1
ProductVersions
.NET Standard
netstandard2.1

README

Glutinum.Web

Fable bindings for the DOM and the web APIs, generated by Glutinum from @types/web.

The bindings live in the Glutinum.Web module. The globals (document, window, fetch, setTimeout, the constructors) are static members of Glutinum.Web.Exports.

open Glutinum
open type Glutinum.Web.Exports

document.title <- "Hello"

let button = document.createElement "button"
button.textContent <- "Click me"

button.addEventListener ("click", fun (event: Web.Event) -> console.log event.``type``)

document.body.appendChild button |> ignore

for paragraph in document.querySelectorAll "p" do
    console.log paragraph.textContent

A binding generated by Glutinum for a package using the DOM types references this package: add it next to the binding.

The file Glutinum.Web.fs is generated by ./build.sh bindings in the repository, do not edit it.

Changes from Previous Version

No structural changes between v0.1.0 and v1.0.0-beta.1.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.