new_nav_input | R Documentation |
To create a new input form, give new_nav_input()
a unique key and the
corresponding list of values.
By default, the values are empty characters.
Each line shows the menu items (keys on the left, value descriptions on the
right).
By default, the description from pillar::obj_sum()
is displayed, but you
can set description
.
Each menu item can be changed by itemise()
.
new_nav_input(
key = character(),
value = list(character()),
description = NULL,
...,
class = character()
)
key |
A unique character vector. |
value |
A list of values corresponding to the keys. By default, the values are empty characters. |
description |
A character vector of descriptions for the keys. By
default, the description from |
... |
Additional arguments passed to |
class |
A character vector of subclasses passed to
|
A navigatr_nav_input
object, a subclass of class data.frame
.
itemise()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.