%META:TOPICPARENT{name="OATDOCIndex"}% ---+ menu.js Pop-up menu control. %TOC% ---++ Objects ---+++ OAT::Menu() Creates new Menu object. ---++ Methods ---+++ OAT::Menu::createFromUl(ul) Creates a menu from an existing unordered list, referenced by ul. ---++ Properties ---+++ OAT::Menu::closeFilter Set this property to a class name of objects which should close menu by clicking. Defaults to "*", since every menu item closes menu when clicked. ---+++ OAT::Menu::noCloseFilter Set this property to a class name of objects which should NOT close menu when clicked. This can be used to include separators in the menu. CategoryOAT CategoryOpenSource CategoryDocumentation