MAIDR Documentation - v3.39.0
    Preparing search index...

    Class PlatformAbstract

    Abstract utility class for platform-specific keyboard key name mappings.

    Index

    Accessors

    Accessors

    • get ctrl(): string

      Returns the platform-specific name for the control/command key.

      Returns string

      'command' on macOS, 'ctrl' on other platforms

    • get alt(): string

      Returns the platform-specific name for the alt/option key.

      Returns string

      'option' on macOS, 'alt' on other platforms

    • get enter(): string

      Returns the platform-specific name for the enter/return key.

      Returns string

      'return' on macOS, 'enter' on other platforms