pub fn menu() -> State<MenuItem, NodeId>Available on crate feature
json-viewer only.Expand description
A context menu to pass to JsonViewer::context_menu: copy the value
or its path, and expand or collapse everything inside it. Turn the
chosen entry into an event with MenuItem::event.