mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 19:16:43 +02:00
🎉 Add basic interaction to shapes
This commit is contained in:
parent
49023117c3
commit
1e898f94f3
32 changed files with 1024 additions and 226 deletions
|
@ -26,12 +26,19 @@ You can deactivate debug mode with
|
|||
(-debug! <option>) ; to disable only one
|
||||
```
|
||||
|
||||
There are also some useful functions:
|
||||
## Debug state and objects
|
||||
|
||||
There are also some useful functions to visualize the global state or any
|
||||
complex object:
|
||||
|
||||
```clojure
|
||||
(dump-state) ; to print in console all the global state
|
||||
(dump-objects) ; to print in console all objects in workspace
|
||||
(ns uxbox.util.debug)
|
||||
(logjs <msg> <var>) ; to print the value of a variable
|
||||
(tap <fn>) ; to include a function with side effect (e.g. logjs) in a transducer.
|
||||
|
||||
(ns uxbox.main.store)
|
||||
(dump-state) ; to print in console all the global state
|
||||
(dump-objects) ; to print in console all objects in workspace
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue