Skip to content

docs: document arm-don't-handle model for click-bound browser APIs#5788

Open
Artur- wants to merge 1 commit into
mainfrom
clipboard-improve
Open

docs: document arm-don't-handle model for click-bound browser APIs#5788
Artur- wants to merge 1 commit into
mainfrom
clipboard-improve

Conversation

@Artur-

@Artur- Artur- commented Jul 7, 2026

Copy link
Copy Markdown
Member

Explain that Clipboard, Fullscreen, and Web Share bindings arm an action up front rather than registering a click listener, and that a binding left unarmed now fails loudly with an IllegalStateException (flow#24716) instead of silently doing nothing. Adds a canonical "How the Click Binding Works" section to the Clipboard article plus a Toggling Fullscreen pattern. Anti-patterns are described in prose only; all code samples show the correct form.

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Preview Deployment

This PR has been deployed for preview.

URL: https://docs-preview-pr-5788.fly.dev

Changed pages

Added content is highlighted in green; removed content is marked in red on each page.

Built from 3ede350

Explain that Clipboard, Fullscreen, and Web Share bindings arm an action
up front rather than registering a click listener, and that a binding
left unarmed now fails loudly with an IllegalStateException (flow#24716)
instead of silently doing nothing. Adds a canonical "How the Click
Binding Works" section to the Clipboard article plus a Toggling
Fullscreen pattern. Anti-patterns are described in prose only; all code
samples show the correct form.
@Artur-
Artur- force-pushed the clipboard-improve branch from 4bbd0ca to ab22ae7 Compare July 7, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants