Skip to content

Commit

Permalink
updated news
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Apr 15, 2024
1 parent c97cf1e commit 9740ed4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
shinyWidgets 0.8.5
======================

* `WinBox()`: added `auto_index` argument to automatically open window above all others.
* Added `applyWinBox()` to apply arbitrary method on an existing window.


shinyWidgets 0.8.4
======================

Expand Down
6 changes: 1 addition & 5 deletions inst/examples/WinBox/htmlwidgets.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ ui <- fluidPage(

server <- function(input, output, session) {

# rval <- reactiveVal(1045)

observeEvent(input$show, {
inputId <- paste0("var", input$show)
# index <- rval()
WinBox(
title = "With an htmlwidget",
ui = tagList(
Expand All @@ -31,9 +28,8 @@ server <- function(input, output, session) {
ax_stroke(width = 1)
})
),
options = wbOptions(height = 630, index = NULL)
options = wbOptions(height = 630)
)
# rval(index + 1)
})

}
Expand Down

0 comments on commit 9740ed4

Please sign in to comment.