Skip to content

Commit a79d30c

Browse files
committed
Merge remote-tracking branch 'upstream/master' into kbn-56244-wrap-abort-error
2 parents 5b3483a + 5fe53d1 commit a79d30c

File tree

266 files changed

+4506
-3174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+4506
-3174
lines changed

docs/development/core/public/kibana-plugin-public.applicationstart.geturlforapp.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44

55
## ApplicationStart.getUrlForApp() method
66

7-
Returns a relative URL to a given app, including the global base path.
7+
Returns an URL to a given app, including the global base path. By default, the URL is relative (/basePath/app/my-app). Use the `absolute` option to generate an absolute url (http://host:port/basePath/app/my-app)
8+
9+
Note that when generating absolute urls, the protocol, host and port are determined from the browser location.
810

911
<b>Signature:</b>
1012

1113
```typescript
1214
getUrlForApp(appId: string, options?: {
1315
path?: string;
16+
absolute?: boolean;
1417
}): string;
1518
```
1619

@@ -19,7 +22,7 @@ getUrlForApp(appId: string, options?: {
1922
| Parameter | Type | Description |
2023
| --- | --- | --- |
2124
| appId | <code>string</code> | |
22-
| options | <code>{</code><br/><code> path?: string;</code><br/><code> }</code> | |
25+
| options | <code>{</code><br/><code> path?: string;</code><br/><code> absolute?: boolean;</code><br/><code> }</code> | |
2326

2427
<b>Returns:</b>
2528

docs/development/core/public/kibana-plugin-public.applicationstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export interface ApplicationStart
2222

2323
| Method | Description |
2424
| --- | --- |
25-
| [getUrlForApp(appId, options)](./kibana-plugin-public.applicationstart.geturlforapp.md) | Returns a relative URL to a given app, including the global base path. |
25+
| [getUrlForApp(appId, options)](./kibana-plugin-public.applicationstart.geturlforapp.md) | Returns an URL to a given app, including the global base path. By default, the URL is relative (/basePath/app/my-app). Use the <code>absolute</code> option to generate an absolute url (http://host:port/basePath/app/my-app)<!-- -->Note that when generating absolute urls, the protocol, host and port are determined from the browser location. |
2626
| [navigateToApp(appId, options)](./kibana-plugin-public.applicationstart.navigatetoapp.md) | Navigate to a given app |
2727
| [registerMountContext(contextName, provider)](./kibana-plugin-public.applicationstart.registermountcontext.md) | Register a context provider for application mounting. Will only be available to applications that depend on the plugin that registered this context. Deprecated, use [CoreSetup.getStartServices()](./kibana-plugin-public.coresetup.getstartservices.md)<!-- -->. |
2828

165 KB
Loading
317 KB
Loading
238 KB
Loading
119 KB
Loading
11.2 KB
Loading
40.4 KB
Loading
-2.55 KB
Loading

docs/logs/images/logs-add-data.png

161 KB
Loading

0 commit comments

Comments
 (0)