cdk_testing_testbed.json 69 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903
  1. {
  2. "repo": "angular/components",
  3. "moduleLabel": "@angular/cdk/testing/testbed",
  4. "moduleName": "@angular/cdk/testing/testbed",
  5. "normalizedModuleName": "angular_cdk_testing_testbed",
  6. "entries": [
  7. {
  8. "name": "TestbedHarnessEnvironmentOptions",
  9. "isAbstract": false,
  10. "entryType": "interface",
  11. "members": [
  12. {
  13. "name": "queryFn",
  14. "type": "(selector: string, root: Element) => Iterable<Element> | ArrayLike<Element>",
  15. "memberType": "property",
  16. "memberTags": [],
  17. "description": "The query function used to find DOM elements.",
  18. "jsdocTags": []
  19. }
  20. ],
  21. "generics": [],
  22. "description": "Options to configure the environment.",
  23. "jsdocTags": [],
  24. "rawComment": "/** Options to configure the environment. */",
  25. "implements": [],
  26. "source": {
  27. "filePath": "/src/cdk/testing/testbed/testbed-harness-environment.ts",
  28. "startLine": 25,
  29. "endLine": 28
  30. }
  31. },
  32. {
  33. "name": "TestbedHarnessEnvironment",
  34. "isAbstract": false,
  35. "entryType": "undecorated_class",
  36. "members": [
  37. {
  38. "name": "constructor",
  39. "signatures": [],
  40. "implementation": {
  41. "params": [
  42. {
  43. "name": "rawRootElement",
  44. "description": "",
  45. "type": "Element",
  46. "isOptional": false,
  47. "isRestParam": false
  48. },
  49. {
  50. "name": "_fixture",
  51. "description": "",
  52. "type": "ComponentFixture<unknown>",
  53. "isOptional": false,
  54. "isRestParam": false
  55. },
  56. {
  57. "name": "options",
  58. "description": "",
  59. "type": "TestbedHarnessEnvironmentOptions | undefined",
  60. "isOptional": true,
  61. "isRestParam": false
  62. }
  63. ],
  64. "isNewType": false,
  65. "returnType": "TestbedHarnessEnvironment",
  66. "generics": [],
  67. "name": "constructor",
  68. "description": "",
  69. "entryType": "function",
  70. "jsdocTags": [],
  71. "rawComment": ""
  72. },
  73. "entryType": "function",
  74. "description": "",
  75. "jsdocTags": [],
  76. "rawComment": "",
  77. "memberType": "method",
  78. "memberTags": [
  79. "protected"
  80. ]
  81. },
  82. {
  83. "name": "forceStabilize",
  84. "signatures": [
  85. {
  86. "name": "forceStabilize",
  87. "entryType": "function",
  88. "description": "Flushes change detection and async tasks captured in the Angular zone.\nIn most cases it should not be necessary to call this manually. However, there may be some edge\ncases where it is needed to fully flush animation events.",
  89. "generics": [],
  90. "isNewType": false,
  91. "jsdocTags": [],
  92. "params": [],
  93. "rawComment": "/**\n * Flushes change detection and async tasks captured in the Angular zone.\n * In most cases it should not be necessary to call this manually. However, there may be some edge\n * cases where it is needed to fully flush animation events.\n */",
  94. "returnType": "Promise<void>"
  95. }
  96. ],
  97. "implementation": {
  98. "params": [],
  99. "isNewType": false,
  100. "returnType": "Promise<void>",
  101. "generics": [],
  102. "name": "forceStabilize",
  103. "description": "Flushes change detection and async tasks captured in the Angular zone.\nIn most cases it should not be necessary to call this manually. However, there may be some edge\ncases where it is needed to fully flush animation events.",
  104. "entryType": "function",
  105. "jsdocTags": [],
  106. "rawComment": "/**\n * Flushes change detection and async tasks captured in the Angular zone.\n * In most cases it should not be necessary to call this manually. However, there may be some edge\n * cases where it is needed to fully flush animation events.\n */"
  107. },
  108. "entryType": "function",
  109. "description": "Flushes change detection and async tasks captured in the Angular zone.\nIn most cases it should not be necessary to call this manually. However, there may be some edge\ncases where it is needed to fully flush animation events.",
  110. "jsdocTags": [],
  111. "rawComment": "/**\n * Flushes change detection and async tasks captured in the Angular zone.\n * In most cases it should not be necessary to call this manually. However, there may be some edge\n * cases where it is needed to fully flush animation events.\n */",
  112. "memberType": "method",
  113. "memberTags": []
  114. },
  115. {
  116. "name": "waitForTasksOutsideAngular",
  117. "signatures": [
  118. {
  119. "name": "waitForTasksOutsideAngular",
  120. "entryType": "function",
  121. "description": "Waits for all scheduled or running async tasks to complete. This allows harness\nauthors to wait for async tasks outside of the Angular zone.",
  122. "generics": [],
  123. "isNewType": false,
  124. "jsdocTags": [],
  125. "params": [],
  126. "rawComment": "/**\n * Waits for all scheduled or running async tasks to complete. This allows harness\n * authors to wait for async tasks outside of the Angular zone.\n */",
  127. "returnType": "Promise<void>"
  128. }
  129. ],
  130. "implementation": {
  131. "params": [],
  132. "isNewType": false,
  133. "returnType": "Promise<void>",
  134. "generics": [],
  135. "name": "waitForTasksOutsideAngular",
  136. "description": "Waits for all scheduled or running async tasks to complete. This allows harness\nauthors to wait for async tasks outside of the Angular zone.",
  137. "entryType": "function",
  138. "jsdocTags": [],
  139. "rawComment": "/**\n * Waits for all scheduled or running async tasks to complete. This allows harness\n * authors to wait for async tasks outside of the Angular zone.\n */"
  140. },
  141. "entryType": "function",
  142. "description": "Waits for all scheduled or running async tasks to complete. This allows harness\nauthors to wait for async tasks outside of the Angular zone.",
  143. "jsdocTags": [],
  144. "rawComment": "/**\n * Waits for all scheduled or running async tasks to complete. This allows harness\n * authors to wait for async tasks outside of the Angular zone.\n */",
  145. "memberType": "method",
  146. "memberTags": []
  147. },
  148. {
  149. "name": "getDocumentRoot",
  150. "signatures": [
  151. {
  152. "name": "getDocumentRoot",
  153. "entryType": "function",
  154. "description": "Gets the root element for the document.",
  155. "generics": [],
  156. "isNewType": false,
  157. "jsdocTags": [],
  158. "params": [],
  159. "rawComment": "/** Gets the root element for the document. */",
  160. "returnType": "Element"
  161. }
  162. ],
  163. "implementation": {
  164. "params": [],
  165. "isNewType": false,
  166. "returnType": "Element",
  167. "generics": [],
  168. "name": "getDocumentRoot",
  169. "description": "Gets the root element for the document.",
  170. "entryType": "function",
  171. "jsdocTags": [],
  172. "rawComment": "/** Gets the root element for the document. */"
  173. },
  174. "entryType": "function",
  175. "description": "Gets the root element for the document.",
  176. "jsdocTags": [],
  177. "rawComment": "/** Gets the root element for the document. */",
  178. "memberType": "method",
  179. "memberTags": [
  180. "protected"
  181. ]
  182. },
  183. {
  184. "name": "createTestElement",
  185. "signatures": [
  186. {
  187. "name": "createTestElement",
  188. "entryType": "function",
  189. "description": "Creates a `TestElement` from a raw element.",
  190. "generics": [],
  191. "isNewType": false,
  192. "jsdocTags": [],
  193. "params": [
  194. {
  195. "name": "element",
  196. "description": "",
  197. "type": "Element",
  198. "isOptional": false,
  199. "isRestParam": false
  200. }
  201. ],
  202. "rawComment": "/** Creates a `TestElement` from a raw element. */",
  203. "returnType": "TestElement"
  204. }
  205. ],
  206. "implementation": {
  207. "params": [
  208. {
  209. "name": "element",
  210. "description": "",
  211. "type": "Element",
  212. "isOptional": false,
  213. "isRestParam": false
  214. }
  215. ],
  216. "isNewType": false,
  217. "returnType": "TestElement",
  218. "generics": [],
  219. "name": "createTestElement",
  220. "description": "Creates a `TestElement` from a raw element.",
  221. "entryType": "function",
  222. "jsdocTags": [],
  223. "rawComment": "/** Creates a `TestElement` from a raw element. */"
  224. },
  225. "entryType": "function",
  226. "description": "Creates a `TestElement` from a raw element.",
  227. "jsdocTags": [],
  228. "rawComment": "/** Creates a `TestElement` from a raw element. */",
  229. "memberType": "method",
  230. "memberTags": [
  231. "protected"
  232. ]
  233. },
  234. {
  235. "name": "createEnvironment",
  236. "signatures": [
  237. {
  238. "name": "createEnvironment",
  239. "entryType": "function",
  240. "description": "Creates a `HarnessLoader` rooted at the given raw element.",
  241. "generics": [],
  242. "isNewType": false,
  243. "jsdocTags": [],
  244. "params": [
  245. {
  246. "name": "element",
  247. "description": "",
  248. "type": "Element",
  249. "isOptional": false,
  250. "isRestParam": false
  251. }
  252. ],
  253. "rawComment": "/** Creates a `HarnessLoader` rooted at the given raw element. */",
  254. "returnType": "HarnessEnvironment<Element>"
  255. }
  256. ],
  257. "implementation": {
  258. "params": [
  259. {
  260. "name": "element",
  261. "description": "",
  262. "type": "Element",
  263. "isOptional": false,
  264. "isRestParam": false
  265. }
  266. ],
  267. "isNewType": false,
  268. "returnType": "HarnessEnvironment<Element>",
  269. "generics": [],
  270. "name": "createEnvironment",
  271. "description": "Creates a `HarnessLoader` rooted at the given raw element.",
  272. "entryType": "function",
  273. "jsdocTags": [],
  274. "rawComment": "/** Creates a `HarnessLoader` rooted at the given raw element. */"
  275. },
  276. "entryType": "function",
  277. "description": "Creates a `HarnessLoader` rooted at the given raw element.",
  278. "jsdocTags": [],
  279. "rawComment": "/** Creates a `HarnessLoader` rooted at the given raw element. */",
  280. "memberType": "method",
  281. "memberTags": [
  282. "protected"
  283. ]
  284. },
  285. {
  286. "name": "getAllRawElements",
  287. "signatures": [
  288. {
  289. "name": "getAllRawElements",
  290. "entryType": "function",
  291. "description": "Gets a list of all elements matching the given selector under this environment's root element.",
  292. "generics": [],
  293. "isNewType": false,
  294. "jsdocTags": [],
  295. "params": [
  296. {
  297. "name": "selector",
  298. "description": "",
  299. "type": "string",
  300. "isOptional": false,
  301. "isRestParam": false
  302. }
  303. ],
  304. "rawComment": "/**\n * Gets a list of all elements matching the given selector under this environment's root element.\n */",
  305. "returnType": "Promise<Element[]>"
  306. }
  307. ],
  308. "implementation": {
  309. "params": [
  310. {
  311. "name": "selector",
  312. "description": "",
  313. "type": "string",
  314. "isOptional": false,
  315. "isRestParam": false
  316. }
  317. ],
  318. "isNewType": false,
  319. "returnType": "Promise<Element[]>",
  320. "generics": [],
  321. "name": "getAllRawElements",
  322. "description": "Gets a list of all elements matching the given selector under this environment's root element.",
  323. "entryType": "function",
  324. "jsdocTags": [],
  325. "rawComment": "/**\n * Gets a list of all elements matching the given selector under this environment's root element.\n */"
  326. },
  327. "entryType": "function",
  328. "description": "Gets a list of all elements matching the given selector under this environment's root element.",
  329. "jsdocTags": [],
  330. "rawComment": "/**\n * Gets a list of all elements matching the given selector under this environment's root element.\n */",
  331. "memberType": "method",
  332. "memberTags": [
  333. "protected"
  334. ]
  335. },
  336. {
  337. "name": "loader",
  338. "signatures": [
  339. {
  340. "name": "loader",
  341. "entryType": "function",
  342. "description": "Creates a `HarnessLoader` rooted at the given fixture's root element.",
  343. "generics": [],
  344. "isNewType": false,
  345. "jsdocTags": [],
  346. "params": [
  347. {
  348. "name": "fixture",
  349. "description": "",
  350. "type": "ComponentFixture<unknown>",
  351. "isOptional": false,
  352. "isRestParam": false
  353. },
  354. {
  355. "name": "options",
  356. "description": "",
  357. "type": "TestbedHarnessEnvironmentOptions | undefined",
  358. "isOptional": true,
  359. "isRestParam": false
  360. }
  361. ],
  362. "rawComment": "/** Creates a `HarnessLoader` rooted at the given fixture's root element. */",
  363. "returnType": "HarnessLoader"
  364. }
  365. ],
  366. "implementation": {
  367. "params": [
  368. {
  369. "name": "fixture",
  370. "description": "",
  371. "type": "ComponentFixture<unknown>",
  372. "isOptional": false,
  373. "isRestParam": false
  374. },
  375. {
  376. "name": "options",
  377. "description": "",
  378. "type": "TestbedHarnessEnvironmentOptions | undefined",
  379. "isOptional": true,
  380. "isRestParam": false
  381. }
  382. ],
  383. "isNewType": false,
  384. "returnType": "HarnessLoader",
  385. "generics": [],
  386. "name": "loader",
  387. "description": "Creates a `HarnessLoader` rooted at the given fixture's root element.",
  388. "entryType": "function",
  389. "jsdocTags": [],
  390. "rawComment": "/** Creates a `HarnessLoader` rooted at the given fixture's root element. */"
  391. },
  392. "entryType": "function",
  393. "description": "Creates a `HarnessLoader` rooted at the given fixture's root element.",
  394. "jsdocTags": [],
  395. "rawComment": "/** Creates a `HarnessLoader` rooted at the given fixture's root element. */",
  396. "memberType": "method",
  397. "memberTags": [
  398. "static"
  399. ]
  400. },
  401. {
  402. "name": "documentRootLoader",
  403. "signatures": [
  404. {
  405. "name": "documentRootLoader",
  406. "entryType": "function",
  407. "description": "Creates a `HarnessLoader` at the document root. This can be used if harnesses are\nlocated outside of a fixture (e.g. overlays appended to the document body).",
  408. "generics": [],
  409. "isNewType": false,
  410. "jsdocTags": [],
  411. "params": [
  412. {
  413. "name": "fixture",
  414. "description": "",
  415. "type": "ComponentFixture<unknown>",
  416. "isOptional": false,
  417. "isRestParam": false
  418. },
  419. {
  420. "name": "options",
  421. "description": "",
  422. "type": "TestbedHarnessEnvironmentOptions | undefined",
  423. "isOptional": true,
  424. "isRestParam": false
  425. }
  426. ],
  427. "rawComment": "/**\n * Creates a `HarnessLoader` at the document root. This can be used if harnesses are\n * located outside of a fixture (e.g. overlays appended to the document body).\n */",
  428. "returnType": "HarnessLoader"
  429. }
  430. ],
  431. "implementation": {
  432. "params": [
  433. {
  434. "name": "fixture",
  435. "description": "",
  436. "type": "ComponentFixture<unknown>",
  437. "isOptional": false,
  438. "isRestParam": false
  439. },
  440. {
  441. "name": "options",
  442. "description": "",
  443. "type": "TestbedHarnessEnvironmentOptions | undefined",
  444. "isOptional": true,
  445. "isRestParam": false
  446. }
  447. ],
  448. "isNewType": false,
  449. "returnType": "HarnessLoader",
  450. "generics": [],
  451. "name": "documentRootLoader",
  452. "description": "Creates a `HarnessLoader` at the document root. This can be used if harnesses are\nlocated outside of a fixture (e.g. overlays appended to the document body).",
  453. "entryType": "function",
  454. "jsdocTags": [],
  455. "rawComment": "/**\n * Creates a `HarnessLoader` at the document root. This can be used if harnesses are\n * located outside of a fixture (e.g. overlays appended to the document body).\n */"
  456. },
  457. "entryType": "function",
  458. "description": "Creates a `HarnessLoader` at the document root. This can be used if harnesses are\nlocated outside of a fixture (e.g. overlays appended to the document body).",
  459. "jsdocTags": [],
  460. "rawComment": "/**\n * Creates a `HarnessLoader` at the document root. This can be used if harnesses are\n * located outside of a fixture (e.g. overlays appended to the document body).\n */",
  461. "memberType": "method",
  462. "memberTags": [
  463. "static"
  464. ]
  465. },
  466. {
  467. "name": "getNativeElement",
  468. "signatures": [
  469. {
  470. "name": "getNativeElement",
  471. "entryType": "function",
  472. "description": "Gets the native DOM element corresponding to the given TestElement.",
  473. "generics": [],
  474. "isNewType": false,
  475. "jsdocTags": [],
  476. "params": [
  477. {
  478. "name": "el",
  479. "description": "",
  480. "type": "TestElement",
  481. "isOptional": false,
  482. "isRestParam": false
  483. }
  484. ],
  485. "rawComment": "/** Gets the native DOM element corresponding to the given TestElement. */",
  486. "returnType": "Element"
  487. }
  488. ],
  489. "implementation": {
  490. "params": [
  491. {
  492. "name": "el",
  493. "description": "",
  494. "type": "TestElement",
  495. "isOptional": false,
  496. "isRestParam": false
  497. }
  498. ],
  499. "isNewType": false,
  500. "returnType": "Element",
  501. "generics": [],
  502. "name": "getNativeElement",
  503. "description": "Gets the native DOM element corresponding to the given TestElement.",
  504. "entryType": "function",
  505. "jsdocTags": [],
  506. "rawComment": "/** Gets the native DOM element corresponding to the given TestElement. */"
  507. },
  508. "entryType": "function",
  509. "description": "Gets the native DOM element corresponding to the given TestElement.",
  510. "jsdocTags": [],
  511. "rawComment": "/** Gets the native DOM element corresponding to the given TestElement. */",
  512. "memberType": "method",
  513. "memberTags": [
  514. "static"
  515. ]
  516. },
  517. {
  518. "name": "harnessForFixture",
  519. "signatures": [
  520. {
  521. "name": "harnessForFixture",
  522. "entryType": "function",
  523. "description": "Creates an instance of the given harness type, using the fixture's root element as the\nharness's host element. This method should be used when creating a harness for the root element\nof a fixture, as components do not have the correct selector when they are created as the root\nof the fixture.",
  524. "generics": [
  525. {
  526. "name": "T",
  527. "constraint": "ComponentHarness"
  528. }
  529. ],
  530. "isNewType": false,
  531. "jsdocTags": [],
  532. "params": [
  533. {
  534. "name": "fixture",
  535. "description": "",
  536. "type": "ComponentFixture<unknown>",
  537. "isOptional": false,
  538. "isRestParam": false
  539. },
  540. {
  541. "name": "harnessType",
  542. "description": "",
  543. "type": "ComponentHarnessConstructor<T>",
  544. "isOptional": false,
  545. "isRestParam": false
  546. },
  547. {
  548. "name": "options",
  549. "description": "",
  550. "type": "TestbedHarnessEnvironmentOptions | undefined",
  551. "isOptional": true,
  552. "isRestParam": false
  553. }
  554. ],
  555. "rawComment": "/**\n * Creates an instance of the given harness type, using the fixture's root element as the\n * harness's host element. This method should be used when creating a harness for the root element\n * of a fixture, as components do not have the correct selector when they are created as the root\n * of the fixture.\n */",
  556. "returnType": "Promise<T>"
  557. }
  558. ],
  559. "implementation": {
  560. "params": [
  561. {
  562. "name": "fixture",
  563. "description": "",
  564. "type": "ComponentFixture<unknown>",
  565. "isOptional": false,
  566. "isRestParam": false
  567. },
  568. {
  569. "name": "harnessType",
  570. "description": "",
  571. "type": "ComponentHarnessConstructor<T>",
  572. "isOptional": false,
  573. "isRestParam": false
  574. },
  575. {
  576. "name": "options",
  577. "description": "",
  578. "type": "TestbedHarnessEnvironmentOptions | undefined",
  579. "isOptional": true,
  580. "isRestParam": false
  581. }
  582. ],
  583. "isNewType": false,
  584. "returnType": "Promise<T>",
  585. "generics": [
  586. {
  587. "name": "T",
  588. "constraint": "ComponentHarness"
  589. }
  590. ],
  591. "name": "harnessForFixture",
  592. "description": "Creates an instance of the given harness type, using the fixture's root element as the\nharness's host element. This method should be used when creating a harness for the root element\nof a fixture, as components do not have the correct selector when they are created as the root\nof the fixture.",
  593. "entryType": "function",
  594. "jsdocTags": [],
  595. "rawComment": "/**\n * Creates an instance of the given harness type, using the fixture's root element as the\n * harness's host element. This method should be used when creating a harness for the root element\n * of a fixture, as components do not have the correct selector when they are created as the root\n * of the fixture.\n */"
  596. },
  597. "entryType": "function",
  598. "description": "Creates an instance of the given harness type, using the fixture's root element as the\nharness's host element. This method should be used when creating a harness for the root element\nof a fixture, as components do not have the correct selector when they are created as the root\nof the fixture.",
  599. "jsdocTags": [],
  600. "rawComment": "/**\n * Creates an instance of the given harness type, using the fixture's root element as the\n * harness's host element. This method should be used when creating a harness for the root element\n * of a fixture, as components do not have the correct selector when they are created as the root\n * of the fixture.\n */",
  601. "memberType": "method",
  602. "memberTags": [
  603. "static"
  604. ]
  605. }
  606. ],
  607. "generics": [],
  608. "description": "A `HarnessEnvironment` implementation for Angular's Testbed.",
  609. "jsdocTags": [],
  610. "rawComment": "/** A `HarnessEnvironment` implementation for Angular's Testbed. */",
  611. "extends": "HarnessEnvironment<Element>",
  612. "implements": [],
  613. "source": {
  614. "filePath": "/src/cdk/testing/testbed/testbed-harness-environment.ts",
  615. "startLine": 89,
  616. "endLine": 222
  617. }
  618. },
  619. {
  620. "name": "UnitTestElement",
  621. "isAbstract": false,
  622. "entryType": "undecorated_class",
  623. "members": [
  624. {
  625. "name": "constructor",
  626. "signatures": [],
  627. "implementation": {
  628. "params": [
  629. {
  630. "name": "element",
  631. "description": "",
  632. "type": "Element",
  633. "isOptional": false,
  634. "isRestParam": false
  635. },
  636. {
  637. "name": "_stabilize",
  638. "description": "",
  639. "type": "() => Promise<void>",
  640. "isOptional": false,
  641. "isRestParam": false
  642. }
  643. ],
  644. "isNewType": false,
  645. "returnType": "UnitTestElement",
  646. "generics": [],
  647. "name": "constructor",
  648. "description": "",
  649. "entryType": "function",
  650. "jsdocTags": [],
  651. "rawComment": ""
  652. },
  653. "entryType": "function",
  654. "description": "",
  655. "jsdocTags": [],
  656. "rawComment": "",
  657. "memberType": "method",
  658. "memberTags": []
  659. },
  660. {
  661. "name": "blur",
  662. "signatures": [
  663. {
  664. "name": "blur",
  665. "entryType": "function",
  666. "description": "Blur the element.",
  667. "generics": [],
  668. "isNewType": false,
  669. "jsdocTags": [],
  670. "params": [],
  671. "rawComment": "/** Blur the element. */",
  672. "returnType": "Promise<void>"
  673. }
  674. ],
  675. "implementation": {
  676. "params": [],
  677. "isNewType": false,
  678. "returnType": "Promise<void>",
  679. "generics": [],
  680. "name": "blur",
  681. "description": "Blur the element.",
  682. "entryType": "function",
  683. "jsdocTags": [],
  684. "rawComment": "/** Blur the element. */"
  685. },
  686. "entryType": "function",
  687. "description": "Blur the element.",
  688. "jsdocTags": [],
  689. "rawComment": "/** Blur the element. */",
  690. "memberType": "method",
  691. "memberTags": []
  692. },
  693. {
  694. "name": "clear",
  695. "signatures": [
  696. {
  697. "name": "clear",
  698. "entryType": "function",
  699. "description": "Clear the element's input (for input and textarea elements only).",
  700. "generics": [],
  701. "isNewType": false,
  702. "jsdocTags": [],
  703. "params": [],
  704. "rawComment": "/** Clear the element's input (for input and textarea elements only). */",
  705. "returnType": "Promise<void>"
  706. }
  707. ],
  708. "implementation": {
  709. "params": [],
  710. "isNewType": false,
  711. "returnType": "Promise<void>",
  712. "generics": [],
  713. "name": "clear",
  714. "description": "Clear the element's input (for input and textarea elements only).",
  715. "entryType": "function",
  716. "jsdocTags": [],
  717. "rawComment": "/** Clear the element's input (for input and textarea elements only). */"
  718. },
  719. "entryType": "function",
  720. "description": "Clear the element's input (for input and textarea elements only).",
  721. "jsdocTags": [],
  722. "rawComment": "/** Clear the element's input (for input and textarea elements only). */",
  723. "memberType": "method",
  724. "memberTags": []
  725. },
  726. {
  727. "name": "click",
  728. "signatures": [
  729. {
  730. "name": "click",
  731. "entryType": "function",
  732. "description": "Click the element at the default location for the current environment. If you need to guarantee\nthe element is clicked at a specific location, consider using `click('center')` or\n`click(x, y)` instead.",
  733. "generics": [],
  734. "isNewType": false,
  735. "jsdocTags": [],
  736. "params": [
  737. {
  738. "name": "modifiers",
  739. "description": "",
  740. "type": "any",
  741. "isOptional": true,
  742. "isRestParam": false
  743. }
  744. ],
  745. "rawComment": "/**\n * Click the element at the default location for the current environment. If you need to guarantee\n * the element is clicked at a specific location, consider using `click('center')` or\n * `click(x, y)` instead.\n */",
  746. "returnType": "Promise<void>"
  747. },
  748. {
  749. "name": "click",
  750. "entryType": "function",
  751. "description": "Click the element at the element's center.",
  752. "generics": [],
  753. "isNewType": false,
  754. "jsdocTags": [],
  755. "params": [
  756. {
  757. "name": "location",
  758. "description": "",
  759. "type": "\"center\"",
  760. "isOptional": false,
  761. "isRestParam": false
  762. },
  763. {
  764. "name": "modifiers",
  765. "description": "",
  766. "type": "any",
  767. "isOptional": true,
  768. "isRestParam": false
  769. }
  770. ],
  771. "rawComment": "/** Click the element at the element's center. */",
  772. "returnType": "Promise<void>"
  773. },
  774. {
  775. "name": "click",
  776. "entryType": "function",
  777. "description": "Click the element at the specified coordinates relative to the top-left of the element.",
  778. "generics": [],
  779. "isNewType": false,
  780. "jsdocTags": [
  781. {
  782. "name": "param",
  783. "comment": "Coordinate within the element, along the X-axis at which to click."
  784. },
  785. {
  786. "name": "param",
  787. "comment": "Coordinate within the element, along the Y-axis at which to click."
  788. },
  789. {
  790. "name": "param",
  791. "comment": "Modifier keys held while clicking"
  792. }
  793. ],
  794. "params": [
  795. {
  796. "name": "relativeX",
  797. "description": "Coordinate within the element, along the X-axis at which to click.",
  798. "type": "number",
  799. "isOptional": false,
  800. "isRestParam": false
  801. },
  802. {
  803. "name": "relativeY",
  804. "description": "Coordinate within the element, along the Y-axis at which to click.",
  805. "type": "number",
  806. "isOptional": false,
  807. "isRestParam": false
  808. },
  809. {
  810. "name": "modifiers",
  811. "description": "Modifier keys held while clicking",
  812. "type": "any",
  813. "isOptional": true,
  814. "isRestParam": false
  815. }
  816. ],
  817. "rawComment": "/**\n * Click the element at the specified coordinates relative to the top-left of the element.\n * @param relativeX Coordinate within the element, along the X-axis at which to click.\n * @param relativeY Coordinate within the element, along the Y-axis at which to click.\n * @param modifiers Modifier keys held while clicking\n */",
  818. "returnType": "Promise<void>"
  819. }
  820. ],
  821. "implementation": {
  822. "params": [
  823. {
  824. "name": "args",
  825. "description": "",
  826. "type": "[any?] | [\"center\", any?] | [number, number, any?]",
  827. "isOptional": false,
  828. "isRestParam": true
  829. }
  830. ],
  831. "isNewType": false,
  832. "returnType": "Promise<void>",
  833. "generics": [],
  834. "name": "click",
  835. "description": "",
  836. "entryType": "function",
  837. "jsdocTags": [],
  838. "rawComment": ""
  839. },
  840. "entryType": "function",
  841. "description": "",
  842. "jsdocTags": [],
  843. "rawComment": "",
  844. "memberType": "method",
  845. "memberTags": []
  846. },
  847. {
  848. "name": "rightClick",
  849. "signatures": [
  850. {
  851. "name": "rightClick",
  852. "entryType": "function",
  853. "description": "Right clicks on the element at the specified coordinates relative to the top-left of it.",
  854. "generics": [],
  855. "isNewType": false,
  856. "jsdocTags": [
  857. {
  858. "name": "param",
  859. "comment": "Coordinate within the element, along the X-axis at which to click."
  860. },
  861. {
  862. "name": "param",
  863. "comment": "Coordinate within the element, along the Y-axis at which to click."
  864. },
  865. {
  866. "name": "param",
  867. "comment": "Modifier keys held while clicking"
  868. }
  869. ],
  870. "params": [
  871. {
  872. "name": "relativeX",
  873. "description": "Coordinate within the element, along the X-axis at which to click.",
  874. "type": "number",
  875. "isOptional": false,
  876. "isRestParam": false
  877. },
  878. {
  879. "name": "relativeY",
  880. "description": "Coordinate within the element, along the Y-axis at which to click.",
  881. "type": "number",
  882. "isOptional": false,
  883. "isRestParam": false
  884. },
  885. {
  886. "name": "modifiers",
  887. "description": "Modifier keys held while clicking",
  888. "type": "any",
  889. "isOptional": true,
  890. "isRestParam": false
  891. }
  892. ],
  893. "rawComment": "/**\n * Right clicks on the element at the specified coordinates relative to the top-left of it.\n * @param relativeX Coordinate within the element, along the X-axis at which to click.\n * @param relativeY Coordinate within the element, along the Y-axis at which to click.\n * @param modifiers Modifier keys held while clicking\n */",
  894. "returnType": "Promise<void>"
  895. }
  896. ],
  897. "implementation": {
  898. "params": [
  899. {
  900. "name": "args",
  901. "description": "",
  902. "type": "[any?] | [\"center\", any?] | [number, number, any?]",
  903. "isOptional": false,
  904. "isRestParam": true
  905. }
  906. ],
  907. "isNewType": false,
  908. "returnType": "Promise<void>",
  909. "generics": [],
  910. "name": "rightClick",
  911. "description": "",
  912. "entryType": "function",
  913. "jsdocTags": [],
  914. "rawComment": ""
  915. },
  916. "entryType": "function",
  917. "description": "",
  918. "jsdocTags": [],
  919. "rawComment": "",
  920. "memberType": "method",
  921. "memberTags": []
  922. },
  923. {
  924. "name": "focus",
  925. "signatures": [
  926. {
  927. "name": "focus",
  928. "entryType": "function",
  929. "description": "Focus the element.",
  930. "generics": [],
  931. "isNewType": false,
  932. "jsdocTags": [],
  933. "params": [],
  934. "rawComment": "/** Focus the element. */",
  935. "returnType": "Promise<void>"
  936. }
  937. ],
  938. "implementation": {
  939. "params": [],
  940. "isNewType": false,
  941. "returnType": "Promise<void>",
  942. "generics": [],
  943. "name": "focus",
  944. "description": "Focus the element.",
  945. "entryType": "function",
  946. "jsdocTags": [],
  947. "rawComment": "/** Focus the element. */"
  948. },
  949. "entryType": "function",
  950. "description": "Focus the element.",
  951. "jsdocTags": [],
  952. "rawComment": "/** Focus the element. */",
  953. "memberType": "method",
  954. "memberTags": []
  955. },
  956. {
  957. "name": "getCssValue",
  958. "signatures": [
  959. {
  960. "name": "getCssValue",
  961. "entryType": "function",
  962. "description": "Get the computed value of the given CSS property for the element.",
  963. "generics": [],
  964. "isNewType": false,
  965. "jsdocTags": [],
  966. "params": [
  967. {
  968. "name": "property",
  969. "description": "",
  970. "type": "string",
  971. "isOptional": false,
  972. "isRestParam": false
  973. }
  974. ],
  975. "rawComment": "/** Get the computed value of the given CSS property for the element. */",
  976. "returnType": "Promise<string>"
  977. }
  978. ],
  979. "implementation": {
  980. "params": [
  981. {
  982. "name": "property",
  983. "description": "",
  984. "type": "string",
  985. "isOptional": false,
  986. "isRestParam": false
  987. }
  988. ],
  989. "isNewType": false,
  990. "returnType": "Promise<string>",
  991. "generics": [],
  992. "name": "getCssValue",
  993. "description": "Get the computed value of the given CSS property for the element.",
  994. "entryType": "function",
  995. "jsdocTags": [],
  996. "rawComment": "/** Get the computed value of the given CSS property for the element. */"
  997. },
  998. "entryType": "function",
  999. "description": "Get the computed value of the given CSS property for the element.",
  1000. "jsdocTags": [],
  1001. "rawComment": "/** Get the computed value of the given CSS property for the element. */",
  1002. "memberType": "method",
  1003. "memberTags": []
  1004. },
  1005. {
  1006. "name": "hover",
  1007. "signatures": [
  1008. {
  1009. "name": "hover",
  1010. "entryType": "function",
  1011. "description": "Hovers the mouse over the element.",
  1012. "generics": [],
  1013. "isNewType": false,
  1014. "jsdocTags": [],
  1015. "params": [],
  1016. "rawComment": "/** Hovers the mouse over the element. */",
  1017. "returnType": "Promise<void>"
  1018. }
  1019. ],
  1020. "implementation": {
  1021. "params": [],
  1022. "isNewType": false,
  1023. "returnType": "Promise<void>",
  1024. "generics": [],
  1025. "name": "hover",
  1026. "description": "Hovers the mouse over the element.",
  1027. "entryType": "function",
  1028. "jsdocTags": [],
  1029. "rawComment": "/** Hovers the mouse over the element. */"
  1030. },
  1031. "entryType": "function",
  1032. "description": "Hovers the mouse over the element.",
  1033. "jsdocTags": [],
  1034. "rawComment": "/** Hovers the mouse over the element. */",
  1035. "memberType": "method",
  1036. "memberTags": []
  1037. },
  1038. {
  1039. "name": "mouseAway",
  1040. "signatures": [
  1041. {
  1042. "name": "mouseAway",
  1043. "entryType": "function",
  1044. "description": "Moves the mouse away from the element.",
  1045. "generics": [],
  1046. "isNewType": false,
  1047. "jsdocTags": [],
  1048. "params": [],
  1049. "rawComment": "/** Moves the mouse away from the element. */",
  1050. "returnType": "Promise<void>"
  1051. }
  1052. ],
  1053. "implementation": {
  1054. "params": [],
  1055. "isNewType": false,
  1056. "returnType": "Promise<void>",
  1057. "generics": [],
  1058. "name": "mouseAway",
  1059. "description": "Moves the mouse away from the element.",
  1060. "entryType": "function",
  1061. "jsdocTags": [],
  1062. "rawComment": "/** Moves the mouse away from the element. */"
  1063. },
  1064. "entryType": "function",
  1065. "description": "Moves the mouse away from the element.",
  1066. "jsdocTags": [],
  1067. "rawComment": "/** Moves the mouse away from the element. */",
  1068. "memberType": "method",
  1069. "memberTags": []
  1070. },
  1071. {
  1072. "name": "sendKeys",
  1073. "signatures": [
  1074. {
  1075. "name": "sendKeys",
  1076. "entryType": "function",
  1077. "description": "Sends the given string to the input as a series of key presses. Also fires input events\nand attempts to add the string to the Element's value. Note that this cannot\nreproduce native browser behavior for keyboard shortcuts such as Tab, Ctrl + A, etc.",
  1078. "generics": [],
  1079. "isNewType": false,
  1080. "jsdocTags": [],
  1081. "params": [
  1082. {
  1083. "name": "keys",
  1084. "description": "",
  1085. "type": "any[]",
  1086. "isOptional": false,
  1087. "isRestParam": true
  1088. }
  1089. ],
  1090. "rawComment": "/**\n * Sends the given string to the input as a series of key presses. Also fires input events\n * and attempts to add the string to the Element's value. Note that this cannot\n * reproduce native browser behavior for keyboard shortcuts such as Tab, Ctrl + A, etc.\n */",
  1091. "returnType": "Promise<void>"
  1092. },
  1093. {
  1094. "name": "sendKeys",
  1095. "entryType": "function",
  1096. "description": "Sends the given string to the input as a series of key presses. Also fires input events\nand attempts to add the string to the Element's value.",
  1097. "generics": [],
  1098. "isNewType": false,
  1099. "jsdocTags": [],
  1100. "params": [
  1101. {
  1102. "name": "modifiers",
  1103. "description": "",
  1104. "type": "ModifierKeys",
  1105. "isOptional": false,
  1106. "isRestParam": false
  1107. },
  1108. {
  1109. "name": "keys",
  1110. "description": "",
  1111. "type": "any[]",
  1112. "isOptional": false,
  1113. "isRestParam": true
  1114. }
  1115. ],
  1116. "rawComment": "/**\n * Sends the given string to the input as a series of key presses. Also fires input events\n * and attempts to add the string to the Element's value.\n */",
  1117. "returnType": "Promise<void>"
  1118. }
  1119. ],
  1120. "implementation": {
  1121. "params": [
  1122. {
  1123. "name": "modifiersAndKeys",
  1124. "description": "",
  1125. "type": "any[]",
  1126. "isOptional": false,
  1127. "isRestParam": true
  1128. }
  1129. ],
  1130. "isNewType": false,
  1131. "returnType": "Promise<void>",
  1132. "generics": [],
  1133. "name": "sendKeys",
  1134. "description": "",
  1135. "entryType": "function",
  1136. "jsdocTags": [],
  1137. "rawComment": ""
  1138. },
  1139. "entryType": "function",
  1140. "description": "",
  1141. "jsdocTags": [],
  1142. "rawComment": "",
  1143. "memberType": "method",
  1144. "memberTags": []
  1145. },
  1146. {
  1147. "name": "text",
  1148. "signatures": [
  1149. {
  1150. "name": "text",
  1151. "entryType": "function",
  1152. "description": "Gets the text from the element.",
  1153. "generics": [],
  1154. "isNewType": false,
  1155. "jsdocTags": [
  1156. {
  1157. "name": "param",
  1158. "comment": "Options that affect what text is included."
  1159. }
  1160. ],
  1161. "params": [
  1162. {
  1163. "name": "options",
  1164. "description": "Options that affect what text is included.",
  1165. "type": "any",
  1166. "isOptional": true,
  1167. "isRestParam": false
  1168. }
  1169. ],
  1170. "rawComment": "/**\n * Gets the text from the element.\n * @param options Options that affect what text is included.\n */",
  1171. "returnType": "Promise<string>"
  1172. }
  1173. ],
  1174. "implementation": {
  1175. "params": [
  1176. {
  1177. "name": "options",
  1178. "description": "Options that affect what text is included.",
  1179. "type": "any",
  1180. "isOptional": true,
  1181. "isRestParam": false
  1182. }
  1183. ],
  1184. "isNewType": false,
  1185. "returnType": "Promise<string>",
  1186. "generics": [],
  1187. "name": "text",
  1188. "description": "Gets the text from the element.",
  1189. "entryType": "function",
  1190. "jsdocTags": [
  1191. {
  1192. "name": "param",
  1193. "comment": "Options that affect what text is included."
  1194. }
  1195. ],
  1196. "rawComment": "/**\n * Gets the text from the element.\n * @param options Options that affect what text is included.\n */"
  1197. },
  1198. "entryType": "function",
  1199. "description": "Gets the text from the element.",
  1200. "jsdocTags": [
  1201. {
  1202. "name": "param",
  1203. "comment": "Options that affect what text is included."
  1204. }
  1205. ],
  1206. "rawComment": "/**\n * Gets the text from the element.\n * @param options Options that affect what text is included.\n */",
  1207. "memberType": "method",
  1208. "memberTags": []
  1209. },
  1210. {
  1211. "name": "setContenteditableValue",
  1212. "signatures": [
  1213. {
  1214. "name": "setContenteditableValue",
  1215. "entryType": "function",
  1216. "description": "Sets the value of a `contenteditable` element.",
  1217. "generics": [],
  1218. "isNewType": false,
  1219. "jsdocTags": [
  1220. {
  1221. "name": "param",
  1222. "comment": "Value to be set on the element."
  1223. }
  1224. ],
  1225. "params": [
  1226. {
  1227. "name": "value",
  1228. "description": "Value to be set on the element.",
  1229. "type": "string",
  1230. "isOptional": false,
  1231. "isRestParam": false
  1232. }
  1233. ],
  1234. "rawComment": "/**\n * Sets the value of a `contenteditable` element.\n * @param value Value to be set on the element.\n */",
  1235. "returnType": "Promise<void>"
  1236. }
  1237. ],
  1238. "implementation": {
  1239. "params": [
  1240. {
  1241. "name": "value",
  1242. "description": "Value to be set on the element.",
  1243. "type": "string",
  1244. "isOptional": false,
  1245. "isRestParam": false
  1246. }
  1247. ],
  1248. "isNewType": false,
  1249. "returnType": "Promise<void>",
  1250. "generics": [],
  1251. "name": "setContenteditableValue",
  1252. "description": "Sets the value of a `contenteditable` element.",
  1253. "entryType": "function",
  1254. "jsdocTags": [
  1255. {
  1256. "name": "param",
  1257. "comment": "Value to be set on the element."
  1258. }
  1259. ],
  1260. "rawComment": "/**\n * Sets the value of a `contenteditable` element.\n * @param value Value to be set on the element.\n */"
  1261. },
  1262. "entryType": "function",
  1263. "description": "Sets the value of a `contenteditable` element.",
  1264. "jsdocTags": [
  1265. {
  1266. "name": "param",
  1267. "comment": "Value to be set on the element."
  1268. }
  1269. ],
  1270. "rawComment": "/**\n * Sets the value of a `contenteditable` element.\n * @param value Value to be set on the element.\n */",
  1271. "memberType": "method",
  1272. "memberTags": []
  1273. },
  1274. {
  1275. "name": "getAttribute",
  1276. "signatures": [
  1277. {
  1278. "name": "getAttribute",
  1279. "entryType": "function",
  1280. "description": "Gets the value for the given attribute from the element.",
  1281. "generics": [],
  1282. "isNewType": false,
  1283. "jsdocTags": [],
  1284. "params": [
  1285. {
  1286. "name": "name",
  1287. "description": "",
  1288. "type": "string",
  1289. "isOptional": false,
  1290. "isRestParam": false
  1291. }
  1292. ],
  1293. "rawComment": "/** Gets the value for the given attribute from the element. */",
  1294. "returnType": "Promise<string | null>"
  1295. }
  1296. ],
  1297. "implementation": {
  1298. "params": [
  1299. {
  1300. "name": "name",
  1301. "description": "",
  1302. "type": "string",
  1303. "isOptional": false,
  1304. "isRestParam": false
  1305. }
  1306. ],
  1307. "isNewType": false,
  1308. "returnType": "Promise<string | null>",
  1309. "generics": [],
  1310. "name": "getAttribute",
  1311. "description": "Gets the value for the given attribute from the element.",
  1312. "entryType": "function",
  1313. "jsdocTags": [],
  1314. "rawComment": "/** Gets the value for the given attribute from the element. */"
  1315. },
  1316. "entryType": "function",
  1317. "description": "Gets the value for the given attribute from the element.",
  1318. "jsdocTags": [],
  1319. "rawComment": "/** Gets the value for the given attribute from the element. */",
  1320. "memberType": "method",
  1321. "memberTags": []
  1322. },
  1323. {
  1324. "name": "hasClass",
  1325. "signatures": [
  1326. {
  1327. "name": "hasClass",
  1328. "entryType": "function",
  1329. "description": "Checks whether the element has the given class.",
  1330. "generics": [],
  1331. "isNewType": false,
  1332. "jsdocTags": [],
  1333. "params": [
  1334. {
  1335. "name": "name",
  1336. "description": "",
  1337. "type": "string",
  1338. "isOptional": false,
  1339. "isRestParam": false
  1340. }
  1341. ],
  1342. "rawComment": "/** Checks whether the element has the given class. */",
  1343. "returnType": "Promise<boolean>"
  1344. }
  1345. ],
  1346. "implementation": {
  1347. "params": [
  1348. {
  1349. "name": "name",
  1350. "description": "",
  1351. "type": "string",
  1352. "isOptional": false,
  1353. "isRestParam": false
  1354. }
  1355. ],
  1356. "isNewType": false,
  1357. "returnType": "Promise<boolean>",
  1358. "generics": [],
  1359. "name": "hasClass",
  1360. "description": "Checks whether the element has the given class.",
  1361. "entryType": "function",
  1362. "jsdocTags": [],
  1363. "rawComment": "/** Checks whether the element has the given class. */"
  1364. },
  1365. "entryType": "function",
  1366. "description": "Checks whether the element has the given class.",
  1367. "jsdocTags": [],
  1368. "rawComment": "/** Checks whether the element has the given class. */",
  1369. "memberType": "method",
  1370. "memberTags": []
  1371. },
  1372. {
  1373. "name": "getDimensions",
  1374. "signatures": [
  1375. {
  1376. "name": "getDimensions",
  1377. "entryType": "function",
  1378. "description": "Gets the dimensions of the element.",
  1379. "generics": [],
  1380. "isNewType": false,
  1381. "jsdocTags": [],
  1382. "params": [],
  1383. "rawComment": "/** Gets the dimensions of the element. */",
  1384. "returnType": "Promise<ElementDimensions>"
  1385. }
  1386. ],
  1387. "implementation": {
  1388. "params": [],
  1389. "isNewType": false,
  1390. "returnType": "Promise<ElementDimensions>",
  1391. "generics": [],
  1392. "name": "getDimensions",
  1393. "description": "Gets the dimensions of the element.",
  1394. "entryType": "function",
  1395. "jsdocTags": [],
  1396. "rawComment": "/** Gets the dimensions of the element. */"
  1397. },
  1398. "entryType": "function",
  1399. "description": "Gets the dimensions of the element.",
  1400. "jsdocTags": [],
  1401. "rawComment": "/** Gets the dimensions of the element. */",
  1402. "memberType": "method",
  1403. "memberTags": []
  1404. },
  1405. {
  1406. "name": "getProperty",
  1407. "signatures": [
  1408. {
  1409. "name": "getProperty",
  1410. "entryType": "function",
  1411. "description": "Gets the value of a property of an element.",
  1412. "generics": [
  1413. {
  1414. "name": "T",
  1415. "default": "any"
  1416. }
  1417. ],
  1418. "isNewType": false,
  1419. "jsdocTags": [],
  1420. "params": [
  1421. {
  1422. "name": "name",
  1423. "description": "",
  1424. "type": "string",
  1425. "isOptional": false,
  1426. "isRestParam": false
  1427. }
  1428. ],
  1429. "rawComment": "/** Gets the value of a property of an element. */",
  1430. "returnType": "Promise<T>"
  1431. }
  1432. ],
  1433. "implementation": {
  1434. "params": [
  1435. {
  1436. "name": "name",
  1437. "description": "",
  1438. "type": "string",
  1439. "isOptional": false,
  1440. "isRestParam": false
  1441. }
  1442. ],
  1443. "isNewType": false,
  1444. "returnType": "Promise<T>",
  1445. "generics": [
  1446. {
  1447. "name": "T",
  1448. "default": "any"
  1449. }
  1450. ],
  1451. "name": "getProperty",
  1452. "description": "Gets the value of a property of an element.",
  1453. "entryType": "function",
  1454. "jsdocTags": [],
  1455. "rawComment": "/** Gets the value of a property of an element. */"
  1456. },
  1457. "entryType": "function",
  1458. "description": "Gets the value of a property of an element.",
  1459. "jsdocTags": [],
  1460. "rawComment": "/** Gets the value of a property of an element. */",
  1461. "memberType": "method",
  1462. "memberTags": []
  1463. },
  1464. {
  1465. "name": "setInputValue",
  1466. "signatures": [
  1467. {
  1468. "name": "setInputValue",
  1469. "entryType": "function",
  1470. "description": "Sets the value of a property of an input.",
  1471. "generics": [],
  1472. "isNewType": false,
  1473. "jsdocTags": [],
  1474. "params": [
  1475. {
  1476. "name": "value",
  1477. "description": "",
  1478. "type": "string",
  1479. "isOptional": false,
  1480. "isRestParam": false
  1481. }
  1482. ],
  1483. "rawComment": "/** Sets the value of a property of an input. */",
  1484. "returnType": "Promise<void>"
  1485. }
  1486. ],
  1487. "implementation": {
  1488. "params": [
  1489. {
  1490. "name": "value",
  1491. "description": "",
  1492. "type": "string",
  1493. "isOptional": false,
  1494. "isRestParam": false
  1495. }
  1496. ],
  1497. "isNewType": false,
  1498. "returnType": "Promise<void>",
  1499. "generics": [],
  1500. "name": "setInputValue",
  1501. "description": "Sets the value of a property of an input.",
  1502. "entryType": "function",
  1503. "jsdocTags": [],
  1504. "rawComment": "/** Sets the value of a property of an input. */"
  1505. },
  1506. "entryType": "function",
  1507. "description": "Sets the value of a property of an input.",
  1508. "jsdocTags": [],
  1509. "rawComment": "/** Sets the value of a property of an input. */",
  1510. "memberType": "method",
  1511. "memberTags": []
  1512. },
  1513. {
  1514. "name": "selectOptions",
  1515. "signatures": [
  1516. {
  1517. "name": "selectOptions",
  1518. "entryType": "function",
  1519. "description": "Selects the options at the specified indexes inside of a native `select` element.",
  1520. "generics": [],
  1521. "isNewType": false,
  1522. "jsdocTags": [],
  1523. "params": [
  1524. {
  1525. "name": "optionIndexes",
  1526. "description": "",
  1527. "type": "number[]",
  1528. "isOptional": false,
  1529. "isRestParam": true
  1530. }
  1531. ],
  1532. "rawComment": "/** Selects the options at the specified indexes inside of a native `select` element. */",
  1533. "returnType": "Promise<void>"
  1534. }
  1535. ],
  1536. "implementation": {
  1537. "params": [
  1538. {
  1539. "name": "optionIndexes",
  1540. "description": "",
  1541. "type": "number[]",
  1542. "isOptional": false,
  1543. "isRestParam": true
  1544. }
  1545. ],
  1546. "isNewType": false,
  1547. "returnType": "Promise<void>",
  1548. "generics": [],
  1549. "name": "selectOptions",
  1550. "description": "Selects the options at the specified indexes inside of a native `select` element.",
  1551. "entryType": "function",
  1552. "jsdocTags": [],
  1553. "rawComment": "/** Selects the options at the specified indexes inside of a native `select` element. */"
  1554. },
  1555. "entryType": "function",
  1556. "description": "Selects the options at the specified indexes inside of a native `select` element.",
  1557. "jsdocTags": [],
  1558. "rawComment": "/** Selects the options at the specified indexes inside of a native `select` element. */",
  1559. "memberType": "method",
  1560. "memberTags": []
  1561. },
  1562. {
  1563. "name": "matchesSelector",
  1564. "signatures": [
  1565. {
  1566. "name": "matchesSelector",
  1567. "entryType": "function",
  1568. "description": "Checks whether this element matches the given selector.",
  1569. "generics": [],
  1570. "isNewType": false,
  1571. "jsdocTags": [],
  1572. "params": [
  1573. {
  1574. "name": "selector",
  1575. "description": "",
  1576. "type": "string",
  1577. "isOptional": false,
  1578. "isRestParam": false
  1579. }
  1580. ],
  1581. "rawComment": "/** Checks whether this element matches the given selector. */",
  1582. "returnType": "Promise<boolean>"
  1583. }
  1584. ],
  1585. "implementation": {
  1586. "params": [
  1587. {
  1588. "name": "selector",
  1589. "description": "",
  1590. "type": "string",
  1591. "isOptional": false,
  1592. "isRestParam": false
  1593. }
  1594. ],
  1595. "isNewType": false,
  1596. "returnType": "Promise<boolean>",
  1597. "generics": [],
  1598. "name": "matchesSelector",
  1599. "description": "Checks whether this element matches the given selector.",
  1600. "entryType": "function",
  1601. "jsdocTags": [],
  1602. "rawComment": "/** Checks whether this element matches the given selector. */"
  1603. },
  1604. "entryType": "function",
  1605. "description": "Checks whether this element matches the given selector.",
  1606. "jsdocTags": [],
  1607. "rawComment": "/** Checks whether this element matches the given selector. */",
  1608. "memberType": "method",
  1609. "memberTags": []
  1610. },
  1611. {
  1612. "name": "isFocused",
  1613. "signatures": [
  1614. {
  1615. "name": "isFocused",
  1616. "entryType": "function",
  1617. "description": "Checks whether the element is focused.",
  1618. "generics": [],
  1619. "isNewType": false,
  1620. "jsdocTags": [],
  1621. "params": [],
  1622. "rawComment": "/** Checks whether the element is focused. */",
  1623. "returnType": "Promise<boolean>"
  1624. }
  1625. ],
  1626. "implementation": {
  1627. "params": [],
  1628. "isNewType": false,
  1629. "returnType": "Promise<boolean>",
  1630. "generics": [],
  1631. "name": "isFocused",
  1632. "description": "Checks whether the element is focused.",
  1633. "entryType": "function",
  1634. "jsdocTags": [],
  1635. "rawComment": "/** Checks whether the element is focused. */"
  1636. },
  1637. "entryType": "function",
  1638. "description": "Checks whether the element is focused.",
  1639. "jsdocTags": [],
  1640. "rawComment": "/** Checks whether the element is focused. */",
  1641. "memberType": "method",
  1642. "memberTags": []
  1643. },
  1644. {
  1645. "name": "dispatchEvent",
  1646. "signatures": [
  1647. {
  1648. "name": "dispatchEvent",
  1649. "entryType": "function",
  1650. "description": "Dispatches an event with a particular name.",
  1651. "generics": [],
  1652. "isNewType": false,
  1653. "jsdocTags": [
  1654. {
  1655. "name": "param",
  1656. "comment": "Name of the event to be dispatched."
  1657. }
  1658. ],
  1659. "params": [
  1660. {
  1661. "name": "name",
  1662. "description": "Name of the event to be dispatched.",
  1663. "type": "string",
  1664. "isOptional": false,
  1665. "isRestParam": false
  1666. },
  1667. {
  1668. "name": "data",
  1669. "description": "",
  1670. "type": "Record<string, EventData> | undefined",
  1671. "isOptional": true,
  1672. "isRestParam": false
  1673. }
  1674. ],
  1675. "rawComment": "/**\n * Dispatches an event with a particular name.\n * @param name Name of the event to be dispatched.\n */",
  1676. "returnType": "Promise<void>"
  1677. }
  1678. ],
  1679. "implementation": {
  1680. "params": [
  1681. {
  1682. "name": "name",
  1683. "description": "Name of the event to be dispatched.",
  1684. "type": "string",
  1685. "isOptional": false,
  1686. "isRestParam": false
  1687. },
  1688. {
  1689. "name": "data",
  1690. "description": "",
  1691. "type": "Record<string, EventData> | undefined",
  1692. "isOptional": true,
  1693. "isRestParam": false
  1694. }
  1695. ],
  1696. "isNewType": false,
  1697. "returnType": "Promise<void>",
  1698. "generics": [],
  1699. "name": "dispatchEvent",
  1700. "description": "Dispatches an event with a particular name.",
  1701. "entryType": "function",
  1702. "jsdocTags": [
  1703. {
  1704. "name": "param",
  1705. "comment": "Name of the event to be dispatched."
  1706. }
  1707. ],
  1708. "rawComment": "/**\n * Dispatches an event with a particular name.\n * @param name Name of the event to be dispatched.\n */"
  1709. },
  1710. "entryType": "function",
  1711. "description": "Dispatches an event with a particular name.",
  1712. "jsdocTags": [
  1713. {
  1714. "name": "param",
  1715. "comment": "Name of the event to be dispatched."
  1716. }
  1717. ],
  1718. "rawComment": "/**\n * Dispatches an event with a particular name.\n * @param name Name of the event to be dispatched.\n */",
  1719. "memberType": "method",
  1720. "memberTags": []
  1721. }
  1722. ],
  1723. "generics": [],
  1724. "description": "A `TestElement` implementation for unit tests.",
  1725. "jsdocTags": [],
  1726. "rawComment": "/** A `TestElement` implementation for unit tests. */",
  1727. "implements": [
  1728. "TestElement"
  1729. ],
  1730. "source": {
  1731. "filePath": "/src/cdk/testing/testbed/unit-test-element.ts",
  1732. "startLine": 68,
  1733. "endLine": 405
  1734. }
  1735. }
  1736. ],
  1737. "symbols": [
  1738. [
  1739. "ComponentFixture",
  1740. "@angular/core/testing"
  1741. ],
  1742. [
  1743. "flush",
  1744. "@angular/core/testing"
  1745. ],
  1746. [
  1747. "TestbedHarnessEnvironmentOptions",
  1748. "@angular/cdk/testing/testbed"
  1749. ],
  1750. [
  1751. "TestbedHarnessEnvironment",
  1752. "@angular/cdk/testing/testbed"
  1753. ],
  1754. [
  1755. "UnitTestElement",
  1756. "@angular/cdk/testing/testbed"
  1757. ],
  1758. [
  1759. "TestbedHarnessEnvironmentOptions",
  1760. "@angular/cdk/testing/testbed"
  1761. ],
  1762. [
  1763. "TestbedHarnessEnvironmentOptions.queryFn",
  1764. "@angular/cdk/testing/testbed"
  1765. ],
  1766. [
  1767. "TestbedHarnessEnvironment",
  1768. "@angular/cdk/testing/testbed"
  1769. ],
  1770. [
  1771. "TestbedHarnessEnvironment.constructor",
  1772. "@angular/cdk/testing/testbed"
  1773. ],
  1774. [
  1775. "TestbedHarnessEnvironment.forceStabilize",
  1776. "@angular/cdk/testing/testbed"
  1777. ],
  1778. [
  1779. "TestbedHarnessEnvironment.waitForTasksOutsideAngular",
  1780. "@angular/cdk/testing/testbed"
  1781. ],
  1782. [
  1783. "TestbedHarnessEnvironment.getDocumentRoot",
  1784. "@angular/cdk/testing/testbed"
  1785. ],
  1786. [
  1787. "TestbedHarnessEnvironment.createTestElement",
  1788. "@angular/cdk/testing/testbed"
  1789. ],
  1790. [
  1791. "TestbedHarnessEnvironment.createEnvironment",
  1792. "@angular/cdk/testing/testbed"
  1793. ],
  1794. [
  1795. "TestbedHarnessEnvironment.getAllRawElements",
  1796. "@angular/cdk/testing/testbed"
  1797. ],
  1798. [
  1799. "TestbedHarnessEnvironment.loader",
  1800. "@angular/cdk/testing/testbed"
  1801. ],
  1802. [
  1803. "TestbedHarnessEnvironment.documentRootLoader",
  1804. "@angular/cdk/testing/testbed"
  1805. ],
  1806. [
  1807. "TestbedHarnessEnvironment.getNativeElement",
  1808. "@angular/cdk/testing/testbed"
  1809. ],
  1810. [
  1811. "TestbedHarnessEnvironment.harnessForFixture",
  1812. "@angular/cdk/testing/testbed"
  1813. ],
  1814. [
  1815. "UnitTestElement",
  1816. "@angular/cdk/testing/testbed"
  1817. ],
  1818. [
  1819. "UnitTestElement.constructor",
  1820. "@angular/cdk/testing/testbed"
  1821. ],
  1822. [
  1823. "UnitTestElement.blur",
  1824. "@angular/cdk/testing/testbed"
  1825. ],
  1826. [
  1827. "UnitTestElement.clear",
  1828. "@angular/cdk/testing/testbed"
  1829. ],
  1830. [
  1831. "UnitTestElement.click",
  1832. "@angular/cdk/testing/testbed"
  1833. ],
  1834. [
  1835. "UnitTestElement.rightClick",
  1836. "@angular/cdk/testing/testbed"
  1837. ],
  1838. [
  1839. "UnitTestElement.focus",
  1840. "@angular/cdk/testing/testbed"
  1841. ],
  1842. [
  1843. "UnitTestElement.getCssValue",
  1844. "@angular/cdk/testing/testbed"
  1845. ],
  1846. [
  1847. "UnitTestElement.hover",
  1848. "@angular/cdk/testing/testbed"
  1849. ],
  1850. [
  1851. "UnitTestElement.mouseAway",
  1852. "@angular/cdk/testing/testbed"
  1853. ],
  1854. [
  1855. "UnitTestElement.sendKeys",
  1856. "@angular/cdk/testing/testbed"
  1857. ],
  1858. [
  1859. "UnitTestElement.text",
  1860. "@angular/cdk/testing/testbed"
  1861. ],
  1862. [
  1863. "UnitTestElement.setContenteditableValue",
  1864. "@angular/cdk/testing/testbed"
  1865. ],
  1866. [
  1867. "UnitTestElement.getAttribute",
  1868. "@angular/cdk/testing/testbed"
  1869. ],
  1870. [
  1871. "UnitTestElement.hasClass",
  1872. "@angular/cdk/testing/testbed"
  1873. ],
  1874. [
  1875. "UnitTestElement.getDimensions",
  1876. "@angular/cdk/testing/testbed"
  1877. ],
  1878. [
  1879. "UnitTestElement.getProperty",
  1880. "@angular/cdk/testing/testbed"
  1881. ],
  1882. [
  1883. "UnitTestElement.setInputValue",
  1884. "@angular/cdk/testing/testbed"
  1885. ],
  1886. [
  1887. "UnitTestElement.selectOptions",
  1888. "@angular/cdk/testing/testbed"
  1889. ],
  1890. [
  1891. "UnitTestElement.matchesSelector",
  1892. "@angular/cdk/testing/testbed"
  1893. ],
  1894. [
  1895. "UnitTestElement.isFocused",
  1896. "@angular/cdk/testing/testbed"
  1897. ],
  1898. [
  1899. "UnitTestElement.dispatchEvent",
  1900. "@angular/cdk/testing/testbed"
  1901. ]
  1902. ]
  1903. }