jquery-simple-context-menu icon indicating copy to clipboard operation
jquery-simple-context-menu copied to clipboard

Don't create an item if some condition is not satified

Open nunoMSsantos opened this issue 6 years ago • 0 comments

I'd like to not render items if any condition (an option is not selected or an element is hidden) is satisfied.

For example, let's imagine my HTML page has a form with a checkbox. I'd like to have an item in my menu that would only appear if that checkbox is actually checked. Otherwise, that item shouldn't be displayed in the menu.

nunoMSsantos avatar Jul 26 '18 11:07 nunoMSsantos