EVOLUTION-MANAGER
Edit File: material_dropdown.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 dropdown</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_dropdown {shinymaterial}"><tr><td>material_dropdown {shinymaterial}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create a shinymaterial dropdown</h2> <h3>Description</h3> <p>Build a shinymaterial dropdown. </p> <h3>Usage</h3> <pre> material_dropdown( input_id, label, choices = NULL, selected = NULL, multiple = NULL, color = NULL ) </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 dropdown 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>String. The initially selected underyling value.</p> </td></tr> <tr valign="top"><td><code>multiple</code></td> <td> <p>Boolean. Can multiple items be selected?</p> </td></tr> <tr valign="top"><td><code>color</code></td> <td> <p>String. The color of the dropdown choices. 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> </table> <h3>See Also</h3> <p><code><a href="update_material_dropdown.html">update_material_dropdown</a></code> </p> <h3>Examples</h3> <pre> material_dropdown( input_id = "example_dropdown", label = "Drop down", choices = c( "Chicken" = "c", "Steak" = "s", "Fish" = "f" ), selected = c("c"), multiple = FALSE, 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>