Formulaire de rétroaction
But
Ce composant permet aux utilisateurs de présenter leurs commentaires relativement à une page Web en particulier ou au site Web en général.
Utiliser lorsque
- Feuille de réponse commune et accessible partout dans le site Web
Exemple pratique
Needs translation
How to implement
- Migrate the *.html, *.css and *.js files in demos/feedback to the website's layout and design.
- Configure the options in the Reason for contacting us field.
- Optional: Modify the text in the form as needed.
- Optional: The Reason for contacting us field can be selected on page load by adding
feedback=[value]
to the query string (e.g.feedback=web
).
Configuration options
Option | Description | How to configure | Values |
---|---|---|---|
feedback Option 1 |
Query string parameter for pre-selecting a value in the Reason for contacting us field. | Add feedback=[value] to the query string (e.g. feedback=web ). |
|
Events
Document the public events that can be used by implementers or developers.
Event | Trigger | What it does |
---|---|---|
wb-init.wb-fdbck | Triggered manually (e.g., $elm.trigger( "wb-init.wb-fdbck" ); ). |
Used to manually initialize the feedback form. Note: The feedback form will be initialized automatically unless it is added after the page has already loaded. |
wb-ready.wb-fdbck (v4.0.5+) |
Triggered automatically after the feedback form initializes. | Used to identify when the feedback form has initialized
|
wb-ready.wb (v4.0.5+) |
Triggered automatically when WET has finished loading and executing. | Used to identify when all WET plugins and polyfills have finished loading and executing.
|
Source code
- Date de modification :