-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
html.cljs
27 lines (25 loc) · 1.13 KB
/
html.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(ns mathbox.primitives.overlay.html
(:require ["mathbox-react" :as box]
[reagent.core :as r]))
(def ^{:doc "*HTML element source*
:aligned `false` (bool) - Use (fast) integer lookups
:bufferDepth `1` (number) - Voxel buffer depth
:bufferHeight `1` (number) - Voxel buffer height
:bufferWidth `1` (number) - Voxel buffer width
:channels `4` (number) - Number of channels
:classes `[]` (string array) - Custom classes, e.g. `[\\\"big\\\"]`
:data `null` (nullable object) - Data array
:depth `1` (nullable number) - Voxel depth
:expr `null` (nullable emitter) - Data emitter expression
:fps `null` (nullable number) - Frames-per-second update rate, e.g. `60`
:height `1` (nullable number) - Voxel height
:hurry `5` (number) - Maximum frames to hurry per frame
:id `null` (nullable string) - Unique ID, e.g. `\\\"sampler\\\"`
:items `4` (number) - Number of items
:limit `60` (number) - Maximum frames to track
:live `true` (bool) - Update continuously
:observe `false` (bool) - Pass clock time to data
:realtime `false` (bool) - Run on real time, not clock time
:width `1` (nullable number) - Voxel width"}
Html
(r/adapt-react-class box/Html))