EVOLUTION-MANAGER
Edit File: material_radio_button.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: Create a shinymaterial radio button</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_radio_button {shinymaterial}"><tr><td>material_radio_button {shinymaterial}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create a shinymaterial radio button</h2> <h3>Description</h3> <p>Build a shinymaterial radio button. </p> <h3>Usage</h3> <pre> material_radio_button( input_id, label, choices, selected = NULL, color = NULL, with_gap = FALSE ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>input_id</code></td> <td> <p>String. The input identifier used to access the value.</p> </td></tr> <tr valign="top"><td><code>label</code></td> <td> <p>String. The radio button label.</p> </td></tr> <tr valign="top"><td><code>choices</code></td> <td> <p>Named vector. The option names and underyling values.</p> </td></tr> <tr valign="top"><td><code>selected</code></td> <td> <p>The initially selected value (if not specified then defaults to the first value).</p> </td></tr> <tr valign="top"><td><code>color</code></td> <td> <p>String. The color of the radio buttons. 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. <em>This input requires using color hex codes, rather than the word form. E.g., "#ef5350", rather than "red lighten-1".</em></p> </td></tr> <tr valign="top"><td><code>with_gap</code></td> <td> <p>Boolean. To create a radio button with a gap.</p> </td></tr> </table> <h3>See Also</h3> <p><code><a href="update_material_radio_button.html">update_material_radio_button</a></code> </p> <h3>Examples</h3> <pre> material_radio_button( input_id = "example_radio_button", label = "Radio Button", choices = c( "Cake" = "c", "Pie" = "p", "Brownie" = "b" ), color = "#ef5350" ) </pre> <hr /><div style="text-align: center;">[Package <em>shinymaterial</em> version 1.2.0 <a href="00Index.html">Index</a>]</div> </body></html>