RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
454 stars 77 forks source link

Roadmap of this package? #2

Closed happyshows closed 6 years ago

happyshows commented 6 years ago

Hi,

Firstly, this package looks great, covering a lot enhancement that should have been covered by shinydashboard.

I'd like to know plan for this package and shinybulma and maybe others you are actively building? Will shinydashboard+ work with bulma & external packages like shinyWidgets (bootstrap based of course)?

I don't find other place to file this question, so bare with me..

DivadNojnarg commented 6 years ago

Dear Happyshows,

Thank you for your comment. Regarding this package:

renderValueBox <- function(expr, env = parent.frame(), quoted = FALSE) {
  # Convert the expression to a function
  vbox_fun <- shiny::exprToFunction(expr, env, quoted)

  # Wrap that function in another function which strips off the outer div and
  # send it to renderUI.
  shiny::renderUI({
    vbox <- vbox_fun()
    tagAssert(vbox, type = "div")

    # Strip off outer div, since it's already present in output
    vbox$children[[1]]
  })
}

I hope it answers some of your questions.

Cheers

David

happyshows commented 6 years ago

Sounds great, thanks.