Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #126 from looker/RichardCzechowski-patch-1
Browse files Browse the repository at this point in the history
Add color application to docs
  • Loading branch information
RichardCzechowski authored Jan 28, 2020
2 parents 692a56c + 247ee91 commit 2c496a9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/api_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,11 @@ Here's an example:

```js
options: {
color_application: {
type: 'object',
display: 'color_application',
label: 'Color Configuration',
},
color_range: {
type: "array",
label: "Color Range",
Expand Down Expand Up @@ -293,7 +298,7 @@ options: {

The data type of the option.

**Allowed Values:** `string` (default), `number`, `boolean`, `array`
**Allowed Values:** `string` (default), `number`, `boolean`, `array`, `object`

- `label` _string_

Expand All @@ -318,6 +323,10 @@ options: {
- when `type` is `array`:

**Allowed Values:** `text` (default), `color`, `colors`
- when `type` is `object`:

**Allowed Values:** `color_application`

- `placeholder` _string_

Expand Down

0 comments on commit 2c496a9

Please sign in to comment.