![]() This string appears in extension keyboard shortcut management UI. descriptionĪ string used to provide the user with a short description of the command's purpose. See Key combination requirements for additional details. When providing platform-specific shortcuts, valid object properties are default, chromeos, linux, mac, and windows. This property can either take a string or an object value.Ī string value specifies the default keyboard shortcut that should be used across all platforms.Īn object value allows the extension developer to customize the keyboard shortcut for each platform. suggested_keyĪn optional property that declares default keyboard shortcuts for the command. ![]() The property key is used as the command's name. Each command an extension accepts must be declared as properties of the "commands" object in the extension's manifest. The Commands API allows extension developers to define specific commands, and bind them to a default key combination. ![]() ![]() You must have a "manifest_version" of at least 2 to use this API. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |