GridSmartBoxSettingsTagHelper
Example
Razor
<smart-box>
<ai-assistant-settings></ai-assistant-settings>
<history />
<history-item-template></history-item-template>
<search-settings />
<semantic-search-settings />
<suggestion-template></suggestion-template>
</smart-box>
ChildTags
| Tag Name | Details |
|---|---|
| ai-assistant-settings | GridSmartBoxAiAssistantSettingsSettingsTagHelper |
| history | GridSmartBoxHistorySettingsTagHelper |
| history-item-template | TemplateTagHelper |
| search-settings | GridSmartBoxSearchSettingsSettingsTagHelper |
| semantic-search-settings | GridSmartBoxSemanticSearchSettingsSettingsTagHelper |
| suggestion-template | TemplateTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| active-mode | SmartBoxActiveMode | Defines the active mode of the SmartBox. |
| history-item-template-handler | String | Represents the template for a history query in the SmartBox component. This option expects the name of a JavaScript function that will be called to return the template. |
| on-ai-assistant-cancel-request | String | The name of the JavaScript function that will handle the aiAssistantCancelRequest event. |
| on-ai-assistant-prompt-request | String | The name of the JavaScript function that will handle the aiAssistantPromptRequest event. |
| on-ai-assistant-response-error | String | The name of the JavaScript function that will handle the aiAssistantResponseError event. |
| on-ai-assistant-response-success | String | The name of the JavaScript function that will handle the aiAssistantResponseSuccess event. |
| on-blur | String | The name of the JavaScript function that will handle the blur event. |
| on-close | String | The name of the JavaScript function that will handle the close event. |
| on-focus | String | The name of the JavaScript function that will handle the focus event. |
| on-open | String | The name of the JavaScript function that will handle the open event. |
| on-search | String | The name of the JavaScript function that will handle the search event. |
| on-semantic-search | String | The name of the JavaScript function that will handle the semanticSearch event. |
| placeholder | String | The unified placeholder text of the SmartBox input independent of the activated mode. |
| suggestion-template-handler | String | Represents the template for a suggestion in the SmartBox component AI Assistant mode. This option expects the name of a JavaScript function that will be called to return the template. |