[Expressions] Create expressions function to get UI settings (#101317)

This commit is contained in:
Michael Dokolin 2021-06-10 15:17:52 +02:00 committed by GitHub
parent 49ea272240
commit bde81c2090
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 560 additions and 54 deletions

View file

@ -70,7 +70,7 @@ The actual function is defined in the <code>fn</code> key. The function can be \
| Method | Modifiers | Description |
| --- | --- | --- |
| [setup()](./kibana-plugin-plugins-expressions-public.expressionsservice.setup.md) | | Returns Kibana Platform \*setup\* life-cycle contract. Useful to return the same contract on server-side and browser-side. |
| [start()](./kibana-plugin-plugins-expressions-public.expressionsservice.start.md) | | Returns Kibana Platform \*start\* life-cycle contract. Useful to return the same contract on server-side and browser-side. |
| [setup(args)](./kibana-plugin-plugins-expressions-public.expressionsservice.setup.md) | | Returns Kibana Platform \*setup\* life-cycle contract. Useful to return the same contract on server-side and browser-side. |
| [start(args)](./kibana-plugin-plugins-expressions-public.expressionsservice.start.md) | | Returns Kibana Platform \*start\* life-cycle contract. Useful to return the same contract on server-side and browser-side. |
| [stop()](./kibana-plugin-plugins-expressions-public.expressionsservice.stop.md) | | |

View file

@ -9,8 +9,15 @@ Returns Kibana Platform \*setup\* life-cycle contract. Useful to return the same
<b>Signature:</b>
```typescript
setup(): ExpressionsServiceSetup;
setup(...args: unknown[]): ExpressionsServiceSetup;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| args | <code>unknown[]</code> | |
<b>Returns:</b>
`ExpressionsServiceSetup`

View file

@ -9,8 +9,15 @@ Returns Kibana Platform \*start\* life-cycle contract. Useful to return the same
<b>Signature:</b>
```typescript
start(): ExpressionsServiceStart;
start(...args: unknown[]): ExpressionsServiceStart;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| args | <code>unknown[]</code> | |
<b>Returns:</b>
`ExpressionsServiceStart`