@@ -26,14 +26,14 @@ Typically, the component will only display approved comments. To access moderati
2626
2727## Properties
2828
29- | Property | Attribute | Description | Type | Default |
30- | -------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
31- | `backend` | `backend` | The base URL for where the meh system is hosted If not provided, attempts to detect from script tag | `string` | `''` |
32- | `customTranslations` | `custom-translations` | Custom translations object that overrides default and loaded translations This allows users to provide their own translations directly | `string \| { noComments?: string; loadingComments?: string; errorLoading?: string; approve?: string; reject?: string; delete?: string; edit?: string; spam?: string; confirmDelete?: string; }` | `''` |
33- | `externalStyles` | `external-styles` | URL to an external stylesheet to be injected into the shadow DOM | `string` | `''` |
34- | `language` | `language` | The language code for translations If not provided, defaults to 'en' | `string` | `'en'` |
35- | `post` | `post` | The post path to fetch comments for If not provided, defaults to the current page path | `string` | `undefined` |
36- | `site` | `site` | The site identifier to use If not provided, defaults to 'meh' | `string` | `'meh'` |
29+ | Property | Attribute | Description | Type | Default |
30+ | -------------------- | --------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
31+ | `backend` | `backend` | The base URL for where the meh system is hosted If not provided, attempts to detect from script tag | `string` | `''` |
32+ | `customTranslations` | `custom-translations` | Custom translations object that overrides default and loaded translations This allows users to provide their own translations directly | `string \| { noComments?: string; loadingComments?: string; errorLoading?: string; approve?: string; reject?: string; delete?: string; edit?: string; spam?: string; confirmDelete?: string; inReplyTo?: string; }` | `''` |
33+ | `externalStyles` | `external-styles` | URL to an external stylesheet to be injected into the shadow DOM | `string` | `''` |
34+ | `language` | `language` | The language code for translations If not provided, defaults to 'en' | `string` | `'en'` |
35+ | `post` | `post` | The post path to fetch comments for If not provided, defaults to the current page path | `string` | `undefined` |
36+ | `site` | `site` | The site identifier to use If not provided, defaults to 'meh' | `string` | `'meh'` |
3737
3838
3939----------------------------------------------
0 commit comments