October 2015
Beginner to intermediate
246 pages
4h 55m
English
As it was mentioned earlier, one of the biggest advantages of customizing the application UI by just adding tags to UI.R becomes even more visible when the user interface elements (HTML, JavaScript, and so on) depend on reactive values too. This case of reactivity is definitely different from the ones seen so far as the output should be included as HTML code, especially when it comes to JavaScript. For this kind of situation, session$sendCustomMessage() along with a built-in JavaScript function, Shiny.addCustomMessageHandler(), have to be used.
Basically, the first function sends a message to the user interface that will be based on reactive inputs. The second function listens to this and acts accordingly. ...
Read now
Unlock full access