EVOLUTION-MANAGER
Edit File: nav.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: Navigation items</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 nav {bslib}"><tr><td>nav {bslib}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Navigation items</h2> <h3>Description</h3> <p>Create nav item(s) for use inside nav containers (e.g., <code><a href="navs.html">navs_tab()</a></code>, <code><a href="navs.html">navs_bar()</a></code>, etc). </p> <h3>Usage</h3> <pre> nav(title, ..., value = title, icon = NULL) nav_menu(title, ..., value = title, icon = NULL, align = c("left", "right")) nav_content(value, ..., icon = NULL) nav_item(...) nav_spacer() </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>title</code></td> <td> <p>A title to display. Can be a character string or UI elements (i.e., <a href="../../highcharter/html/highcharter-exports.html">tags</a>).</p> </td></tr> <tr valign="top"><td><code>...</code></td> <td> <p>Depends on the function: </p> <ul> <li><p> For <code>nav()</code> and <code>nav_content()</code>: UI elements (i.e., <a href="../../highcharter/html/highcharter-exports.html">tags</a>) to display when the item is active. </p> </li> <li><p> For <code>nav_menu()</code>: a collection of nav items (e.g., <code>nav()</code>, <code>nav_item()</code>). </p> </li> <li><p> For <code>nav_item()</code>: UI elements (i.e., <a href="../../highcharter/html/highcharter-exports.html">tags</a>) to place directly in the navigation panel (e.g., search forms, links to external content, etc). </p> </li></ul> </td></tr> <tr valign="top"><td><code>value</code></td> <td> <p>A character string to assign to the nav item. This value may be supplied to the relevant container's <code>selected</code> argument in order to show particular nav item's content immediately on page load. This value is also useful for programmatically updating the selected content via <code><a href="nav_select.html">nav_select()</a></code>, <code><a href="nav_select.html">nav_hide()</a></code>, etc (updating selected tabs this way is often useful for showing/hiding panels of content via other UI controls like <code><a href="../../shiny/html/radioButtons.html">shiny::radioButtons()</a></code> – in this scenario, consider using <code><a href="nav.html">nav_content()</a></code> with <code><a href="navs.html">navs_hidden()</a></code>).</p> </td></tr> <tr valign="top"><td><code>icon</code></td> <td> <p>Optional icon to appear next to the nav item's <code>title</code>.</p> </td></tr> <tr valign="top"><td><code>align</code></td> <td> <p>horizontal alignment of the dropdown menu relative to dropdown toggle.</p> </td></tr> </table> <h3>Value</h3> <p>A nav item that may be passed to a nav container (e.g. <code><a href="navs.html">navs_tab()</a></code>). </p> <h3>Functions</h3> <ul> <li> <p><code>nav</code>: Content to display when the given item is selected. </p> </li> <li> <p><code>nav_menu</code>: Create a menu of nav items. </p> </li> <li> <p><code>nav_content</code>: Create nav content for use inside <code>navs_hidden()</code> (for creating custom navigation controls via <code>navs_select()</code>), </p> </li> <li> <p><code>nav_item</code>: Place arbitrary content in the navigation panel (e.g., search forms, links to external content, etc.) </p> </li> <li> <p><code>nav_spacer</code>: Adding spacing between nav items. </p> </li></ul> <h3>See Also</h3> <p><code><a href="navs.html">navs_tab()</a></code>, <code><a href="nav_select.html">nav_select()</a></code>. </p> <hr /><div style="text-align: center;">[Package <em>bslib</em> version 0.4.0 <a href="00Index.html">Index</a>]</div> </body></html>