x4js - v2.3.17
    Preparing search index...

    Function shortcutText

    • How a sequence is written for the user, in a tooltip or a menu: "Ctrl+C", "Ctrl+Shift+Z", and on a Mac the signs of its keys.

      Parameters

      • keys: string

      Returns string

      new Button( { icon, tooltip: `Undo (${shortcutText( "Mod+Z" )})` } )