Comments (3)
@szalapski Apologies for taking so long to reply. Have you tried the pause on hover feature? It would allow your users to hover over any toast they want to keep on the screen and it will only be removed when they move their cursor away from it.
from toast.
My users don't often hover and I'm not sure we could train them to do so. For now I've added lots of custom timeouts. Thanks for the response!
from toast.
I came here looking for the same thing. Wrapping ToastService seems like a simple enough solution. You can easily add in other type specific settings this way as well. I just need the disabled timeout for errors for now.
public class ToastHelper
{
private readonly IToastService toastService;
public ToastHelper(IToastService toastService) => this.toastService = toastService;
public void ShowError(string msg) => toastService.ShowError(msg, (opts) => opts.DisableTimeout = true);
public void ShowSuccess(string msg) => toastService.ShowSuccess(msg);
}
from toast.
Related Issues (20)
- New override to InMemoryToastService to include toast details HOT 2
- [Feature] Add Fade Out Functionality HOT 1
- Is it possible to increase the z-index in BlazoredToasts.razor.css to zindex-tooltip (1080)? HOT 4
- [Bug] Position incorrect when viewing in cell phone mode or narrow window on Blazor Server HOT 1
- Change encapsultion level of ToastList in BlazoredToasts.razor.cs to protected. HOT 1
- [Feature Request] Stop timeout on mouse hover HOT 3
- Update Docs with new APIs
- [Bug] Aditional CSS Classes missing in 4.1.0 HOT 1
- Issues with CSS MIME type HOT 1
- [Question] How to get the old look-and-feel with headings back? Breaking change is preventing me from upgrading. HOT 3
- [Bug] Progress bar & Close button not configurable on the fly. HOT 2
- [Question] Is .Net 8 supported? What is the correct way to initialize it? HOT 29
- Not good looking HOT 1
- blazored.toast is missing NuGet package README file
- [Bug] BlazoredToast.OnInitializedAsync null reference exception in 4.2.0 HOT 1
- How do I use MaxToastCount? HOT 1
- [Feature Request] Allow viewing currently active toasts
- Make Toast Service API work with pure SSR pages (without web socket connection) HOT 5
- [Feature Request] Overridable methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toast.