Text
PushFeedback provides comprehensive text customization options, allowing you to align the feedback button's textual content with your company's tone or support various languages (i18n). By customizing these properties, you can ensure a consistent user experience that reflects your brand's voice or caters to your diverse user base.
Usage
To customize the textual properties, set the respective attributes on the <feedback-button>
element in your HTML. Here's an illustrative example:
<feedback-button
project="YOUR_PROJECT_ID"
email-placeholder="Enter your email"
modal-title="Give us your thoughts">
Button text
</feedback-button>
Properties
The table below lists all the available properties you can override:
Property | Description |
---|---|
email-placeholder | Type: string Default value: Email address (optional) Placeholder text for the email input field. |
error-message | Type: string Default value: Please try again later." Message displayed when there's an error submitting feedback. |
modal-title-error-4-0-3 | Type: string Default value: The request URL does not match the one defined in PushFeedback for this project." Message displayed when there's a 403 error submitting feedback. |
modal-title-error-4-0-4 | Type: string Default value: We could not find the provided project id in PushFeedback. Message displayed when there's a 404 error submitting feedback. |
message-placeholder | Type: string Default value: Comments Placeholder for the feedback message input. |
modal-title | Type: string Default value: Share your feedback Title of the feedback modal. |
modal-title-error | Type: string Default value: Oops! Title displayed when there's an error submitting feedback. |
modal-title-success | Type: string Default value: Thanks for your feedback! Title displayed upon successful feedback submission. |
screenshot-button-text | Type: string Default value: Take a Screenshot Tooltip text for the screenshot button. |
screenshot-topbar-text | Type: string Default value: SELECT AN ELEMENT ON THE PAGE Instructional text when taking a screenshot. |
send-button-text | Type: string Default value: Send Text for the button that submits feedback. |
rating-placeholder | Type: string Default value: Was this page helpful? Heading for the feedback rating feature (thumbs). |
rating-stars-placeholder | Type: string Default value: How would you rate this page Heading for the feedback rating feature (stars). |