Removed unnecessary stuff from Usage
in README
This commit is contained in:
parent
fdffaa0c92
commit
6a889b247e
|
@ -26,9 +26,7 @@ In your cljs file, require the following:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
(:require [re-frame.core :as rf]
|
(:require [re-frame.core :as rf]
|
||||||
[re-com.core :refer [h-box v-box box label title slider p single-dropdown]]
|
[swinging-needle-meter.swinging-needle-meter :refer [swinging-needle-meter]])
|
||||||
[swinging-needle-meter.swinging-needle-meter :refer [swinging-needle-meter swinging-needle-args-desc]]
|
|
||||||
[swinging-needle-meter.utils :refer [panel-title title2 args-table status-text]])
|
|
||||||
```
|
```
|
||||||
|
|
||||||
within a [re-com](https://github.com/day8/re-com) component,
|
within a [re-com](https://github.com/day8/re-com) component,
|
||||||
|
@ -58,7 +56,7 @@ or, minimally, just
|
||||||
There are further arguments which may be set which are documented
|
There are further arguments which may be set which are documented
|
||||||
[here](https://simon-brooke.github.io/swinging-needle-meter/resources/public/index.html#parameters).
|
[here](https://simon-brooke.github.io/swinging-needle-meter/resources/public/index.html#parameters).
|
||||||
|
|
||||||
Obviously, all the subscriptions above must be registered with `re-frame/reg-sub`.
|
Obviously, all the subscriptions above must be registered with `re-frame/reg-sub`. See [re-frame documentation](http://day8.github.io/re-frame/re-frame/).
|
||||||
|
|
||||||
The value subscribed to as the value to `:model` is expected to be a floating point number between that of `:min-value` and `:max-value`.
|
The value subscribed to as the value to `:model` is expected to be a floating point number between that of `:min-value` and `:max-value`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue