AIPromptToolbarItemTagHelper
Example
Razor
<toolbar-item>
<icon />
</toolbar-item>
ChildTags
| Tag Name | Details |
|---|---|
| icon | AIPromptToolbarItemIconSettingsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| click | String | The click event handler of the toolbar item. |
| fill-mode | ButtonFillMode | Sets a value controlling how the color is applied. |
| icon | String | The icon name of the toolbar item.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons. |
| rounded | Rounded | Sets a value controlling the border radius. |
| theme-color | ThemeColor | Sets the color according to the applied theme. |
| type | ItemType | Defines the type of the item. |