Tristan

Results 26 comments of Tristan

This would be pretty awesome. I'd like to convert [Ember Sparks](http://ember-sparks.com/) into a pure Glimmer addon!

@dfreeman Thanks for the heads up, and glad to hear that you like the project! :) I will probably have to rethink things a little bit before a 1.0 release....

There's no perfect way of doing this yet. I'm thinking of introducing the possibility to set the button option to a DOM node instead of text though. You could still...

It's definitely not ideal to force developers to use the `unsafe-inline` policy for CSS. We should maybe find a better way to handle this.

Uhm yeah, that's a good point that I actually didn't really think about. 😛 As a temporary fix you can go back to the last commit before the restructure and...

You can switch the button focus to the other button by using the `dangerMode` attribute (https://sweetalert.js.org/docs/#dangermode). There's no special option to disable all focus though unfortunately. Maybe we should provide...

The buttons should automatically be disabled and show a spinner if you use `closeModal: true` like in [this example](https://sweetalert.js.org/guides/#ajax-requests). Are you looking for something else?

That's a good point. Hmm. I suppose the question is whether the modal's state should be "locked" in some situations. I can think of ugly ways to get around this...

Why not have a single `div` element and add the `p` and `input` tags as children to it?

Hm, works for me when I run it in the JS console: Do you have a screenshot?