Use the debbuger to send your own message
- Run the shiny app.
Open the inspector and put breakpoints in the
receiveMessageandsetValuemethods.Reload the page.
Change the property
valueof objectdatawithdata.value = "custom message";Click on the next arrow call
setValue.If you run
$(el).val(value);in the debugger console, the DOM will be updated instantaneously with the new text.
Please note that after clicking the button, the output value still does not change.