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. |