-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Tooltip: global options * Update docs * Separate Delay parameters * Move options to subfolder and separate files
- Loading branch information
Showing
8 changed files
with
51 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...mentation/Blazorise.Docs/Pages/Docs/Components/Tooltips/Code/TooltipDelayExampleCode.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...entation/Blazorise.Docs/Pages/Docs/Components/Tooltips/Examples/TooltipDelayExample.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@namespace Blazorise.Docs.Docs.Examples | ||
|
||
<Tooltip Text="I'm a Blazorise Tooltip!" Delay="(1000, 500)"> | ||
<Tooltip Text="I'm a Blazorise Tooltip!" ShowDelay="1000" HideDelay="500"> | ||
<Button Color="Color.Primary">Delay: (1000, 500)</Button> | ||
</Tooltip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace Blazorise; | ||
|
||
/// <summary> | ||
/// Represents the options available for configuring the behavior of a Tooltip in Blazorise. | ||
/// </summary> | ||
public class BlazoriseTooltipOptions | ||
{ | ||
/// <summary> | ||
/// Specifies the delay in milliseconds (ms) after a trigger event before a Tooltip is shown. Default is <c>null</c> for no delay. | ||
/// </summary> | ||
public int? ShowDelay { get; set; } | ||
|
||
/// <summary> | ||
/// Specifies the delay in milliseconds (ms) after a trigger event before a Tooltip is hidden. Default is <c>null</c> for no delay. | ||
/// </summary> | ||
public int? HideDelay { get; set; } | ||
} |