Skip to content

Commit

Permalink
js readme clean
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmajestic committed May 20, 2024
1 parent 7b11a3f commit addaa76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ To see an example of this structure, review the following files in a basic web s

### JavaScript Example

There a simple snowstorm.js in the `www` directory that is then enabled in `modules/wsop_ui.R` with `tags$head(tags$script(src = "snowstorm.js"))` that adds a snowfall effect to the page.
There is a simple snowstorm.js in the `www` directory that is then enabled in `modules/wsop_ui.R` with `tags$head(tags$script(src = "snowstorm.js"))` that adds a snowfall effect to the page via `JavaScript`.

To further interact with JS from R Shiny, `shinyjs` can be used to do an action like
To further interact with `JS` from R Shiny, `shinyjs` can be used to do an action like

```
observeEvent(input$stop_btn, {
Expand Down

0 comments on commit addaa76

Please sign in to comment.