Commit graph

6 commits

Author SHA1 Message Date
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
aaron
bacb4fa0f0 Fix mistakes in docs 2024-11-12 15:08:12 +00:00
aaron
a3cc2dfbda Update docs 2024-11-04 23:18:04 +00:00
alicesaidhi
f8e84f9f8d
Improve Documentation Site (#41)
* update css and snippets

* Add banner

* improve home page

* Update Banner

* cleanup

* Update font to JetBrains Mono

* Add a quick look to Home

* Simplify Home Page

* Removed banner, removed copyright notice, reduced home page
2024-11-03 17:32:19 +00:00
aaron
14f8d38a35 Update docs 2024-07-03 15:34:16 +01:00
aaron
62f1c3a20a Update docs 2024-07-03 15:02:53 +01:00
Renamed from docs/tut/crash-course/13-actions.md (Browse further)