Skip to content

Expose Template TagHelper configuration options for the Chat #8354

@alestoya

Description

@alestoya

Overview

In order to set a template, you would have to use either the {templateName}-template-id or {templateName}-handler TagHelper attributes:

<kendo-chat name="chat" message-template-handler="getMessageLayout">
</kendo-chat>

It would be beneficial if the template component could be leveraged directly within the existing TagHelper structure of the Chat TagHelper via the TagHelpers. For instance:

<kendo-chat name="chat">
            <message-template>
                <h3>My Template</h3>
            </message-template>
            <files-template>
                <p>Test Test</p>
                <kendo-button name="myBtn">Click Here</kendo-button>
            </files-template>
</kendo-chat>

The affected options will be:

Current behavior

The aforementioned Chat component TagHelpers do not expose an additional Template Component TagHelper integration for its template options.

Expected/desired behavior

The aforementioned Chat component TagHelpers should expose an additional Template Component TagHelper integration for its template options.

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions