Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>10.0.1</Version>
<Version>10.0.2</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ public class DriverJsConfig
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? Animate { get; set; }

/// <summary>
/// Duration of the animation in milliseconds. (default: 400)
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public int? Duration { get; set; }

/// <summary>
/// Overlay color. (default: black)
/// </summary>
Expand All @@ -39,6 +45,18 @@ public class DriverJsConfig
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? AllowClose { get; set; }

/// <summary>
/// Whether to allow scrolling the page while the tour is active. (default: true)
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? AllowScroll { get; set; }

/// <summary>
/// Whether to skip the step when the target element is missing. (default: false)
/// </summary>
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? SkipMissingElement { get; set; }

/// <summary>
/// Opacity of the backdrop. (default: 0.5)
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ public class DriverJsStep : ComponentBase, IDisposable
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Description { get; set; }

/// <summary>
/// Whether to skip this step when the target element is missing. (default: false)
/// </summary>
[Parameter]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? SkipMissingElement { get; set; }

/// <summary>
/// 获得/设置 子组件内容
/// </summary>
Expand Down
3 changes: 2 additions & 1 deletion src/components/BootstrapBlazor.DriverJs/wwwroot/driver.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading