EVOLUTION-MANAGER
Edit File: nav_prepend.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: Append or prepend nav item to a dropdown menu</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_prepend {bslib}"><tr><td>nav_prepend {bslib}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Append or prepend nav item to a dropdown menu</h2> <h3>Description</h3> <p>Exported for use by <code><a href="../../shiny/html/insertTab.html">shiny::prependTab()</a></code>/<code><a href="../../shiny/html/insertTab.html">shiny::appendTab()</a></code>. These functions have been superseded by <code><a href="nav_select.html">nav_insert()</a></code> (i.e., <code><a href="../../shiny/html/insertTab.html">shiny::insertTab()</a></code>), since it can do everything these functions do (i.e., add a <code><a href="nav.html">nav()</a></code> to the start or end of a <code><a href="nav.html">nav_menu()</a></code>) and more (i.e., insert a <code><a href="nav.html">nav()</a></code> anywhere inside a nav container). </p> <h3>Usage</h3> <pre> nav_prepend( id, nav, menu_title, select = FALSE, session = getDefaultReactiveDomain() ) nav_append( id, nav, menu_title, select = FALSE, session = getDefaultReactiveDomain() ) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>id</code></td> <td> <p>a character string used to identify the nav container.</p> </td></tr> <tr valign="top"><td><code>nav</code></td> <td> <p>a <code><a href="nav.html">nav()</a></code> item.</p> </td></tr> <tr valign="top"><td><code>menu_title</code></td> <td> <p>The title of a <code><a href="nav.html">nav_menu()</a></code>.</p> </td></tr> <tr valign="top"><td><code>select</code></td> <td> <p>Should <code>nav</code> be selected upon being inserted?</p> </td></tr> <tr valign="top"><td><code>session</code></td> <td> <p>a shiny session object (the default should almost always be used).</p> </td></tr> </table> <hr /><div style="text-align: center;">[Package <em>bslib</em> version 0.4.0 <a href="00Index.html">Index</a>]</div> </body></html>