The <salla-comments> web component allows the user to enter textual contents as a comment for a Product or Page.Example#
Usage#
Properties#
| Property | Attribute | Description | Type | Default |
|---|
| Block Title | block-title | Comment Block's Title | string | undefined |
| Hide Form | hide-form | This allows to make the comment section non visible | boolean | undefined |
| Item Id (required) | item-id | A unique identifier for Page or product | number | undefined |
| Load More Text | load-more-text | This item allows loading additional text. | string | undefined |
| Show Form Avatar | show-form-avatar | Whether to show or hide the commenter’s avatar | boolean | false |
| Type | type | This item is used to identify the Comment type | CommentType.BLOG | CommentType.PAGE | CommentType.PRODUCT | |
Modified at 2024-09-29 12:43:14