datasketch / shinypanels

Collapsible panels layout for r shiny apps
Other
80 stars 11 forks source link

Feature/update modal #89

Closed lenafm closed 4 years ago

lenafm commented 4 years ago

New showModal function that can be called to make modal appear (e.g. from within observeEvent). Works by passing the id of the modal, e.g.:

observeEvent("something to trigger observeEvent", {
    showModal('test')
  })

when in UI:

modal(id = 'test', title = 'Test modal title', p('Modal ipsum'))