kernl API
    Preparing search index...

    Interface KeymapHold

    Holds an applet's shortcut registrations until the runtime will take them.

    interface KeymapHold {
        forget(windowId: string): void;
        holding(windowId: string): boolean;
        holds(windowId: string, message: unknown, at: number): boolean;
    }
    Index
    • Forget a window and stop waiting for it.

      Parameters

      • windowId: string

      Returns void

    • Whether registrations are being held for a window right now.

      Parameters

      • windowId: string

      Returns boolean

    • Note an envelope from a window and say whether to hold it: a shortcut registration from a window whose startup window has not passed.

      Parameters

      • windowId: string
      • message: unknown
      • at: number

      Returns boolean