Skip to content

Function: displayShortcut() ​

ts
function displayShortcut(shortcut, apple?): string;

Mod-Shift-s → ⌘⇧S (Apple) or Ctrl+Shift+S, for tooltips.

Parameters ​

ParameterType
shortcutstring
apple?boolean

Returns ​

string