Skip to content

Document the gesture area's bounded zoom props - #581

Open
simonhamp wants to merge 1 commit into
mainfrom
docs/gesture-area-bounded
Open

simonhamp wants to merge 1 commit into
mainfrom
docs/gesture-area-bounded

Conversation

@simonhamp

Copy link
Copy Markdown
Member

Documents bounded and content-ratio on the gesture area, from NativePHP/mobile-air#603 (the element) and NativePHP/mobile-ui#173 (the iOS and Android renderers). Keep this as a draft until both are merged.

The page only covered pan-y, and bounded needs pan-x and pinch too, so those are documented as well, with pinch-min and pinch-max. A new "Zoomable images" section explains what bounded does, with a Blade example and the component's shared values.

Version labels: the new props are labelled mobile 4.7 and mobile-ui 0.9, because they need both packages. That assumes #603 and #173 land before those releases are tagged. If they slip, the labels need moving. config/docs.php gets mobile-ui 0.8 (released, it was missing) and 0.9, the same way 4.7 was added ahead of its release in #564.

The events (@dragEnd, @pinchEnd, @swipe) and swipe-fingers are still undocumented on this page. I left them out to keep this to the new props.

Docs tests pass, and the page renders locally.

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant