dreamRs / dreamRs/particlesjs

Particles in modalDialog

Open
#3 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
26
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi.
I am trying to use particles as background in a modalDialog but nothing shows. What can be wrong? Code is below.

Ivo

```
library(shiny)
library(shinyparticles)

server <- function(input,output) {
output$ui <- renderUI({
showModal(modalDialog(
div(id="particles-target", h1("Hello World"),
style="height: 400px; width: 600px;"),
size="l"
))
})

}

ui <- fluidPage(
uiOutput('ui'),
particles(target_id="particles-target")
)

shinyApp(ui, server)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.