Open cjodo opened 3 months ago
Changes:
on_mount
Usage: Users can now pass an on_mount function when creating a menu to execute custom code when the menu is mounted. Example usage:
local Menu = require('nui.menu') local menu = Menu({ ... on_mount = function() print("Menu mounted!") end, -- other menu options })
Changes:
on_mount
option to the menu module.Usage: Users can now pass an
on_mount
function when creating a menu to execute custom code when the menu is mounted. Example usage: