File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 3
3
Smallest Javascript framework. The only Javascript Framework you can understand.
4
4
GramJs only have 100 line code and 3 function.
5
5
6
- Check example at folder demo
6
+ Check example at folder demo or [ watch demo video ] ( https://youtu.be/ZJCYPME4gAE )
7
7
8
- [ Video when i create] ( )
8
+ [ Video when i create] ( https://youtu.be/ZJCYPME4gAE )
9
9
10
10
## Usage
11
11
- Just copy file gram.js and add to your project
29
29
### function ref(value) {}
30
30
ref create reactive value.
31
31
32
- Create value: const myVal = ref("Hello World")
33
- Get value: myVal.value
34
- Change value: myVal.value = "Something"
32
+ Create value: const myVal = ref("Hello World").
33
+
34
+ Get value: myVal.value.
35
+
36
+ Change value: myVal.value = "Something".
35
37
36
38
you bind ref value to html element like this
37
39
``` javascript
@@ -76,4 +78,4 @@ But in Array and object reactive is hard to detect when value change and update
76
78
77
79
## Contribute
78
80
- fork, update, merge, open issue is happy
79
- - [ Subscribe my Youtube] ( https://www.youtube.com/@WingramOrg )
81
+ - [ Subscribe my Youtube] ( https://www.youtube.com/@WingramOrg )
You can’t perform that action at this time.
0 commit comments