Contents

WKWebExtension.Command

An object that encapsulates the properties for an individual web extension command.

Declaration

@MainActor class Command

Overview

Provides access to command properties such as a unique identifier, a descriptive title, and shortcut keys. Commands can be used by a web extension to perform specific actions within a web extension context, such toggling features, or interacting with web content. These commands enhance the functionality of the extension by allowing users to invoke actions quickly.

Topics

Instance Properties

See Also

Classes