GetKeyBindings

« nsIAccessible Page

Summary

This method provides array of localized string of global keyboard accelerator for the given action index supported by accessible.

  nsIDOMDOMStringList getKeyBindings(
    in PRUint8 aActionIndex
  );

Parameters

aActionIndex
[in] Index of the given action.

Return Values

Returns array of localized string of global keyboard accelerator.

Exceptions thrown

NS_ERROR_INVALID_ARG
The given index doesn't correspond to default action (not zero).

Remark

Key bindings are supported for default action only.

See Also