Skip to content

Commit

Permalink
Correct resource setup
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Mar 30, 2021
1 parent eda32de commit ac79538
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action-feedback.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ server <- function(input, output, session) {
```

```{r require-cancel, fig.cap = demo$caption("On load, the table is empty because the dataset name is empty. The data is shown after we type a valid dataset name (iris), and continues to be shown when press backspace in order to type a new dataset name."), echo = FALSE, message = FALSE, out.width = "33%"}
demo <- demoApp$new("action-feedback/require-cancel", ui, server)
demo <- demoApp$new("action-feedback/require-cancel", ui, server,
packages = "shinyFeedback",
before = ~ shinyFeedback::useShinyFeedback()
)
demo$resize(400)
demo$takeScreenshot("empty")
demo$setInputs(dataset = "iris")
Expand Down
Binary file modified demos/action-feedback/require-cancel.rds
Binary file not shown.

0 comments on commit ac79538

Please sign in to comment.