0
모달 대화 상자가 닫힐 때만 반짝이는 앱 코드를 실행하고 싶습니다. 이것을 어떻게 할 수 있습니까?R 모달이 닫힐 때까지 반짝이는 정지 코드 실행
여기서 간단한 코드 :
# ui.R
actionButton("loadData", label = "Button", icon = icon("mail-forward"))
# server.R
observeEvent(input$loadData, {
showModal(modalDialog(
title = modal.title,
textInput("newName", "Enter file name:", value = ""),
easyClose = TRUE,
footer = list(
actionButton("confirmName", "OK"),
modalButton("Cancel"))
))
# ...code to be executed after modal is closed...
})