Skip to main content

Module platform_web

Module platform_web 

Source
Expand description

Web Platform Bridge

Implements PlatformBridge for the Web using DOM/CSS concepts. At this stage, this is a scaffold that records operations and will later connect to the browser DOM via wasm-bindgen bindings.

Architecture: Rust PlatformBridge โ†’ wasm-bindgen โ†’ JavaScript DOM API wrapper

The Web bridge handles DOM element hierarchy, Canvas-based text measurement, and Web-specific capabilities like DragAndDrop and NativeShare (Web Share API).

Structsยง

WebPlatform
Web platform bridge.