Fork me on GitHub
#clojurescript
<
2019-11-07
>
Filipe Silva01:11:22

@kwladyka I use Taiko atm

👍 4
kwladyka22:11:00

Taiko looks promising

kwladyka22:11:04

I will try it

kwladyka22:11:35

Is it possible to record gif from part of the screen?

kwladyka22:11:49

For example I want to record only how test fill form inputs

kwladyka22:11:56

It will be part of the demo

kwladyka22:11:58

if not gif make a screenshoot but the part of the web page which I am interested in

Filipe Silva22:11:50

Not sure about gif

kwladyka22:11:06

My main need now is to record a gif with only part of the web page with form

kwladyka22:11:12

I will try to figure out this

Filipe Silva01:11:27

I find it well suited for cljs

Filipe Silva01:11:31

Here's an example

thetalogn10:11:43

Hey, where does this come from :> , is it part of hiccup or reagent?

Ramon Rios15:11:36

Hey Guys, i have a select and i would like to get the selected value and send it in a event on re-frame. How could this be possible?

isak15:11:18

@ramon.rios :on-change (fn [e] (rf/dispatch [:my-event (.. e -target -value)]))

Ramon Rios15:11:43

On this case, e would be the id of the dropdown?

Ramon Rios15:11:13

Sorry, i always use select, but i forgot that the common name is dropdown list.

isak15:11:48

e is the javascript event passed to the event handler

dpsutton15:11:05

in your onChange event handler

Ramon Rios09:11:46

I got it. Many Thanks

timsgardner18:11:34

does anyone know of decent JavaScript (not ClojureScript) libraries for converting JSON to edn, that can deal with edge cases like strings that begin with a colon but should remain strings rather than keywords? (we can't use transit)

borkdude19:11:30

@timsgardner why not compile a CLJS lib to (advanced JS) and use that from your JS project?

timsgardner19:11:19

@borkdude yeah I might do something like that

borkdude19:11:53

@timsgardner does it have to run in the browser?

timsgardner19:11:18

I might just write my own transformation though at this point

✔️ 4
borkdude19:11:35

Makes sense.

chrisn22:11:24

In oz, they use a walker in order to render custom hiccup that has a new keywords (:vega,:vega-lite) with a custom reagent component: https://github.com/metasoarous/oz/blob/master/src/cljs/oz/core.cljs#L77 Is there a way to register the components so that the prewalking step isn't necessary? Basically so that reagent.core/as-element picks up the keyword and creates the thing?

isak22:11:44

@chris441 can you reference the components instead of using the keywords?

chrisn23:11:26

@isak: The data is coming from over the wire.

isak23:11:33

@chris441: ah, not sure then

lilactown23:11:26

I think people have asked for it before, but nothing has come of it yet