mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: update Angular CDK apis [main] (#61346)
Updated Angular CDK api files. PR Close #61346
This commit is contained in:
committed by
Jessica Janiuk
parent
25317dd958
commit
eb9806ab0e
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"branchName": "refs/heads/main",
|
||||
"sha": "9f620a26a20c977f8595e6775f6f6f77454fe11b"
|
||||
"sha": "e1fad0e3bf8090180cb2a966ac7d5a094ddc6a7c"
|
||||
}
|
||||
Executable
+7123
File diff suppressed because it is too large
Load Diff
@@ -1431,6 +1431,130 @@
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "getHarnessAtIndex",
|
||||
"signatures": [
|
||||
{
|
||||
"name": "getHarnessAtIndex",
|
||||
"entryType": "function",
|
||||
"description": "Searches for an instance of the component corresponding to the given harness type and index\nunder the `HarnessEnvironment`'s root element, and returns a `ComponentHarness` for that\ninstance. The index specifies the offset of the component to find. If no matching\ncomponent is found at that index, an error is thrown.",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The zero-indexed offset of the component to find"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "An instance of the given harness type"
|
||||
},
|
||||
{
|
||||
"name": "throws",
|
||||
"comment": "If a matching component instance can't be found."
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "A query for a harness to create",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
},
|
||||
{
|
||||
"name": "offset",
|
||||
"description": "",
|
||||
"type": "number",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for an instance of the component corresponding to the given harness type and index\n * under the `HarnessEnvironment`'s root element, and returns a `ComponentHarness` for that\n * instance. The index specifies the offset of the component to find. If no matching\n * component is found at that index, an error is thrown.\n * @param query A query for a harness to create\n * @param index The zero-indexed offset of the component to find\n * @return An instance of the given harness type\n * @throws If a matching component instance can't be found.\n */",
|
||||
"returnType": "Promise<T>"
|
||||
}
|
||||
],
|
||||
"implementation": {
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "A query for a harness to create",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
},
|
||||
{
|
||||
"name": "offset",
|
||||
"description": "",
|
||||
"type": "number",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"returnType": "Promise<T>",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"name": "getHarnessAtIndex",
|
||||
"description": "Searches for an instance of the component corresponding to the given harness type and index\nunder the `HarnessEnvironment`'s root element, and returns a `ComponentHarness` for that\ninstance. The index specifies the offset of the component to find. If no matching\ncomponent is found at that index, an error is thrown.",
|
||||
"entryType": "function",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The zero-indexed offset of the component to find"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "An instance of the given harness type"
|
||||
},
|
||||
{
|
||||
"name": "throws",
|
||||
"comment": "If a matching component instance can't be found."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for an instance of the component corresponding to the given harness type and index\n * under the `HarnessEnvironment`'s root element, and returns a `ComponentHarness` for that\n * instance. The index specifies the offset of the component to find. If no matching\n * component is found at that index, an error is thrown.\n * @param query A query for a harness to create\n * @param index The zero-indexed offset of the component to find\n * @return An instance of the given harness type\n * @throws If a matching component instance can't be found.\n */"
|
||||
},
|
||||
"entryType": "function",
|
||||
"description": "Searches for an instance of the component corresponding to the given harness type and index\nunder the `HarnessEnvironment`'s root element, and returns a `ComponentHarness` for that\ninstance. The index specifies the offset of the component to find. If no matching\ncomponent is found at that index, an error is thrown.",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The zero-indexed offset of the component to find"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "An instance of the given harness type"
|
||||
},
|
||||
{
|
||||
"name": "throws",
|
||||
"comment": "If a matching component instance can't be found."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for an instance of the component corresponding to the given harness type and index\n * under the `HarnessEnvironment`'s root element, and returns a `ComponentHarness` for that\n * instance. The index specifies the offset of the component to find. If no matching\n * component is found at that index, an error is thrown.\n * @param query A query for a harness to create\n * @param index The zero-indexed offset of the component to find\n * @return An instance of the given harness type\n * @throws If a matching component instance can't be found.\n */",
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "getAllHarnesses",
|
||||
"signatures": [
|
||||
@@ -1517,6 +1641,92 @@
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "countHarnesses",
|
||||
"signatures": [
|
||||
{
|
||||
"name": "countHarnesses",
|
||||
"entryType": "function",
|
||||
"description": "Searches for all instance of the component corresponding to the given harness type under the\n`HarnessEnvironment`'s root element, and returns the number that were found.",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "The number of instances that were found."
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "A query for a harness to create",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for all instance of the component corresponding to the given harness type under the\n * `HarnessEnvironment`'s root element, and returns the number that were found.\n * @param query A query for a harness to create\n * @return The number of instances that were found.\n */",
|
||||
"returnType": "Promise<number>"
|
||||
}
|
||||
],
|
||||
"implementation": {
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "A query for a harness to create",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"returnType": "Promise<number>",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"name": "countHarnesses",
|
||||
"description": "Searches for all instance of the component corresponding to the given harness type under the\n`HarnessEnvironment`'s root element, and returns the number that were found.",
|
||||
"entryType": "function",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "The number of instances that were found."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for all instance of the component corresponding to the given harness type under the\n * `HarnessEnvironment`'s root element, and returns the number that were found.\n * @param query A query for a harness to create\n * @return The number of instances that were found.\n */"
|
||||
},
|
||||
"entryType": "function",
|
||||
"description": "Searches for all instance of the component corresponding to the given harness type under the\n`HarnessEnvironment`'s root element, and returns the number that were found.",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "The number of instances that were found."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for all instance of the component corresponding to the given harness type under the\n * `HarnessEnvironment`'s root element, and returns the number that were found.\n * @param query A query for a harness to create\n * @return The number of instances that were found.\n */",
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "hasHarness",
|
||||
"signatures": [
|
||||
@@ -2120,7 +2330,7 @@
|
||||
"source": {
|
||||
"filePath": "src/cdk/testing/harness-environment.ts",
|
||||
"startLine": 45,
|
||||
"endLine": 401
|
||||
"endLine": 435
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -3239,6 +3449,81 @@
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "getHarnessAtIndex",
|
||||
"signatures": [],
|
||||
"implementation": {
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "A query for a harness to create",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
},
|
||||
{
|
||||
"name": "index",
|
||||
"description": "The zero-indexed offset of the matching component instance to return",
|
||||
"type": "number",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"returnType": "Promise<T>",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"name": "getHarnessAtIndex",
|
||||
"description": "Searches for an instance of the component corresponding to the given harness type under the\n`HarnessLoader`'s root element, and returns a `ComponentHarness` for the instance on the page\nat the given index. If no matching component exists at that index, an error is thrown.",
|
||||
"entryType": "function",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The zero-indexed offset of the matching component instance to return"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "An instance of the given harness type."
|
||||
},
|
||||
{
|
||||
"name": "throws",
|
||||
"comment": "If a matching component instance can't be found at the given index."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for an instance of the component corresponding to the given harness type under the\n * `HarnessLoader`'s root element, and returns a `ComponentHarness` for the instance on the page\n * at the given index. If no matching component exists at that index, an error is thrown.\n * @param query A query for a harness to create\n * @param index The zero-indexed offset of the matching component instance to return\n * @return An instance of the given harness type.\n * @throws If a matching component instance can't be found at the given index.\n */"
|
||||
},
|
||||
"entryType": "function",
|
||||
"description": "Searches for an instance of the component corresponding to the given harness type under the\n`HarnessLoader`'s root element, and returns a `ComponentHarness` for the instance on the page\nat the given index. If no matching component exists at that index, an error is thrown.",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The zero-indexed offset of the matching component instance to return"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "An instance of the given harness type."
|
||||
},
|
||||
{
|
||||
"name": "throws",
|
||||
"comment": "If a matching component instance can't be found at the given index."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for an instance of the component corresponding to the given harness type under the\n * `HarnessLoader`'s root element, and returns a `ComponentHarness` for the instance on the page\n * at the given index. If no matching component exists at that index, an error is thrown.\n * @param query A query for a harness to create\n * @param index The zero-indexed offset of the matching component instance to return\n * @return An instance of the given harness type.\n * @throws If a matching component instance can't be found at the given index.\n */",
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "getAllHarnesses",
|
||||
"signatures": [],
|
||||
@@ -3291,6 +3576,58 @@
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "countHarnesses",
|
||||
"signatures": [],
|
||||
"implementation": {
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "A query for a harness to create",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"returnType": "Promise<number>",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"name": "countHarnesses",
|
||||
"description": "Searches for all instances of the component corresponding to the given harness type under the\n`HarnessLoader`'s root element, and returns the total count of all matching components.",
|
||||
"entryType": "function",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "An integer indicating the number of instances that were found."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for all instances of the component corresponding to the given harness type under the\n * `HarnessLoader`'s root element, and returns the total count of all matching components.\n * @param query A query for a harness to create\n * @return An integer indicating the number of instances that were found.\n */"
|
||||
},
|
||||
"entryType": "function",
|
||||
"description": "Searches for all instances of the component corresponding to the given harness type under the\n`HarnessLoader`'s root element, and returns the total count of all matching components.",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "A query for a harness to create"
|
||||
},
|
||||
{
|
||||
"name": "return",
|
||||
"comment": "An integer indicating the number of instances that were found."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Searches for all instances of the component corresponding to the given harness type under the\n * `HarnessLoader`'s root element, and returns the total count of all matching components.\n * @param query A query for a harness to create\n * @return An integer indicating the number of instances that were found.\n */",
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "hasHarness",
|
||||
"signatures": [],
|
||||
@@ -3352,7 +3689,7 @@
|
||||
"source": {
|
||||
"filePath": "src/cdk/testing/component-harness.ts",
|
||||
"startLine": 81,
|
||||
"endLine": 137
|
||||
"endLine": 156
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -3687,6 +4024,33 @@
|
||||
"endLine": 137
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "TextOptions",
|
||||
"isAbstract": false,
|
||||
"entryType": "interface",
|
||||
"members": [
|
||||
{
|
||||
"name": "exclude",
|
||||
"type": "string | undefined",
|
||||
"memberType": "property",
|
||||
"memberTags": [
|
||||
"optional"
|
||||
],
|
||||
"description": "Optional selector for elements whose content should be excluded from the text string.",
|
||||
"jsdocTags": []
|
||||
}
|
||||
],
|
||||
"generics": [],
|
||||
"description": "Options that affect the text returned by `TestElement.text`.",
|
||||
"jsdocTags": [],
|
||||
"rawComment": "/**\n * Options that affect the text returned by `TestElement.text`.\n */",
|
||||
"implements": [],
|
||||
"source": {
|
||||
"filePath": "/src/cdk/testing/test-element.ts",
|
||||
"startLine": 186,
|
||||
"endLine": 189
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LocatorFactory",
|
||||
"isAbstract": false,
|
||||
@@ -4107,35 +4471,8 @@
|
||||
"implements": [],
|
||||
"source": {
|
||||
"filePath": "src/cdk/testing/component-harness.ts",
|
||||
"startLine": 144,
|
||||
"endLine": 299
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "TextOptions",
|
||||
"isAbstract": false,
|
||||
"entryType": "interface",
|
||||
"members": [
|
||||
{
|
||||
"name": "exclude",
|
||||
"type": "string | undefined",
|
||||
"memberType": "property",
|
||||
"memberTags": [
|
||||
"optional"
|
||||
],
|
||||
"description": "Optional selector for elements whose content should be excluded from the text string.",
|
||||
"jsdocTags": []
|
||||
}
|
||||
],
|
||||
"generics": [],
|
||||
"description": "Options that affect the text returned by `TestElement.text`.",
|
||||
"jsdocTags": [],
|
||||
"rawComment": "/**\n * Options that affect the text returned by `TestElement.text`.\n */",
|
||||
"implements": [],
|
||||
"source": {
|
||||
"filePath": "/src/cdk/testing/test-element.ts",
|
||||
"startLine": 186,
|
||||
"endLine": 189
|
||||
"startLine": 163,
|
||||
"endLine": 318
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -4582,8 +4919,8 @@
|
||||
"implements": [],
|
||||
"source": {
|
||||
"filePath": "src/cdk/testing/component-harness.ts",
|
||||
"startLine": 305,
|
||||
"endLine": 454
|
||||
"startLine": 324,
|
||||
"endLine": 473
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -4931,6 +5268,131 @@
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "getHarnessAtIndex",
|
||||
"signatures": [
|
||||
{
|
||||
"name": "getHarnessAtIndex",
|
||||
"entryType": "function",
|
||||
"description": "Gets a matching harness for the given query and index within the current harness's content.",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The harness query to search for."
|
||||
},
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The zero-indexed offset of the component to find."
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "The first harness matching the given query."
|
||||
},
|
||||
{
|
||||
"name": "throws",
|
||||
"comment": "If no matching harness is found."
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "The harness query to search for.",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
},
|
||||
{
|
||||
"name": "index",
|
||||
"description": "The zero-indexed offset of the component to find.",
|
||||
"type": "number",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Gets a matching harness for the given query and index within the current harness's content.\n * @param query The harness query to search for.\n * @param index The zero-indexed offset of the component to find.\n * @returns The first harness matching the given query.\n * @throws If no matching harness is found.\n */",
|
||||
"returnType": "Promise<T>"
|
||||
}
|
||||
],
|
||||
"implementation": {
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "The harness query to search for.",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
},
|
||||
{
|
||||
"name": "index",
|
||||
"description": "The zero-indexed offset of the component to find.",
|
||||
"type": "number",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"returnType": "Promise<T>",
|
||||
"returnDescription": "The first harness matching the given query.",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"name": "getHarnessAtIndex",
|
||||
"description": "Gets a matching harness for the given query and index within the current harness's content.",
|
||||
"entryType": "function",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The harness query to search for."
|
||||
},
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The zero-indexed offset of the component to find."
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "The first harness matching the given query."
|
||||
},
|
||||
{
|
||||
"name": "throws",
|
||||
"comment": "If no matching harness is found."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Gets a matching harness for the given query and index within the current harness's content.\n * @param query The harness query to search for.\n * @param index The zero-indexed offset of the component to find.\n * @returns The first harness matching the given query.\n * @throws If no matching harness is found.\n */"
|
||||
},
|
||||
"entryType": "function",
|
||||
"description": "Gets a matching harness for the given query and index within the current harness's content.",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The harness query to search for."
|
||||
},
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The zero-indexed offset of the component to find."
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "The first harness matching the given query."
|
||||
},
|
||||
{
|
||||
"name": "throws",
|
||||
"comment": "If no matching harness is found."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Gets a matching harness for the given query and index within the current harness's content.\n * @param query The harness query to search for.\n * @param index The zero-indexed offset of the component to find.\n * @returns The first harness matching the given query.\n * @throws If no matching harness is found.\n */",
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "getAllHarnesses",
|
||||
"signatures": [
|
||||
@@ -5018,6 +5480,93 @@
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "countHarnesses",
|
||||
"signatures": [
|
||||
{
|
||||
"name": "countHarnesses",
|
||||
"entryType": "function",
|
||||
"description": "Returns the number of matching harnesses for the given query within the current harness's\ncontent.",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The harness query to search for."
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "The number of matching harnesses for the given query."
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "The harness query to search for.",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Returns the number of matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns The number of matching harnesses for the given query.\n */",
|
||||
"returnType": "Promise<number>"
|
||||
}
|
||||
],
|
||||
"implementation": {
|
||||
"params": [
|
||||
{
|
||||
"name": "query",
|
||||
"description": "The harness query to search for.",
|
||||
"type": "HarnessQuery<T>",
|
||||
"isOptional": false,
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"isNewType": false,
|
||||
"returnType": "Promise<number>",
|
||||
"returnDescription": "The number of matching harnesses for the given query.",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
"constraint": "ComponentHarness"
|
||||
}
|
||||
],
|
||||
"name": "countHarnesses",
|
||||
"description": "Returns the number of matching harnesses for the given query within the current harness's\ncontent.",
|
||||
"entryType": "function",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The harness query to search for."
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "The number of matching harnesses for the given query."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Returns the number of matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns The number of matching harnesses for the given query.\n */"
|
||||
},
|
||||
"entryType": "function",
|
||||
"description": "Returns the number of matching harnesses for the given query within the current harness's\ncontent.",
|
||||
"jsdocTags": [
|
||||
{
|
||||
"name": "param",
|
||||
"comment": "The harness query to search for."
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "The number of matching harnesses for the given query."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Returns the number of matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns The number of matching harnesses for the given query.\n */",
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
{
|
||||
"name": "hasHarness",
|
||||
"signatures": [
|
||||
@@ -5039,7 +5588,7 @@
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "Whetehr there is matching harnesses for the given query."
|
||||
"comment": "Whether there is matching harnesses for the given query."
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
@@ -5051,7 +5600,7 @@
|
||||
"isRestParam": false
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Checks whether there is a matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns Whetehr there is matching harnesses for the given query.\n */",
|
||||
"rawComment": "/**\n * Checks whether there is a matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns Whether there is matching harnesses for the given query.\n */",
|
||||
"returnType": "Promise<boolean>"
|
||||
}
|
||||
],
|
||||
@@ -5067,7 +5616,7 @@
|
||||
],
|
||||
"isNewType": false,
|
||||
"returnType": "Promise<boolean>",
|
||||
"returnDescription": "Whetehr there is matching harnesses for the given query.",
|
||||
"returnDescription": "Whether there is matching harnesses for the given query.",
|
||||
"generics": [
|
||||
{
|
||||
"name": "T",
|
||||
@@ -5084,10 +5633,10 @@
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "Whetehr there is matching harnesses for the given query."
|
||||
"comment": "Whether there is matching harnesses for the given query."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Checks whether there is a matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns Whetehr there is matching harnesses for the given query.\n */"
|
||||
"rawComment": "/**\n * Checks whether there is a matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns Whether there is matching harnesses for the given query.\n */"
|
||||
},
|
||||
"entryType": "function",
|
||||
"description": "Checks whether there is a matching harnesses for the given query within the current harness's\ncontent.",
|
||||
@@ -5098,10 +5647,10 @@
|
||||
},
|
||||
{
|
||||
"name": "returns",
|
||||
"comment": "Whetehr there is matching harnesses for the given query."
|
||||
"comment": "Whether there is matching harnesses for the given query."
|
||||
}
|
||||
],
|
||||
"rawComment": "/**\n * Checks whether there is a matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns Whetehr there is matching harnesses for the given query.\n */",
|
||||
"rawComment": "/**\n * Checks whether there is a matching harnesses for the given query within the current harness's\n * content.\n *\n * @param query The harness query to search for.\n * @returns Whether there is matching harnesses for the given query.\n */",
|
||||
"memberType": "method",
|
||||
"memberTags": []
|
||||
},
|
||||
@@ -5567,8 +6116,8 @@
|
||||
],
|
||||
"source": {
|
||||
"filePath": "src/cdk/testing/component-harness.ts",
|
||||
"startLine": 460,
|
||||
"endLine": 530
|
||||
"startLine": 479,
|
||||
"endLine": 574
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -5597,8 +6146,8 @@
|
||||
"implements": [],
|
||||
"source": {
|
||||
"filePath": "src/cdk/testing/component-harness.ts",
|
||||
"startLine": 536,
|
||||
"endLine": 545
|
||||
"startLine": 580,
|
||||
"endLine": 589
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -5634,8 +6183,8 @@
|
||||
"implements": [],
|
||||
"source": {
|
||||
"filePath": "src/cdk/testing/component-harness.ts",
|
||||
"startLine": 548,
|
||||
"endLine": 553
|
||||
"startLine": 592,
|
||||
"endLine": 597
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -6262,8 +6811,8 @@
|
||||
"implements": [],
|
||||
"source": {
|
||||
"filePath": "src/cdk/testing/component-harness.ts",
|
||||
"startLine": 559,
|
||||
"endLine": 687
|
||||
"startLine": 603,
|
||||
"endLine": 731
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -6341,11 +6890,11 @@
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"LocatorFactory",
|
||||
"TextOptions",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"TextOptions",
|
||||
"LocatorFactory",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
@@ -6632,10 +7181,18 @@
|
||||
"HarnessEnvironment.getHarnessOrNull",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"HarnessEnvironment.getHarnessAtIndex",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"HarnessEnvironment.getAllHarnesses",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"HarnessEnvironment.countHarnesses",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"HarnessEnvironment.hasHarness",
|
||||
"@angular/cdk/testing"
|
||||
@@ -6800,10 +7357,18 @@
|
||||
"HarnessLoader.getHarnessOrNull",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"HarnessLoader.getHarnessAtIndex",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"HarnessLoader.getAllHarnesses",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"HarnessLoader.countHarnesses",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"HarnessLoader.hasHarness",
|
||||
"@angular/cdk/testing"
|
||||
@@ -6816,6 +7381,14 @@
|
||||
"parallel",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"TextOptions",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"TextOptions.exclude",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"LocatorFactory",
|
||||
"@angular/cdk/testing"
|
||||
@@ -6864,14 +7437,6 @@
|
||||
"LocatorFactory.waitForTasksOutsideAngular",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"TextOptions",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"TextOptions.exclude",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"ComponentHarness",
|
||||
"@angular/cdk/testing"
|
||||
@@ -6928,10 +7493,18 @@
|
||||
"ContentContainerComponentHarness.getHarnessOrNull",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"ContentContainerComponentHarness.getHarnessAtIndex",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"ContentContainerComponentHarness.getAllHarnesses",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"ContentContainerComponentHarness.countHarnesses",
|
||||
"@angular/cdk/testing"
|
||||
],
|
||||
[
|
||||
"ContentContainerComponentHarness.hasHarness",
|
||||
"@angular/cdk/testing"
|
||||
|
||||
Reference in New Issue
Block a user