To see the debug panel set the `debug` parameter to`true` or simply add '#widgetdebug' to the vanilla URL. Example: https://tamaro.raisenow.com/futurogoal-demo/latest/index.html#widgetdebug
All available options can be set as config parameters or can be selected in the`Debug panel`.
Let's have a look at the most important options:
- language - set current language
- layout - Currently there is only one layout available called list and second layout step will be available soon which renders each section in a dedicated step.
- overlay_mode - some data in the widget should be shown in overlays. This option sets how this overlay should look like.
outer - overlay will be shown as modal dialog (it's set by default).
inner - overlay will be shown in-place instead of on top of the other blocks. - test_mode - set this option to make a test payment or when you working locally for a test. This option has to be removed or set to false for production payments.
<script>
window.rnw.tamaro.runWidget('.rnw-widget-container
', {
debug: true,
layout: 'list',
overlayMode: 'outer',
debugSlots: true,
debugErrorMessages: true,
debugStyles: true
})
</script>
To facilitate debugging of data you can set `Debug styles` option. `Debug error message` shows all possible error messages. `Debug slots` shows all places where you can add as additional component as field. To see all computed configuration parameters just click on the config link in the Debug panel. To see all available translations click on the Translations link.
Comments
0 comments
Please sign in to leave a comment.