Global setup options on the service registration
See original GitHub issueIs your feature request related to a problem? Please describe.
Yes, I need to setup globally HeightAuto = false
since this breaks pages using flex and height 100%.
This is my case as specified in sweet alert 2
Describe the solution you’d like
Global options setup in the services.AddSweetAlert2()
;
Describe alternatives you’ve considered
What I have done for now is refactor the methods using FireAsync
.
Used the overload method with the sweet alert options and force HeightAuto = false
.
Additional context N/A
It’s seems to be possible using Swal.mixin({ ...options })
https://sweetalert2.github.io/#configuration
I searched the source code and there is no overload here
https://github.com/Basaingeal/Razor.SweetAlert2/blob/develop/ExtensionMethods.cs
Issue Analytics
- State:
- Created 2 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
Configuring a Global Default Private Registry
There are two main ways to set up a private registry in Rancher: Set up a global default registry through the Settings tab...
Read more >Global App Configuration Service
The Global App Configuration Service is designed for administrators and Citrix Workspace app client-side developers. A workspace admin calls the Global App ...
Read more >Global Services Configuration
The following settings appear on the Global Attributes tab: Audit logging. Enable audit logging in AM. Default value: true. amster attribute: auditEnabled.
Read more >Create global conditions - Configuration Manager
In the Configuration Manager console, choose Software Library > Application Management > Global Conditions. On the Home tab, in the Create ...
Read more >Global Data Services Concepts and Administration Guide
The Global Data Services framework consists of at least one global service manager, a Global Data Services catalog, and the GDS configuration databases....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This feature has been added in the v5.0.0 release. (https://github.com/Basaingeal/Razor.SweetAlert2/pull/1446) (https://github.com/Basaingeal/Razor.SweetAlert2/pull/1437)
See the README for more details.
It worked! Thanks!