-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Carousel): add PlayMode parameter (#2252)
* feat: 增加鼠标悬停时暂停播放参数 * doc: 增加说明文档 * feat: 增加 PlayMode 参数 * test: 增加单元测试 * doc: 增加文档 * test: 更新单元测试 * chore: bump version 7.11.1-beta05
- Loading branch information
Showing
10 changed files
with
133 additions
and
10 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
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
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,31 @@ | ||
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
// Website: https://www.blazor.zone or https://argozhang.github.io/ | ||
|
||
using System.ComponentModel; | ||
|
||
namespace BootstrapBlazor.Components; | ||
|
||
/// <summary> | ||
/// Carousel 组件播放方式枚举 | ||
/// </summary> | ||
public enum CarouselPlayMode | ||
{ | ||
/// <summary> | ||
/// 加载后自动播放 | ||
/// </summary> | ||
[Description("carousel")] | ||
AutoPlayOnload, | ||
|
||
/// <summary> | ||
/// 用户点击按钮后自动播放 | ||
/// </summary> | ||
[Description("true")] | ||
AutoPlayAfterManually, | ||
|
||
/// <summary> | ||
/// 用户控制 | ||
/// </summary> | ||
[Description("false")] | ||
Manually | ||
} |
2 changes: 1 addition & 1 deletion
2
src/BootstrapBlazor/wwwroot/css/bootstrap.blazor.bundle.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
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