vide/docs/api
Andrea Fletcher 18c1d02d43
Add tag() action for CollectionService tags
Adds a built-in `vide.tag()` action that wraps `Instance:AddTag()` /
`Instance:RemoveTag()` so tags can be applied through `create()` props.

It accepts a static string or array of strings, or a reactive source
returning either. The reactive variant diffs the previous and new tag
sets so only the delta is applied. All tags added by the action are
removed when the surrounding scope is destroyed.

Includes mock support for `AddTag`/`RemoveTag`/`HasTag`/`GetTags`,
tests, API reference docs, and a closing note in the actions tutorial.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 22:10:47 -07:00
..
animation.md Add delayed scope destruction to docs 2026-01-17 20:15:05 +00:00
creation.md Add tag() action for CollectionService tags 2026-05-26 22:10:47 -07:00
reactivity-core.md Update docs 2024-11-04 23:18:04 +00:00
reactivity-dynamic.md Add delayed scope destruction to docs 2026-01-17 20:15:05 +00:00
reactivity-utility.md Add thread cleanup helper 2024-11-28 01:00:11 +00:00
strict-mode.md Add implicit effects recursively creating more implicit effects for children 2024-12-27 01:00:45 +00:00