mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Initial commit
This commit is contained in:
commit
e76234feb5
52 changed files with 5235 additions and 0 deletions
26
vide.code-snippets
Normal file
26
vide.code-snippets
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"import vide": {
|
||||
"scope": "lua",
|
||||
"prefix": "getvide",
|
||||
"body": [
|
||||
"local vide = require($1.vide)",
|
||||
"type State<T> = vide.State<T>",
|
||||
"type Prop<T> = vide.Prop<T>",
|
||||
"local create = vide.create",
|
||||
"local apply = vide.apply",
|
||||
"local wrap = vide.wrap",
|
||||
"local derive = vide.derive",
|
||||
"local foreach = vide.foreach",
|
||||
"local match = vide.match",
|
||||
"local watch = vide.watch",
|
||||
"local spring = vide.spring",
|
||||
"local Event = vide.Event",
|
||||
"local Changed = vide.Changed",
|
||||
"local Bind = vide.Bind",
|
||||
"local Layout = vide.Layout",
|
||||
"local Children = vide.Children",
|
||||
"local Created = vide.Created",
|
||||
""
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue