Skip to content

Add TextMorph component and types documentation#5

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/document-textmorph-component
Draft

Add TextMorph component and types documentation#5
Copilot wants to merge 3 commits intomainfrom
copilot/document-textmorph-component

Conversation

Copy link

Copilot AI commented Feb 2, 2026

Adds concise API reference documentation for the TextMorph component in packages/torph/TEXTMORPH.md.

Documentation Coverage

  • Core API: TextMorph class constructor, update(), destroy() methods
  • Types: TextMorphOptions interface with all properties and defaults (element, locale, duration, ease, debug)
  • Framework implementations: React (TextMorph, useTextMorph), Vue, Svelte, vanilla JS with minimal usage examples

The documentation is a streamlined API reference showing TypeScript signatures and basic usage patterns for each framework, allowing developers to explore further on their own.

Original prompt

write documentation on the TextMorph component and types. put this in a markdown file


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link

vercel bot commented Feb 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
torph Ready Ready Preview, Comment Feb 2, 2026 4:08am

Co-authored-by: lochie <1930210+lochie@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for TextMorph component and types Add TextMorph component and types documentation Feb 2, 2026
Copilot AI requested a review from lochie February 2, 2026 03:59
@lochie
Copy link
Owner

lochie commented Feb 2, 2026

yo @copilot these docs are too much. i just want to show what api reference exists so devs can explore further. dont need all the fluff

Co-authored-by: lochie <1930210+lochie@users.noreply.github.com>
Copy link
Author

Copilot AI commented Feb 2, 2026

yo @copilot these docs are too much. i just want to show what api reference exists so devs can explore further. dont need all the fluff

Simplified to a concise API reference - removed all the explanations and just showing the types and basic usage for each framework. c202672

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.

2 participants