This documentation site is about the unstable (upcoming) Comentario version.
Switch to the stable version »
Attribute: error-text
The error-text
attribute of the <comentario-count>
tag defines text displayed on error
The error-text
attribute of the count tag can be used to override the text displayed in the element whenever it encounters a problem with retrieving the data from the server.
- If
error-text
is omitted, the count widget will display a question mark (?
) should the server request fail. - If the attribute has a value (which can also be an empty string), that text will be displayed on error instead.
Example
<p>This page has <comentario-count error-text="???"></comentario-count> comment(s).</p>