Use the debbuger to send your own message
- Run the shiny app.
Open the inspector and put breakpoints in the
receiveMessage
andsetValue
methods.Reload the page.
Change the property
value
of objectdata
withdata.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.