AIPromptViewPromptCommandTagHelper
Example
Razor
<prompt-command>
<icon />
<items></items>
</prompt-command>
ChildTags
| Tag Name | Details |
|---|---|
| icon | AIPromptViewPromptCommandIconSettingsTagHelper |
| items | AIPromptViewPromptCommandsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| icon | String | The icon name of the command 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. |
| id | String | The id of the command item. |
| text | String | The text of the command item. |