You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+124-5Lines changed: 124 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
# Domo
1
+
<palign="left"><sub>どうもありがとう ミスターロボット</sub></p>
2
+
3
+
# domo
2
4
3
5
A ClojureScript DOM utility lib
4
6
@@ -42,7 +44,7 @@ There are many more -- checkout source of `domo.core` namespace.
42
44
Add as a dependency to your project:
43
45
44
46
```clojure
45
-
[design.kushi/domo "0.3.0"]
47
+
[design.kushi/domo "0.4.0"]
46
48
```
47
49
<br>
48
50
@@ -51,7 +53,7 @@ Require:
51
53
```clojure
52
54
(nsmyns.core
53
55
(:require
54
-
[domo.core :asdomo]))
56
+
[domo.core :asd]))
55
57
```
56
58
57
59
Domo bundles the excellent [`js-interop`](https://github.com/applied-science/js-interop),
@@ -60,14 +62,131 @@ so you can also require that if you need it.
60
62
```clojure
61
63
(nsmyns.core
62
64
(:require
63
-
[domo.core :asdomo]
65
+
[domo.core :asd]
64
66
[applied-science.js-interop :as j]))
65
67
```
66
68
69
+
70
+
<br>
71
+
72
+
## Macros
73
+
There is a **`domo.macros`** namespace which includes macro counterparts for a subset of domo's public functions. These are available if you want to avoid the overhead of function calls for performance reasons.
74
+
75
+
```clojure
76
+
(nsmyns.core
77
+
(:require
78
+
[domo.core :as d]
79
+
[domo.macros :as dm]))
80
+
```
81
+
67
82
<br>
68
83
69
84
## API
70
-
API docs coming soon. In the meantime you can checkout all the functions tagged `^:public` in the source `domo.core` namespace.
85
+
API docs coming soon. In the meantime you can checkout all the functions tagged `^:public` in the source `domo.core` namespace. Here is an exhaustive list, with
This is simple browser app with many examples of functions in the domo core
4
+
library. It is based on the Shadow CLJS quickstart browser template found [here](https://github.com/shadow-cljs/quickstart-browser).
5
+
6
+
You can uncomment and play with the various calls in the `src.main.starter.browser/start` function, to get of sense of Domo's API. There some messages and values printed to
7
+
browser dev console that describe what is going on.
0 commit comments