mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Update docs
This commit is contained in:
parent
9b6be14441
commit
46937c6979
16 changed files with 157 additions and 116 deletions
|
|
@ -6,7 +6,7 @@ is used to register a cleanup callback for the next time the reactive scope
|
|||
it is called in re-runs.
|
||||
|
||||
```lua
|
||||
locla mount = vide.mount
|
||||
local mount = vide.mount
|
||||
local source = vide.source
|
||||
local cleanup = vide.cleanup
|
||||
|
||||
|
|
@ -60,11 +60,11 @@ The reactive graph for the above example:
|
|||
}
|
||||
}}%%
|
||||
|
||||
flowchart
|
||||
graph
|
||||
|
||||
subgraph root
|
||||
subgraph mount
|
||||
direction LR
|
||||
cleanup([cleanup]) ~~~ count
|
||||
count --> bind[text binding]
|
||||
count --> bind["effect (text binding)"]
|
||||
end
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue