new_menu {navigatr} | R Documentation |
Deprecated functions
Description
Deprecated functions
Usage
new_menu(
key = character(),
value = list(),
attrs = NULL,
...,
class = character()
)
Arguments
key |
A unique character vector. |
value |
A list of values corresponding to the keys. |
attrs |
A data frame for additional attributes of items (an empty data frame by default). When an item becomes active, the attrs will be added to its attributes. |
... |
Additional arguments passed to |
class |
A character vector of subclasses passed to |
Value
A navigatr_nav_menu
object, a subclass of class data.frame
.
[Package navigatr version 0.2.1 Index]