Skip to content

Commit

Permalink
add types for addSearchWithOther properties
Browse files Browse the repository at this point in the history
  • Loading branch information
hns258 committed Sep 11, 2022
1 parent 1a91f90 commit 6eeade7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Expand Up @@ -148,15 +148,15 @@ Show the `Search with Google` menu item when right-clicking text.
Type: `object: {title: string; url: string}`\
Default: `{}`

Add a `Search with {searchEngine}` menu item when right-clicking text.
Add a `Search with {searchEngine}` menu item when right-clicking text.

This allows the use of a search engine besides Google (e.g., Bing and DuckDuckGo). The `title` and `url` of the desired search engine need to be provided. The `{searchEngine}` placeholder will be replaced by `title`.
This allows the use of a search engine besides Google (e.g., Bing and DuckDuckGo). The `title` and `url` of the desired search engine need to be provided. The `{searchEngine}` placeholder will be replaced by `title`.

Properties:

`title`: Title/name of search engine
`title` - string - Title/name of search engine

`url`: URL of search engine (with query syntax used in Chrome)
`url` - string - URL of search engine (with query syntax used in Chrome)

Examples:
```js
Expand Down

0 comments on commit 6eeade7

Please sign in to comment.