-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate
chrome.navlinks.update
and add documentation (#54893)
* add migration example on application status updater * update example with proper licensing plugin usage * fix line width
- Loading branch information
1 parent
f13adfa
commit 856c85b
Showing
5 changed files
with
89 additions
and
25 deletions.
There are no files selected for viewing
55 changes: 30 additions & 25 deletions
55
docs/development/core/public/kibana-plugin-public.chromenavlinks.update.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeNavLinks](./kibana-plugin-public.chromenavlinks.md) > [update](./kibana-plugin-public.chromenavlinks.update.md) | ||
|
||
## ChromeNavLinks.update() method | ||
|
||
Update the navlink for the given id with the updated attributes. Returns the updated navlink or `undefined` if it does not exist. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
update(id: string, values: ChromeNavLinkUpdateableFields): ChromeNavLink | undefined; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| id | <code>string</code> | | | ||
| values | <code>ChromeNavLinkUpdateableFields</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`ChromeNavLink | undefined` | ||
|
||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeNavLinks](./kibana-plugin-public.chromenavlinks.md) > [update](./kibana-plugin-public.chromenavlinks.update.md) | ||
|
||
## ChromeNavLinks.update() method | ||
|
||
> Warning: This API is now obsolete. | ||
> | ||
> Uses the [AppBase.updater$](./kibana-plugin-public.appbase.updater_.md) property when registering your application with [ApplicationSetup.register()](./kibana-plugin-public.applicationsetup.register.md) instead. | ||
> | ||
Update the navlink for the given id with the updated attributes. Returns the updated navlink or `undefined` if it does not exist. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
update(id: string, values: ChromeNavLinkUpdateableFields): ChromeNavLink | undefined; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| id | <code>string</code> | | | ||
| values | <code>ChromeNavLinkUpdateableFields</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`ChromeNavLink | undefined` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters