Document free functions

This commit is contained in:
Nate Butler 2024-01-09 14:21:29 -05:00
parent cb24062e79
commit c19551d974
3 changed files with 4 additions and 6 deletions

View file

@ -108,6 +108,7 @@ impl<M: ManagedView> PopoverMenu<M> {
}
}
/// Creates a [PopoverMenu]
pub fn popover_menu<M: ManagedView>(id: impl Into<ElementId>) -> PopoverMenu<M> {
PopoverMenu {
id: id.into(),