This repository was archived by the owner on Aug 14, 2021. It is now read-only.
This repository was archived by the owner on Aug 14, 2021. It is now read-only.
Ability to give specific class to a menu item #85
Closed
Description
Hi,
first thanks for your work. I was looking for jquery context menu depending on jqueryui as it is the UI library i use. You are the winner 👍
I need the possibility to give specific class to menu item with the menu option given as a hash ( When html markup is provided but it needs to create it in the DOM so it means a little more javascript parsing time)
so what i suggest is to add at line 450 :
if ( entry.class ) {
$parentLi.addClass( entry.class ) ;
}
Maybe also accept any other property to be added to the menu item.