Use the debbuger to send your own message

  1. Run the shiny app.
OSUICode::updateCustomTextInputExample(3)
  1. Open the inspector and put breakpoints in the receiveMessage and setValue methods.

  2. Reload the page.

  3. Change the property value of object data with data.value = "custom message";

  4. Click on the next arrow call setValue.

  5. 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.