Correction: not on Github. (That was an indirect way of referring to his
email address.)
On Saturday, April 29, 2017 at 6:02:59 PM UTC-7, Brian Slesinsky wrote:
>
> This article introduces d3.express, an interactive notebook for doing
> reactive programming in JavaScript for data visualization.
This article introduces d3.express, an interactive notebook for doing
reactive programming in JavaScript for data visualization. It's not
complete yet, but code is on Github.
Anyway, this is a very cool thing I've always wanted to build (and made
some incomplete attempts). It seems like Elm
Witold, could you put together a minimal Elm app + Selenium script that
reproduces the problem?
This might be a significant issue, since it would impact the possibility to
end-to-end test Elm apps.
On Sun, Apr 30, 2017 at 8:28 AM, Witold Szczerba
wrote:
> This was my
This is an interesting problem and I wonder if it would happen also with
some other form of automated input (say, selenium).
It might very well be a problem with Elm.
On Saturday, April 29, 2017 at 12:51:48 AM UTC+10, Chris Van Vranken wrote:
>
> I'm using a barcode scanner to enter data into
You should definitely try with onchange. But without using oninput because
otherwise the field is updated from the model. If you update the model
after the field changes there shouldn't be any difference from using a
plain html input.
On Friday, 28 April 2017 13:47:35 UTC-3, Chris Van Vranken
Never mind. I re-read your message, you suggested using union types for
storing the current state, that makes sense.
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
I would use native binding for such a thing. Last week I had to format
money as well and found "toFixed" missing in Elm, so I've created a native
module for that (few lines of code). It's perfect, just remember: output
always depends on nothing but input and never let exceptions blow your Elm
The recommended approach is to rewrite the logic you need into Elm.
Otherwise, what you can do is make your model store the current money,
then pull it back in through a port. Store the input money, as a
placeholder until it has been calculated and recieved back into Elm.
It should look something
I'm porting an application from React/Redux to Elm and I'm having trouble
figuring out how to format a value as money. In the original application we
used http://openexchangerates.github.io/accounting.js/. So naturally I
wanted to make use of that same library when writing the Elm version.