Class: ContextMenuHelper

ContextMenuHelper

Few helper static functions


new ContextMenuHelper()

Source:

Methods


<static> splitAccesskey(val)

Split accesskey according to http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#assigned-access-key

Parameters:
Name Type Description
val string

Accesskey value

Source:
Returns:
  • Seperate keys to handle as accesskey
Type
Array

<static> zindex($t)

Calculates zIndex of an element

Parameters:
Name Type Description
$t JQuery

Element to calculate z-index of.

Source:
Returns:
  • Elements zIndex
Type
number