diff --git a/src/BootstrapBlazor/BootstrapBlazor.csproj b/src/BootstrapBlazor/BootstrapBlazor.csproj index b921a79d2aa..a855779081a 100644 --- a/src/BootstrapBlazor/BootstrapBlazor.csproj +++ b/src/BootstrapBlazor/BootstrapBlazor.csproj @@ -1,7 +1,7 @@ - 9.2.0-beta02 + 9.2.0-beta03 diff --git a/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs b/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs index 2fca35af3d5..134949509f1 100644 --- a/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs +++ b/src/BootstrapBlazor/Options/ScrollIntoViewOptions.cs @@ -3,6 +3,8 @@ // See the LICENSE file in the project root for more information. // Maintainer: Argo Zhang(argo@live.ca) Website: https://www.blazor.zone +using System.ComponentModel; + namespace BootstrapBlazor.Components; /// @@ -35,16 +37,19 @@ public enum ScrollIntoViewBehavior /// /// scrolling should animate smoothly /// + [Description("smooth")] Smooth, /// /// scrolling should happen instantly in a single jump /// + [Description("instant")] Instant, /// /// scroll behavior is determined by the computed value of scroll-behavior /// + [Description("auto")] Auto } @@ -57,21 +62,25 @@ public enum ScrollIntoViewBlock /// /// Start /// + [Description("start")] Start, /// /// Center /// + [Description("center")] Center, /// /// End /// + [Description("end")] End, /// /// Nearest /// + [Description("nearest")] Nearest } @@ -84,20 +93,24 @@ public enum ScrollIntoViewInline /// /// Start /// + [Description("start")] Start, /// /// Center /// + [Description("center")] Center, /// /// End /// + [Description("end")] End, /// /// Nearest /// + [Description("nearest")] Nearest }