kibana/api_docs/kbn_test_subj_selector.devdocs.json
2022-09-17 14:14:04 +09:30

63 lines
No EOL
2.2 KiB
JSON

{
"id": "@kbn/test-subj-selector",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [
{
"parentPluginId": "@kbn/test-subj-selector",
"id": "def-server.subj",
"type": "Function",
"tags": [],
"label": "subj",
"description": [
"\nConverts a testSubject selector into a CSS selector.\n\ntestSubject selector syntax rules:\n\n - `data-test-subj` values can include spaces\n\n - prefixing a value with `~` will allow matching a single word in a `data-test-subj` that uses several space delimited list words\n - example: `~foo`\n - css equivalent: `[data-test-subj~=\"foo\"]`\n\n - the `>` character is used between two values to indicate that the value on the right must match an element inside an element matched by the value on the left\n - example: `foo > bar`\n - css equivalent: `[data-test-subj=foo] [data-test-subj=bar]`\n\n - the `&` character is used between two values to indicate that the value on both sides must both match the element\n - example: `foo & bar`\n - css equivalent: `[data-test-subj=foo][data-test-subj=bar]`"
],
"signature": [
"(selector: string) => string"
],
"path": "packages/kbn-test-subj-selector/test_subj_selector.ts",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/test-subj-selector",
"id": "def-server.subj.$1",
"type": "string",
"tags": [],
"label": "selector",
"description": [],
"signature": [
"string"
],
"path": "packages/kbn-test-subj-selector/test_subj_selector.ts",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
}
}