Commit graph

36 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
centauri
6da33722e9 Add delayed scope destruction to docs 2026-01-17 20:15:05 +00:00
HarryXChen
7064489a36
Fix typo in scope crash course docs (#46) 2025-01-17 02:06:54 +00:00
aaron
a1552402cb Rename tutorial sections 2024-11-12 15:15:16 +00:00
aaron
bacb4fa0f0 Fix mistakes in docs 2024-11-12 15:08:12 +00:00
aaron
baf308ccf3 Fix bug in code example 2024-11-04 23:27:28 +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
c4e1396684 Fix typos 2024-10-06 18:12:25 +01:00
aaron
82eec61c45 Make root() return destructor automatically 2024-10-06 15:37:05 +01: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
aaron
f2de9b0e63 Refactor 2024-07-03 15:02:52 +01:00
Aaron Smith
d682161c06 Update docs 2023-12-07 17:26:01 +00:00
Aaron Smith
338c66ed57 Try improve crash course 2023-11-21 18:48:47 +00:00
Aaron Smith
46937c6979 Update docs 2023-09-28 16:39:25 +01:00
Aaron Smith
9b6be14441 Update docs 2023-09-27 16:44:39 +01:00
Aaron Smith
fd2888afab Update docs 2023-09-26 18:24:30 +01:00
Aaron Smith
c3bc53c40a Fix typo in docs
Fixes #18
2023-09-26 14:37:48 +01:00
Aaron Smith
71bbaa2092 Update reactive scoping docs 2023-09-26 13:27:38 +01:00
Aaron Smith
e9742e88fd Add mermaid diagrams to docs 2023-09-21 19:15:32 +01:00
Aaron Smith
3c45defeac Fix typos 2023-09-21 19:14:55 +01:00
Aaron Smith
4b877ce8ff Update docs 2023-09-21 10:29:14 +01:00
aaron
5735d8e3f0 Update docs 2023-09-20 21:56:25 +01:00
Aaron Smith
85b1127551 Update docs 2023-09-20 18:42:29 +01:00
Aaron Smith
bb08e2e97a Update crash course 2023-09-19 14:52:28 +01:00
aaron
efc4798ddb Merge reactive scope refactor 2023-09-15 12:54:42 +01:00
aaron
fd323d7d39 Fix type in docs 2023-08-27 22:26:23 +01:00
Aaron Smith
fdc72a17f0 Improve docs 2023-08-22 16:46:38 +01:00
Aaron Smith
15cf7f98ab Update docs 2023-08-22 13:05:48 +01:00
Aaron Smith
2aebaf5abb Add aggregate initialization 2023-08-22 11:15:27 +01:00
Aaron Smith
651e352f3a Improve docs 2023-08-14 12:11:46 +01:00
Aaron Smith
a769139136 Update property nesting
Deeper nested properties guaranteed to be processed after shallower
nested properties.

Also added strict mode checks for duplicate nested properties.
2023-08-14 11:42:16 +01:00
Aaron Smith
a4f59ee62b Update docs 2023-08-10 15:42:58 +01:00
Aaron Smith
04e28f390d Improve docs 2023-08-09 15:33:14 +01:00
aaron
cb002f4f27 Initial commit 2023-08-08 21:33:11 +01:00