Skip to content

Commit

Permalink
set as optional on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anonvt committed Jul 1, 2024
1 parent b791641 commit d2213fd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ Directly from unpkg.com

# Banner Attributes

| Name | Type | Description |
| ---------------------- | --------------- | --------------------------------------------------------------------------- |
| width | Number | Banner width |
| height | Number | Banner height |
| id | String | The slot ID for this banner |
| category-id* | Optional String | The category ID of the current page |
| category-ids* | Optional String | Comma (,) separated list of category IDs, the item must match all |
| category-disjunctions* | Optional String | Comma (,) separated list of category IDs, the item must match any |
| search-query | Optional String | The search query of the current page |
| location | Optional String | The location for geotargeting |
| new-tab | Boolean | Opens the link in a new tab (defaults to false) |
| Name | Type | Description |
| ---------------------- | ---------------- | --------------------------------------------------------------------------- |
| width | Number | Banner width |
| height | Number | Banner height |
| id | String | The slot ID for this banner |
| category-id* | Optional String | The category ID of the current page |
| category-ids* | Optional String | Comma (,) separated list of category IDs, the item must match all |
| category-disjunctions* | Optional String | Comma (,) separated list of category IDs, the item must match any |
| search-query | Optional String | The search query of the current page |
| location | Optional String | The location for geotargeting |
| new-tab | Optional Boolean | Opens the link in a new tab (defaults to false) |

\* Only one of `[category-id, category-ids, category-disjunctions]` must be set.
If multiple are set, only the first will be considered, in that order.
Expand Down

0 comments on commit d2213fd

Please sign in to comment.