new_nav_input {navigatr} | R Documentation |
Build a new input form
Description
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 summaries on the right).
The summaries are pillar::obj_sum outputs, so you can change the printing methods.
Each menu item can be changed by itemise()
.
Usage
new_nav_input(
key = character(),
value = list(character()),
...,
class = character()
)
Arguments
key |
A unique character vector. |
value |
A list of values corresponding to the keys. By default, the values are empty characters. |
... |
Additional arguments passed to |
class |
A character vector of subclasses passed to |
Value
A navigatr_nav_input
object, a subclass of class data.frame
.
See Also
[Package navigatr version 0.2.1 Index]