Class IgbSnackbar
A snackbar component is used to provide feedback about an operation
by showing a brief message at the bottom of the screen.
Inheritance
System.Object
IgbSnackbar
Implements
System.IDisposable
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbSnackbar : BaseRendererControl, JsonSerializable
Constructors
IgbSnackbar()
Declaration
Properties
Action
Declaration
public EventCallback<IgbVoidEventArgs> Action { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.EventCallback<IgbVoidEventArgs> |
|
ActionScript
Declaration
public string ActionScript { get; set; }
Property Value
Type |
Description |
System.String |
|
ActionText
The snackbar action button.
Declaration
public string ActionText { get; set; }
Property Value
Type |
Description |
System.String |
|
DirectRenderElementName
Declaration
protected override string DirectRenderElementName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
DisplayTime
Determines the duration in ms in which the snackbar will be visible.
Declaration
public double DisplayTime { get; set; }
Property Value
Type |
Description |
System.Double |
|
KeepOpen
Determines whether the snackbar should close after the displayTime is over.
Declaration
public bool KeepOpen { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Open
Determines whether the snackbar is opened.
Declaration
public bool Open { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
SupportsVisualChildren
Declaration
protected override bool SupportsVisualChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Type
Declaration
public override string Type { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
UseDirectRender
Declaration
protected override bool UseDirectRender { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
EnsureModulesLoaded()
Declaration
protected override void EnsureModulesLoaded()
Overrides
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Hide()
Declaration
HideAsync()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
ResolveDisplay()
Declaration
protected override string ResolveDisplay()
Returns
Type |
Description |
System.String |
|
Overrides
SetNativeElement(Object)
Declaration
public void SetNativeElement(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
SetNativeElementAsync(Object)
Declaration
public Task SetNativeElementAsync(object element)
Parameters
Type |
Name |
Description |
System.Object |
element |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Show()
Declaration
ShowAsync()
Declaration
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Toggle()
Declaration
ToggleAsync()
Toggles the open state of the component.
Declaration
public Task ToggleAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable