Skip to content

Commit

Permalink
Use correct argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Mar 3, 2021
1 parent 2a80830 commit 5cfcb97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action-layout.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ ui <- fluidPage(
)
```

```{r tabset, fig.caption = "A `tabsetPanel()` allows the user to select a single `tabPanel()` to view", echo = FALSE, message = FALSE}
```{r tabset, fig.cap = "A `tabsetPanel()` allows the user to select a single `tabPanel()` to view", echo = FALSE, message = FALSE}
demo <- demoApp$new("action-layout/tabset", ui)
demo$resize(width = 800)
demo$takeScreenshot()
Expand Down Expand Up @@ -246,7 +246,7 @@ server <- function(input, output, session) {
}
```

```{r tabset-input, fig.caption = "A tabset becomes an input when you use the `id` argument. This allows you to make your app behave differently depending on which tab is currently visible.", echo = FALSE, out.width = "50%", message = FALSE}
```{r tabset-input, fig.cap = "A tabset becomes an input when you use the `id` argument. This allows you to make your app behave differently depending on which tab is currently visible.", echo = FALSE, out.width = "50%", message = FALSE}
demo <- demoApp$new("action-layout/tabset-input", ui, server)
demo$resize(width = 300)
demo$takeScreenshot("1")
Expand Down

0 comments on commit 5cfcb97

Please sign in to comment.