ChristophP
ChristophP
@lydell oh yeah, it does not. I was just looking at the multi DOM access parts. Guess I missed that it does the camel case / Kebap base checking as...
@lydell Uhhm, yeah I guess 😅 You're right, if the prop doesn't start with `--` everything would work the same.
@akoppela Haha, nice hack :-) It would still write to the `""` property of the dom node so it's not exactly the same as doing nothing but I suppose it's...
> You can also use Html.Attributes.classList []. Cool hack. What about `style "" ""` ? would that work?
The HTML [spec](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autofocus) defines the behavior that `autofocus` will set the focus only on page load. I think it would be strange if Elm deviated from that behavior. It wouldn't...
I am guessing it could be related to two things. 1. Some timing issue: Maybe when the page loads the input isn't quite painted yet, so `autofocus` has no effect,...
That only happens for fields that start with `on` to prevent javascript injection. https://github.com/elm/virtual-dom/blob/master/src/Elm/Kernel/VirtualDom.js#L282-L285 But it still would be good to mention it in the docs a bit more obviously.
Same here. That would be a great subscription to have. Wouldn't be hard to use ports with `EventSource` but would be a cool addition to this package definitely.
Oh this has bitten me quite a bit. Also the documention is not clear about when `onSuccess` and `onFailure` are called. I changed some code. Now it is called twice....
Yeah, I see now how `this.getPrivate('_strength')` would not work because it would not know, what prefix to add. It is Crafty's gift and curse that members live directly on the...