mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
30 lines
918 B
C#
30 lines
918 B
C#
using Microsoft.AspNetCore.Components;
|
|
|
|
namespace Radzen.Blazor
|
|
{
|
|
/// <summary>
|
|
/// A RadzenHtmlEditor tool which inserts a bullet list (<c>ul</c>).
|
|
/// </summary>
|
|
/// <example>
|
|
/// <code>
|
|
/// <RadzenHtmlEditor @bind-Value=@html>
|
|
/// <RadzenHtmlEditorUnorderedList />
|
|
/// </RadzenHtmlEdito>
|
|
/// @code {
|
|
/// string html = "@lt;strong>Hello</strong> world!";
|
|
/// }
|
|
/// </code>
|
|
/// </example>
|
|
public partial class RadzenHtmlEditorUnorderedList : RadzenHtmlEditorButtonBase
|
|
{
|
|
/// <inheritdoc />
|
|
protected override string CommandName => "insertUnorderedList";
|
|
|
|
/// <summary>
|
|
/// Specifies the title (tooltip) displayed when the user hovers the tool. Set to <c>"Bullet list"</c> by default.
|
|
/// </summary>
|
|
[Parameter]
|
|
public string Title { get; set; } = "Bullet list";
|
|
}
|
|
}
|