Skip to content

Commit 56013e3

Browse files
committed
doc: 增加文档注释
1 parent 3e03904 commit 56013e3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/components/BootstrapBlazor.OfficeDocumentViewer/OfficeDocumentViewer.razor.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@
66

77
namespace BootstrapBlazor.Components;
88

9+
/// <summary>
10+
/// Represents a viewer component for displaying Office documents in a web application.
11+
/// </summary>
12+
/// <remarks>The <see cref="OfficeDocumentViewer"/> component allows users to display Office files such as Word,
13+
/// Excel, or PowerPoint documents. It provides configurable options for the document URL, viewer height, and a callback
14+
/// for when the document is loaded.</remarks>
915
public partial class OfficeDocumentViewer
1016
{
1117
/// <summary>
12-
/// Gets or sets the url for the PDF file to be displayed.
18+
/// Gets or sets the url for the Office file to be displayed.
1319
/// </summary>
1420
[Parameter]
1521
public string? Url { get; set; }

0 commit comments

Comments
 (0)