MarkEdmondson1234 / googleAuthR

Google API Client Library for R. Easy authentication and help to build Google API R libraries with OAuth2. Shiny compatible.
https://code.markedmondson.me/googleAuthR
Other
175 stars 54 forks source link

Add modal support to shiny login functions #193

Open MarkEdmondson1234 opened 4 years ago

MarkEdmondson1234 commented 4 years ago

Looks neat https://shiny.rstudio.com/articles/modal-dialogs.html

MarkEdmondson1234 commented 4 years ago

First guess

observeEvent(access_token(), {
      showModal(modalDialog(
        title = "Important message",
        "This is an important message!",
        easyClose = TRUE
      ))
    })