Commit graph

39 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
centauri
2518e292ed Update spring docs 2025-06-23 21:58:54 +01:00
aaron
3b22f6ccf9 Add spring setter 2024-12-27 02:34:31 +00:00
aaron
b44b9ef2ba Add implicit effects recursively creating more implicit effects for children 2024-12-27 01:00:45 +00:00
aaron
caa9eaf733 Add thread cleanup helper 2024-11-28 01:00:11 +00:00
aaron
0897821e1f Add check for destruction of active scope 2024-11-13 21:56:22 +00: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
82eec61c45 Make root() return destructor automatically 2024-10-06 15:37:05 +01:00
aaron
8142acd1c1 Add context() 2024-10-06 15:20:04 +01:00
aaron
14f8d38a35 Update docs 2024-07-03 15:34:16 +01:00
aaron
f2de9b0e63 Refactor 2024-07-03 15:02:52 +01:00
ReturnedTrue
3d324cc30b
Update strict-mode.md (#24) 2024-02-19 21:06:06 +00:00
Aaron Smith
8eb5f96c5b Fix recursive batch() use 2023-11-20 12:27:56 +00:00
Alo
da85cbbac8
Fix docs typo
minor spelling mistake
2023-10-06 23:16:01 +01:00
Aaron Smith
c03fb05779 Make changed() run initially 2023-09-28 16:46:32 +01:00
Aaron Smith
46937c6979 Update docs 2023-09-28 16:39:25 +01:00
Aaron Smith
3959f5119e Update cleanup() docs 2023-09-27 10:33:38 +01:00
Aaron Smith
3c45defeac Fix typos 2023-09-21 19:14:55 +01:00
Aaron Smith
0e8bfef905 Fix typos in creation docs 2023-09-21 10:40:05 +01:00
Aaron Smith
4b877ce8ff Update docs 2023-09-21 10:29:14 +01:00
Aaron Smith
85b1127551 Update docs 2023-09-20 18:42:29 +01:00
Aaron Smith
299ebfc0ac Update strict mode docs 2023-09-19 15:01:26 +01:00
aaron
efc4798ddb Merge reactive scope refactor 2023-09-15 12:54:42 +01:00
aaron
38f8e8d9c5 Add control over spring solver step 2023-08-26 14:59:19 +01:00
Aaron Smith
8ef2d0b190 Update spring solver 2023-08-24 18:09:40 +01:00
Aaron Smith
6700e1b1f6 Add untrack() 2023-08-22 12:12:03 +01:00
Aaron Smith
0105e33fac Limit cleanup() calls to once per scope 2023-08-22 11:46:56 +01:00
Aaron Smith
2aebaf5abb Add aggregate initialization 2023-08-22 11:15:27 +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
744cce0fb6 Update docs 2023-08-10 17:56:14 +01:00
Aaron Smith
a4f59ee62b Update docs 2023-08-10 15:42:58 +01:00
Aaron Smith
cc10c80a90 Refactor 2023-08-10 13:18:16 +01:00
aaron
2050c2585f Update docs 2023-08-09 21:13:42 +01:00
aaron
747ca4858d Fix typo 2023-08-09 20:08:23 +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