• JS 4 Shiny
  • Field Notes on JavaScript for Shiny Users
    • About this bookdown
    • Installing {bubble}
    • About the image
  • 1 A quick Intro to Base objects
    • 1.1 Launch a REPL
    • 1.2 Assignment
    • 1.3 Scalar objects
      • 1.3.1 Numbers
      • 1.3.2 Character
      • 1.3.3 Boolean
      • 1.3.4 Null & undefined
    • 1.4 Array
      • 1.4.1 Create
      • 1.4.2 Select
      • 1.4.3 Manipulate
      • 1.4.4 Transform
    • 1.5 Objects
    • 1.6 Function
    • 1.7 typeof
  • 2 Control loops
    • 2.1 For loop
      • 2.1.1 for
      • 2.1.2 for in
      • 2.1.3 for of
    • 2.2 While loop
    • 2.3 Switch
  • 3 JS in Shiny
    • 3.1 Add JS to Shiny
      • 3.1.1 With {golem}
      • 3.1.2 Link in your app
    • 3.2 The JavaScript Shiny Object
      • 3.2.1 Set the value of an input from JavaScript
    • 3.3 Shiny JS Handlers
  • 4 DOM & DOM Events
    • 4.1 DOM elements
    • 4.2 DOM elements
      • 4.2.1 Query elements
    • 4.3 DOM events
      • 4.3.1 Browser Events
      • 4.3.2 Shiny events
    • 4.4 Add Event Listeners
      • 4.4.1 Inside tags
      • 4.4.2 With JS
    • 4.5 Example in Shiny
  • 5 jQuery
    • 5.1 About
    • 5.2 Selection
    • 5.3 Event
      • 5.3.1 Add event
      • 5.3.2 Shiny Example
  • 6 This and attributes
    • 6.1 What is this?
    • 6.2 Attributes
      • 6.2.1 On button
    • 6.3 Example in Shiny
  • 7 Custom Inputs Binding
    • 7.1 Example: Meter binding
    • 7.2 Random Button
    • 7.3 Switch
  • 8 Examples
    • 8.1 ColinFay/tidytuesday201942
    • 8.2 Toast
    • 8.3 Prompt sthg
    • 8.4 Fixed nav
    • 8.5 Get the width of an element from R
    • 8.6 Get number of click
    • 8.7 Add a message to a menu element
    • 8.8 Hide and sho specific elements
    • 8.9 Success alert
    • 8.10 Adapt size of div to screen
  • 9 Read More
    • 9.1 Shiny & JS
    • 9.2 JS
      • 9.2.1 JavaScript basics
      • 9.2.2 jQuery
      • 9.2.3 Intermediate / advanced JavaScript
  • Made with 🤘 by ThinkR
  • edit:

JavaScript 4 Shiny - Field Notes

Chapter 9 Read More

9.1 Shiny & JS

  • Building Big Shiny Apps - A Workflow - Chapter 19 Using JavaScript

  • Build custom input objects

  • Packaging JavaScript code for Shiny

  • Communicating with Shiny via JavaScript

9.2 JS

9.2.1 JavaScript basics

  • Mozilla JavaScript
  • w3schools JavaScript
  • Free Code Camp
  • JavaScript For Cats
  • Learn JS

9.2.2 jQuery

  • jQuery Learning Center
  • w3schools jQuery

9.2.3 Intermediate / advanced JavaScript

  • Eloquent JavaScript
  • You Don’t Know JS Yet

ThinkR Website