EVOLUTION-MANAGER
Edit File: material_modal.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Place UI content in a modal</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for material_modal {shinymaterial}"><tr><td>material_modal {shinymaterial}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Place UI content in a modal</h2> <h3>Description</h3> <p>Put any UI object inside of a modal. The modal will open when the button is pressed. </p> <h3>Usage</h3> <pre> material_modal( modal_id, button_text, title, ..., button_icon = NULL, floating_button = FALSE, button_depth = NULL, button_color = NULL, close_button_label = "Close", display_button = TRUE ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>modal_id</code></td> <td> <p>String. The ID for the modal. Must be unique per application.</p> </td></tr> <tr valign="top"><td><code>button_text</code></td> <td> <p>String. The text displayed on the modal trigger button.</p> </td></tr> <tr valign="top"><td><code>title</code></td> <td> <p>String. The title of the modal window.</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>The UI elements to place in the modal</p> </td></tr> <tr valign="top"><td><code>button_icon</code></td> <td> <p>String. The name of the icon. Visit <a href="https://materializecss.com/icons.html">https://materializecss.com/icons.html</a> for a list of available icons.</p> </td></tr> <tr valign="top"><td><code>floating_button</code></td> <td> <p>Boolean. Should the modal trigger button be a floating button?</p> </td></tr> <tr valign="top"><td><code>button_depth</code></td> <td> <p>Integer. The amount of depth of the button. The value should be between 0 and 5. Leave empty for the default depth.</p> </td></tr> <tr valign="top"><td><code>button_color</code></td> <td> <p>String. The color of the button. Leave empty for the default color. Visit <a href="https://materializecss.com/color.html">https://materializecss.com/color.html</a> for a list of available colors.</p> </td></tr> <tr valign="top"><td><code>close_button_label</code></td> <td> <p>String. The label of the modal close button.</p> </td></tr> <tr valign="top"><td><code>display_button</code></td> <td> <p>Boolean. Should the button be displayed in the app? (If FALSE, open_material_modal() may be used to open the modal).</p> </td></tr> </table> <h3>Examples</h3> <pre> material_modal( modal_id = "example_modal", button_text = "Modal", title = "Example Modal Title", button_color = "red lighten-3", shiny::tags$p("Modal Content") ) </pre> <hr /><div style="text-align: center;">[Package <em>shinymaterial</em> version 1.2.0 <a href="00Index.html">Index</a>]</div> </body></html>