EVOLUTION-MANAGER
Edit File: material_page.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 page</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_page {shinymaterial}"><tr><td>material_page {shinymaterial}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create a shinymaterial page</h2> <h3>Description</h3> <p>Build a shinymaterial page. </p> <h3>Usage</h3> <pre> material_page( ..., title = "", nav_bar_fixed = FALSE, nav_bar_color = NULL, background_color = "grey lighten-4", font_color = NULL, include_fonts = FALSE, include_nav_bar = TRUE, include_icons = FALSE, materialize_in_www = FALSE, primary_theme_color = NULL, secondary_theme_color = NULL ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>...</code></td> <td> <p>The UI elements to place in the page.</p> </td></tr> <tr valign="top"><td><code>title</code></td> <td> <p>String. The title of the page.</p> </td></tr> <tr valign="top"><td><code>nav_bar_fixed</code></td> <td> <p>Boolean. Should the nav bar remain fixed on the screen?</p> </td></tr> <tr valign="top"><td><code>nav_bar_color</code></td> <td> <p>Color of the nav bar. Leave blank 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>background_color</code></td> <td> <p>Page background color. Leave blank 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>font_color</code></td> <td> <p>String. The title font color. Leave blank 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>Title color requires using word forms of colors (e.g. "deep-purple"). Also, lighten or darken effects do not work on title colors.</em></p> </td></tr> <tr valign="top"><td><code>include_fonts</code></td> <td> <p>Boolean. Should the material font files be included? (This will place the font sources in a directory 'www', at the same location as the app code.)</p> </td></tr> <tr valign="top"><td><code>include_nav_bar</code></td> <td> <p>Boolean. Should the material nav bar be included?</p> </td></tr> <tr valign="top"><td><code>include_icons</code></td> <td> <p>Boolean. Should the material icon files be included? (This will place the font sources in a directory 'www', at the same location as the app code.)</p> </td></tr> <tr valign="top"><td><code>materialize_in_www</code></td> <td> <p>Boolean. Should the app look for the materialize library in the 'www' folder? E.g. www/css/materialize.min.css & www/js/materialize.min.js (Default to FALSE - which will look in the package library folder)</p> </td></tr> <tr valign="top"><td><code>primary_theme_color</code></td> <td> <p>Primary theme color (use hex code, e.g. '#e57373'). Visit <a href="https://materializecss.com/color.html">https://materializecss.com/color.html</a> for a list of material hex codes.</p> </td></tr> <tr valign="top"><td><code>secondary_theme_color</code></td> <td> <p>Secondary theme color (use hex code, e.g. '#26a69a'). Visit <a href="https://materializecss.com/color.html">https://materializecss.com/color.html</a> for a list of material hex codes.</p> </td></tr> </table> <h3>Examples</h3> <pre> material_page( title = "Example Title", nav_bar_fixed = TRUE, nav_bar_color = "red lighten-2", background_color = "blue lighten-4", shiny::tags$h1("Page 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>