mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
66 lines
No EOL
1.8 KiB
JSON
66 lines
No EOL
1.8 KiB
JSON
{
|
|
"id": "@kbn/router-utils",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"parentPluginId": "@kbn/router-utils",
|
|
"id": "def-common.getRouterLinkProps",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "getRouterLinkProps",
|
|
"description": [
|
|
"\n\ngetRouterLinkProps is an util that enable HTML elements, such buttons, to\nbehave as links."
|
|
],
|
|
"signature": [
|
|
"({ href, onClick }: GetRouterLinkPropsDeps) => ",
|
|
"RouterLinkProps"
|
|
],
|
|
"path": "src/platform/packages/shared/kbn-router-utils/src/get_router_link_props/index.ts",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/router-utils",
|
|
"id": "def-common.getRouterLinkProps.$1",
|
|
"type": "Object",
|
|
"tags": [],
|
|
"label": "{ href, onClick }",
|
|
"description": [],
|
|
"signature": [
|
|
"GetRouterLinkPropsDeps"
|
|
],
|
|
"path": "src/platform/packages/shared/kbn-router-utils/src/get_router_link_props/index.ts",
|
|
"deprecated": false,
|
|
"trackAdoption": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": [
|
|
"An object that contains an href and a guardedClick handler that will\nmanage behaviours such as leftClickEvent and event with modifiers (Ctrl, Shift, etc)"
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |