Plugin Reference

In general, these plugin methods and options can be accessed by calling:
$(elm).popmenu('method_or_option_name', ...)

Options

effect: string = default

since 1.0

fade | slide | none | default

Transition effects for context menu. When set to 'default', effect set to the assigned context menu will be used.

duration: integer = null

since 1.0

Transition duration in ms if an effect is not 'none'. If set to null, duration set to the assigned context menu will be used.

Methods

hide: PopMenu

since 1.0

$(elm).popmenu('hide');

Hide context menu if currently being shown.

init: jQuery

since 1.0

$(elm).popmenu('init', menu, options);

Initialize context menu for the selected elements. This method should not be called directly, instead use default method.

show: PopMenu

since 1.0

$(elm).popmenu('show' [, event]);

Show context menu.