showFormModal: Shows a modal with custom html in it

Description Usage Arguments

View source: R/FrissMessageBox.R

Description

Shows a modal with custom html in it and sends result back to input$inputName when an ok / cancel button is pressed

Usage

1
2
3
showFormModal(session, inputName, html, okText = "ok",
  cancelText = "cancel", modalStyle = "display:none",
  buttonStyle = "width:50x;padding:")

Arguments

session

Shiny session object from the server.r page of the app that will use this function.

inputName

Name of the input to return the result to.

html

Html to put on the modal

okText

Text to put on the ok button

cancelText

Text to put on the cancel button

modalStyle

Style sheet properties of the modal

buttonStyle

Style sheet properties of the button


ttraboue/FrissMsgBox documentation built on May 17, 2019, 8:17 a.m.