UNPKG

1.03 MBJSONView Raw
1{
2 "project": {
3 "name": "The Ember API",
4 "description": "The Ember API: a framework for building ambitious web applications",
5 "url": "https://emberjs.com/",
6 "version": "3.20.7"
7 },
8 "files": {
9 "node_modules/rsvp/lib/rsvp/promise/all.js": {
10 "name": "node_modules/rsvp/lib/rsvp/promise/all.js",
11 "modules": {},
12 "classes": {},
13 "fors": {
14 "Promise": 1
15 },
16 "namespaces": {}
17 },
18 "node_modules/rsvp/lib/rsvp/promise/race.js": {
19 "name": "node_modules/rsvp/lib/rsvp/promise/race.js",
20 "modules": {},
21 "classes": {},
22 "fors": {
23 "Promise": 1
24 },
25 "namespaces": {}
26 },
27 "node_modules/rsvp/lib/rsvp/promise/reject.js": {
28 "name": "node_modules/rsvp/lib/rsvp/promise/reject.js",
29 "modules": {},
30 "classes": {},
31 "fors": {
32 "Promise": 1
33 },
34 "namespaces": {}
35 },
36 "node_modules/rsvp/lib/rsvp/promise/resolve.js": {
37 "name": "node_modules/rsvp/lib/rsvp/promise/resolve.js",
38 "modules": {},
39 "classes": {},
40 "fors": {
41 "Promise": 1
42 },
43 "namespaces": {}
44 },
45 "node_modules/rsvp/lib/rsvp/all-settled.js": {
46 "name": "node_modules/rsvp/lib/rsvp/all-settled.js",
47 "modules": {
48 "rsvp": 1
49 },
50 "classes": {},
51 "fors": {
52 "rsvp": 1
53 },
54 "namespaces": {}
55 },
56 "node_modules/rsvp/lib/rsvp/all.js": {
57 "name": "node_modules/rsvp/lib/rsvp/all.js",
58 "modules": {},
59 "classes": {},
60 "fors": {
61 "rsvp": 1
62 },
63 "namespaces": {}
64 },
65 "node_modules/rsvp/lib/rsvp/defer.js": {
66 "name": "node_modules/rsvp/lib/rsvp/defer.js",
67 "modules": {},
68 "classes": {},
69 "fors": {
70 "rsvp": 1
71 },
72 "namespaces": {}
73 },
74 "node_modules/rsvp/lib/rsvp/events.js": {
75 "name": "node_modules/rsvp/lib/rsvp/events.js",
76 "modules": {},
77 "classes": {
78 "EventTarget": 1
79 },
80 "fors": {
81 "rsvp": 1,
82 "EventTarget": 1
83 },
84 "namespaces": {}
85 },
86 "node_modules/rsvp/lib/rsvp/filter.js": {
87 "name": "node_modules/rsvp/lib/rsvp/filter.js",
88 "modules": {},
89 "classes": {},
90 "fors": {
91 "rsvp": 1
92 },
93 "namespaces": {}
94 },
95 "node_modules/rsvp/lib/rsvp/hash-settled.js": {
96 "name": "node_modules/rsvp/lib/rsvp/hash-settled.js",
97 "modules": {},
98 "classes": {},
99 "fors": {
100 "rsvp": 1
101 },
102 "namespaces": {}
103 },
104 "node_modules/rsvp/lib/rsvp/hash.js": {
105 "name": "node_modules/rsvp/lib/rsvp/hash.js",
106 "modules": {},
107 "classes": {},
108 "fors": {
109 "rsvp": 1
110 },
111 "namespaces": {}
112 },
113 "node_modules/rsvp/lib/rsvp/map.js": {
114 "name": "node_modules/rsvp/lib/rsvp/map.js",
115 "modules": {},
116 "classes": {},
117 "fors": {
118 "rsvp": 1
119 },
120 "namespaces": {}
121 },
122 "node_modules/rsvp/lib/rsvp/node.js": {
123 "name": "node_modules/rsvp/lib/rsvp/node.js",
124 "modules": {},
125 "classes": {},
126 "fors": {
127 "rsvp": 1
128 },
129 "namespaces": {}
130 },
131 "node_modules/rsvp/lib/rsvp/promise.js": {
132 "name": "node_modules/rsvp/lib/rsvp/promise.js",
133 "modules": {},
134 "classes": {
135 "Promise": 1
136 },
137 "fors": {},
138 "namespaces": {}
139 },
140 "node_modules/rsvp/lib/rsvp/race.js": {
141 "name": "node_modules/rsvp/lib/rsvp/race.js",
142 "modules": {},
143 "classes": {},
144 "fors": {
145 "rsvp": 1
146 },
147 "namespaces": {}
148 },
149 "node_modules/rsvp/lib/rsvp/reject.js": {
150 "name": "node_modules/rsvp/lib/rsvp/reject.js",
151 "modules": {},
152 "classes": {},
153 "fors": {
154 "rsvp": 1
155 },
156 "namespaces": {}
157 },
158 "node_modules/rsvp/lib/rsvp/resolve.js": {
159 "name": "node_modules/rsvp/lib/rsvp/resolve.js",
160 "modules": {},
161 "classes": {},
162 "fors": {
163 "rsvp": 1
164 },
165 "namespaces": {}
166 },
167 "node_modules/rsvp/lib/rsvp/rethrow.js": {
168 "name": "node_modules/rsvp/lib/rsvp/rethrow.js",
169 "modules": {},
170 "classes": {},
171 "fors": {
172 "rsvp": 1
173 },
174 "namespaces": {}
175 },
176 "packages/@ember/-internals/console/index.js": {
177 "name": "packages/@ember/-internals/console/index.js",
178 "modules": {},
179 "classes": {
180 "Ember.Logger": 1
181 },
182 "fors": {
183 "Ember.Logger": 1
184 },
185 "namespaces": {
186 "Ember": 1
187 }
188 },
189 "packages/@ember/-internals/container/lib/container.ts": {
190 "name": "packages/@ember/-internals/container/lib/container.ts",
191 "modules": {},
192 "classes": {
193 "Ember.Container": 1
194 },
195 "fors": {},
196 "namespaces": {}
197 },
198 "packages/@ember/-internals/container/lib/registry.ts": {
199 "name": "packages/@ember/-internals/container/lib/registry.ts",
200 "modules": {},
201 "classes": {
202 "Ember.Registry": 1
203 },
204 "fors": {},
205 "namespaces": {}
206 },
207 "packages/@ember/-internals/environment/lib/env.ts": {
208 "name": "packages/@ember/-internals/environment/lib/env.ts",
209 "modules": {},
210 "classes": {
211 "Ember.EmberENV": 1
212 },
213 "fors": {
214 "Ember.EmberENV": 1
215 },
216 "namespaces": {}
217 },
218 "packages/@ember/-internals/extension-support/lib/container_debug_adapter.js": {
219 "name": "packages/@ember/-internals/extension-support/lib/container_debug_adapter.js",
220 "modules": {},
221 "classes": {
222 "ContainerDebugAdapter": 1
223 },
224 "fors": {},
225 "namespaces": {}
226 },
227 "packages/@ember/-internals/extension-support/lib/data_adapter.js": {
228 "name": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
229 "modules": {},
230 "classes": {
231 "DataAdapter": 1
232 },
233 "fors": {},
234 "namespaces": {}
235 },
236 "packages/@ember/-internals/glimmer/lib/component-managers/custom.ts": {
237 "name": "packages/@ember/-internals/glimmer/lib/component-managers/custom.ts",
238 "modules": {},
239 "classes": {},
240 "fors": {},
241 "namespaces": {}
242 },
243 "packages/@ember/-internals/glimmer/lib/components/checkbox.ts": {
244 "name": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
245 "modules": {},
246 "classes": {
247 "Checkbox": 1
248 },
249 "fors": {},
250 "namespaces": {}
251 },
252 "packages/@ember/-internals/glimmer/lib/components/input.ts": {
253 "name": "packages/@ember/-internals/glimmer/lib/components/input.ts",
254 "modules": {},
255 "classes": {},
256 "fors": {
257 "Ember.Templates.helpers": 1,
258 "Ember.Templates.components": 1
259 },
260 "namespaces": {}
261 },
262 "packages/@ember/-internals/glimmer/lib/components/link-to.ts": {
263 "name": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
264 "modules": {},
265 "classes": {
266 "LinkComponent": 1
267 },
268 "fors": {
269 "Ember.Templates.components": 1,
270 "Ember.Templates.helpers": 1
271 },
272 "namespaces": {}
273 },
274 "packages/@ember/-internals/glimmer/lib/components/text-field.ts": {
275 "name": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
276 "modules": {},
277 "classes": {
278 "TextField": 1
279 },
280 "fors": {},
281 "namespaces": {}
282 },
283 "packages/@ember/-internals/glimmer/lib/components/textarea.ts": {
284 "name": "packages/@ember/-internals/glimmer/lib/components/textarea.ts",
285 "modules": {},
286 "classes": {
287 "TextArea": 1
288 },
289 "fors": {
290 "Ember.Templates.components": 1,
291 "Ember.Templates.helpers": 1
292 },
293 "namespaces": {}
294 },
295 "packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts": {
296 "name": "packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts",
297 "modules": {},
298 "classes": {},
299 "fors": {},
300 "namespaces": {}
301 },
302 "packages/@ember/-internals/glimmer/lib/helpers/action.ts": {
303 "name": "packages/@ember/-internals/glimmer/lib/helpers/action.ts",
304 "modules": {},
305 "classes": {},
306 "fors": {
307 "Ember.Templates.helpers": 1
308 },
309 "namespaces": {}
310 },
311 "packages/@ember/-internals/glimmer/lib/helpers/array.ts": {
312 "name": "packages/@ember/-internals/glimmer/lib/helpers/array.ts",
313 "modules": {},
314 "classes": {},
315 "fors": {
316 "Ember.Templates.helpers": 1
317 },
318 "namespaces": {}
319 },
320 "packages/@ember/-internals/glimmer/lib/helpers/component.ts": {
321 "name": "packages/@ember/-internals/glimmer/lib/helpers/component.ts",
322 "modules": {},
323 "classes": {},
324 "fors": {
325 "Ember.Templates.helpers": 1
326 },
327 "namespaces": {}
328 },
329 "packages/@ember/-internals/glimmer/lib/helpers/concat.ts": {
330 "name": "packages/@ember/-internals/glimmer/lib/helpers/concat.ts",
331 "modules": {},
332 "classes": {},
333 "fors": {
334 "Ember.Templates.helpers": 1
335 },
336 "namespaces": {}
337 },
338 "packages/@ember/-internals/glimmer/lib/helpers/each-in.ts": {
339 "name": "packages/@ember/-internals/glimmer/lib/helpers/each-in.ts",
340 "modules": {},
341 "classes": {},
342 "fors": {
343 "Ember.Templates.helpers": 1
344 },
345 "namespaces": {}
346 },
347 "packages/@ember/-internals/glimmer/lib/helpers/fn.ts": {
348 "name": "packages/@ember/-internals/glimmer/lib/helpers/fn.ts",
349 "modules": {},
350 "classes": {},
351 "fors": {
352 "Ember.Templates.helpers": 1
353 },
354 "namespaces": {}
355 },
356 "packages/@ember/-internals/glimmer/lib/helpers/get.ts": {
357 "name": "packages/@ember/-internals/glimmer/lib/helpers/get.ts",
358 "modules": {},
359 "classes": {},
360 "fors": {
361 "Ember.Templates.helpers": 1
362 },
363 "namespaces": {}
364 },
365 "packages/@ember/-internals/glimmer/lib/helpers/hash.ts": {
366 "name": "packages/@ember/-internals/glimmer/lib/helpers/hash.ts",
367 "modules": {},
368 "classes": {},
369 "fors": {
370 "Ember.Templates.helpers": 1
371 },
372 "namespaces": {}
373 },
374 "packages/@ember/-internals/glimmer/lib/helpers/if-unless.ts": {
375 "name": "packages/@ember/-internals/glimmer/lib/helpers/if-unless.ts",
376 "modules": {},
377 "classes": {},
378 "fors": {
379 "Ember.Templates.helpers": 1
380 },
381 "namespaces": {}
382 },
383 "packages/@ember/-internals/glimmer/lib/helpers/loc.ts": {
384 "name": "packages/@ember/-internals/glimmer/lib/helpers/loc.ts",
385 "modules": {},
386 "classes": {},
387 "fors": {
388 "Ember.Templates.helpers": 1
389 },
390 "namespaces": {}
391 },
392 "packages/@ember/-internals/glimmer/lib/helpers/log.ts": {
393 "name": "packages/@ember/-internals/glimmer/lib/helpers/log.ts",
394 "modules": {},
395 "classes": {},
396 "fors": {
397 "Ember.Templates.helpers": 1
398 },
399 "namespaces": {}
400 },
401 "packages/@ember/-internals/glimmer/lib/helpers/mut.ts": {
402 "name": "packages/@ember/-internals/glimmer/lib/helpers/mut.ts",
403 "modules": {},
404 "classes": {},
405 "fors": {
406 "Ember.Templates.helpers": 1
407 },
408 "namespaces": {}
409 },
410 "packages/@ember/-internals/glimmer/lib/helpers/query-param.ts": {
411 "name": "packages/@ember/-internals/glimmer/lib/helpers/query-param.ts",
412 "modules": {},
413 "classes": {},
414 "fors": {
415 "Ember.Templates.helpers": 1
416 },
417 "namespaces": {}
418 },
419 "packages/@ember/-internals/glimmer/lib/helpers/readonly.ts": {
420 "name": "packages/@ember/-internals/glimmer/lib/helpers/readonly.ts",
421 "modules": {},
422 "classes": {},
423 "fors": {
424 "Ember.Templates.helpers": 1
425 },
426 "namespaces": {}
427 },
428 "packages/@ember/-internals/glimmer/lib/helpers/unbound.ts": {
429 "name": "packages/@ember/-internals/glimmer/lib/helpers/unbound.ts",
430 "modules": {},
431 "classes": {},
432 "fors": {
433 "Ember.Templates.helpers": 1
434 },
435 "namespaces": {}
436 },
437 "packages/@ember/-internals/glimmer/lib/modifiers/custom.ts": {
438 "name": "packages/@ember/-internals/glimmer/lib/modifiers/custom.ts",
439 "modules": {},
440 "classes": {},
441 "fors": {},
442 "namespaces": {}
443 },
444 "packages/@ember/-internals/glimmer/lib/modifiers/on.ts": {
445 "name": "packages/@ember/-internals/glimmer/lib/modifiers/on.ts",
446 "modules": {},
447 "classes": {},
448 "fors": {
449 "Ember.Templates.helpers": 1
450 },
451 "namespaces": {}
452 },
453 "packages/@ember/-internals/glimmer/lib/syntax/in-element.ts": {
454 "name": "packages/@ember/-internals/glimmer/lib/syntax/in-element.ts",
455 "modules": {},
456 "classes": {},
457 "fors": {
458 "Ember.Templates.helpers": 1
459 },
460 "namespaces": {}
461 },
462 "packages/@ember/-internals/glimmer/lib/syntax/let.ts": {
463 "name": "packages/@ember/-internals/glimmer/lib/syntax/let.ts",
464 "modules": {},
465 "classes": {},
466 "fors": {
467 "Ember.Templates.helpers": 1
468 },
469 "namespaces": {}
470 },
471 "packages/@ember/-internals/glimmer/lib/syntax/mount.ts": {
472 "name": "packages/@ember/-internals/glimmer/lib/syntax/mount.ts",
473 "modules": {},
474 "classes": {},
475 "fors": {
476 "Ember.Templates.helpers": 1
477 },
478 "namespaces": {}
479 },
480 "packages/@ember/-internals/glimmer/lib/syntax/outlet.ts": {
481 "name": "packages/@ember/-internals/glimmer/lib/syntax/outlet.ts",
482 "modules": {},
483 "classes": {},
484 "fors": {
485 "Ember.Templates.helpers": 1
486 },
487 "namespaces": {}
488 },
489 "packages/@ember/-internals/glimmer/lib/utils/curly-component-state-bucket.ts": {
490 "name": "packages/@ember/-internals/glimmer/lib/utils/curly-component-state-bucket.ts",
491 "modules": {},
492 "classes": {
493 "ComponentStateBucket": 1
494 },
495 "fors": {},
496 "namespaces": {}
497 },
498 "packages/@ember/-internals/glimmer/lib/utils/outlet.ts": {
499 "name": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
500 "modules": {},
501 "classes": {},
502 "fors": {},
503 "namespaces": {}
504 },
505 "packages/@ember/-internals/glimmer/lib/utils/string.ts": {
506 "name": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
507 "modules": {
508 "@ember/template": 1
509 },
510 "classes": {},
511 "fors": {
512 "@ember/template": 1
513 },
514 "namespaces": {}
515 },
516 "packages/@ember/-internals/glimmer/lib/views/outlet.ts": {
517 "name": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
518 "modules": {},
519 "classes": {},
520 "fors": {},
521 "namespaces": {}
522 },
523 "packages/@ember/-internals/glimmer/lib/component.ts": {
524 "name": "packages/@ember/-internals/glimmer/lib/component.ts",
525 "modules": {},
526 "classes": {
527 "Component": 1
528 },
529 "fors": {},
530 "namespaces": {}
531 },
532 "packages/@ember/-internals/glimmer/lib/glimmer-component-docs.ts": {
533 "name": "packages/@ember/-internals/glimmer/lib/glimmer-component-docs.ts",
534 "modules": {
535 "@glimmer/component": 1
536 },
537 "classes": {},
538 "fors": {},
539 "namespaces": {}
540 },
541 "packages/@ember/-internals/glimmer/lib/glimmer-tracking-docs.ts": {
542 "name": "packages/@ember/-internals/glimmer/lib/glimmer-tracking-docs.ts",
543 "modules": {
544 "@glimmer/tracking": 1
545 },
546 "classes": {},
547 "fors": {
548 "@glimmer/tracking": 1
549 },
550 "namespaces": {}
551 },
552 "packages/@ember/-internals/glimmer/lib/helper.ts": {
553 "name": "packages/@ember/-internals/glimmer/lib/helper.ts",
554 "modules": {},
555 "classes": {
556 "Helper": 1
557 },
558 "fors": {
559 "@ember/component/helper": 1
560 },
561 "namespaces": {}
562 },
563 "packages/@ember/-internals/glimmer/lib/resolver.ts": {
564 "name": "packages/@ember/-internals/glimmer/lib/resolver.ts",
565 "modules": {},
566 "classes": {},
567 "fors": {},
568 "namespaces": {}
569 },
570 "packages/@ember/-internals/glimmer/index.ts": {
571 "name": "packages/@ember/-internals/glimmer/index.ts",
572 "modules": {
573 "@ember/component": 1
574 },
575 "classes": {
576 "Ember.Templates.helpers": 1
577 },
578 "fors": {
579 "Ember.Templates.helpers": 1
580 },
581 "namespaces": {}
582 },
583 "packages/@ember/-internals/meta/lib/meta.ts": {
584 "name": "packages/@ember/-internals/meta/lib/meta.ts",
585 "modules": {},
586 "classes": {},
587 "fors": {
588 "Ember": 1
589 },
590 "namespaces": {}
591 },
592 "packages/@ember/-internals/metal/lib/cache.ts": {
593 "name": "packages/@ember/-internals/metal/lib/cache.ts",
594 "modules": {
595 "@glimmer/tracking/primitives/cache": 1
596 },
597 "classes": {},
598 "fors": {
599 "@glimmer/tracking/primitives/cache": 1
600 },
601 "namespaces": {}
602 },
603 "packages/@ember/-internals/metal/lib/computed.ts": {
604 "name": "packages/@ember/-internals/metal/lib/computed.ts",
605 "modules": {},
606 "classes": {
607 "ComputedProperty": 1
608 },
609 "fors": {
610 "@ember/object": 1,
611 "@ember/debug": 1
612 },
613 "namespaces": {}
614 },
615 "packages/@ember/-internals/metal/lib/decorator.ts": {
616 "name": "packages/@ember/-internals/metal/lib/decorator.ts",
617 "modules": {},
618 "classes": {
619 "Descriptor": 1
620 },
621 "fors": {},
622 "namespaces": {}
623 },
624 "packages/@ember/-internals/metal/lib/deprecate_property.ts": {
625 "name": "packages/@ember/-internals/metal/lib/deprecate_property.ts",
626 "modules": {},
627 "classes": {},
628 "fors": {},
629 "namespaces": {}
630 },
631 "packages/@ember/-internals/metal/lib/events.ts": {
632 "name": "packages/@ember/-internals/metal/lib/events.ts",
633 "modules": {},
634 "classes": {},
635 "fors": {
636 "@ember/object/events": 1,
637 "@ember/object/evented": 1
638 },
639 "namespaces": {}
640 },
641 "packages/@ember/-internals/metal/lib/expand_properties.ts": {
642 "name": "packages/@ember/-internals/metal/lib/expand_properties.ts",
643 "modules": {},
644 "classes": {},
645 "fors": {
646 "@ember/object/computed": 1
647 },
648 "namespaces": {}
649 },
650 "packages/@ember/-internals/metal/lib/get_properties.ts": {
651 "name": "packages/@ember/-internals/metal/lib/get_properties.ts",
652 "modules": {},
653 "classes": {},
654 "fors": {
655 "@ember/object": 1
656 },
657 "namespaces": {}
658 },
659 "packages/@ember/-internals/metal/lib/injected_property.ts": {
660 "name": "packages/@ember/-internals/metal/lib/injected_property.ts",
661 "modules": {},
662 "classes": {
663 "Ember.InjectedProperty": 1
664 },
665 "fors": {},
666 "namespaces": {
667 "Ember": 1
668 }
669 },
670 "packages/@ember/-internals/metal/lib/is_blank.ts": {
671 "name": "packages/@ember/-internals/metal/lib/is_blank.ts",
672 "modules": {},
673 "classes": {},
674 "fors": {
675 "@ember/utils": 1
676 },
677 "namespaces": {}
678 },
679 "packages/@ember/-internals/metal/lib/is_empty.ts": {
680 "name": "packages/@ember/-internals/metal/lib/is_empty.ts",
681 "modules": {},
682 "classes": {},
683 "fors": {
684 "@ember/utils": 1
685 },
686 "namespaces": {}
687 },
688 "packages/@ember/-internals/metal/lib/is_none.ts": {
689 "name": "packages/@ember/-internals/metal/lib/is_none.ts",
690 "modules": {},
691 "classes": {},
692 "fors": {
693 "@ember/utils": 1
694 },
695 "namespaces": {}
696 },
697 "packages/@ember/-internals/metal/lib/is_present.ts": {
698 "name": "packages/@ember/-internals/metal/lib/is_present.ts",
699 "modules": {},
700 "classes": {},
701 "fors": {
702 "@ember/utils": 1
703 },
704 "namespaces": {}
705 },
706 "packages/@ember/-internals/metal/lib/libraries.ts": {
707 "name": "packages/@ember/-internals/metal/lib/libraries.ts",
708 "modules": {},
709 "classes": {
710 "Libraries": 1
711 },
712 "fors": {},
713 "namespaces": {}
714 },
715 "packages/@ember/-internals/metal/lib/mixin.ts": {
716 "name": "packages/@ember/-internals/metal/lib/mixin.ts",
717 "modules": {},
718 "classes": {
719 "Mixin": 1
720 },
721 "fors": {
722 "@ember/object/mixin": 1,
723 "@ember/object": 1
724 },
725 "namespaces": {}
726 },
727 "packages/@ember/-internals/metal/lib/observer.ts": {
728 "name": "packages/@ember/-internals/metal/lib/observer.ts",
729 "modules": {},
730 "classes": {},
731 "fors": {
732 "@ember/object/observers": 1
733 },
734 "namespaces": {}
735 },
736 "packages/@ember/-internals/metal/lib/properties.ts": {
737 "name": "packages/@ember/-internals/metal/lib/properties.ts",
738 "modules": {},
739 "classes": {},
740 "fors": {
741 "@ember/object": 1
742 },
743 "namespaces": {}
744 },
745 "packages/@ember/-internals/metal/lib/property_events.ts": {
746 "name": "packages/@ember/-internals/metal/lib/property_events.ts",
747 "modules": {},
748 "classes": {},
749 "fors": {
750 "@ember/object": 1
751 },
752 "namespaces": {}
753 },
754 "packages/@ember/-internals/metal/lib/property_get.ts": {
755 "name": "packages/@ember/-internals/metal/lib/property_get.ts",
756 "modules": {},
757 "classes": {},
758 "fors": {
759 "@ember/object": 1
760 },
761 "namespaces": {}
762 },
763 "packages/@ember/-internals/metal/lib/property_set.ts": {
764 "name": "packages/@ember/-internals/metal/lib/property_set.ts",
765 "modules": {},
766 "classes": {},
767 "fors": {
768 "@ember/object": 1
769 },
770 "namespaces": {}
771 },
772 "packages/@ember/-internals/metal/lib/set_properties.ts": {
773 "name": "packages/@ember/-internals/metal/lib/set_properties.ts",
774 "modules": {},
775 "classes": {},
776 "fors": {
777 "@ember/object": 1
778 },
779 "namespaces": {}
780 },
781 "packages/@ember/-internals/metal/lib/tracked.ts": {
782 "name": "packages/@ember/-internals/metal/lib/tracked.ts",
783 "modules": {},
784 "classes": {},
785 "fors": {},
786 "namespaces": {}
787 },
788 "packages/@ember/-internals/owner/index.ts": {
789 "name": "packages/@ember/-internals/owner/index.ts",
790 "modules": {},
791 "classes": {},
792 "fors": {
793 "@ember/application": 1
794 },
795 "namespaces": {}
796 },
797 "packages/@ember/-internals/routing/lib/ext/controller.ts": {
798 "name": "packages/@ember/-internals/routing/lib/ext/controller.ts",
799 "modules": {},
800 "classes": {},
801 "fors": {
802 "Ember.ControllerMixin": 1
803 },
804 "namespaces": {}
805 },
806 "packages/@ember/-internals/routing/lib/location/api.ts": {
807 "name": "packages/@ember/-internals/routing/lib/location/api.ts",
808 "modules": {},
809 "classes": {
810 "Location": 1
811 },
812 "fors": {},
813 "namespaces": {}
814 },
815 "packages/@ember/-internals/routing/lib/location/auto_location.ts": {
816 "name": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
817 "modules": {},
818 "classes": {
819 "AutoLocation": 1
820 },
821 "fors": {},
822 "namespaces": {}
823 },
824 "packages/@ember/-internals/routing/lib/location/hash_location.ts": {
825 "name": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
826 "modules": {},
827 "classes": {
828 "HashLocation": 1
829 },
830 "fors": {},
831 "namespaces": {}
832 },
833 "packages/@ember/-internals/routing/lib/location/history_location.ts": {
834 "name": "packages/@ember/-internals/routing/lib/location/history_location.ts",
835 "modules": {},
836 "classes": {
837 "HistoryLocation": 1
838 },
839 "fors": {},
840 "namespaces": {}
841 },
842 "packages/@ember/-internals/routing/lib/location/none_location.ts": {
843 "name": "packages/@ember/-internals/routing/lib/location/none_location.ts",
844 "modules": {},
845 "classes": {
846 "NoneLocation": 1
847 },
848 "fors": {},
849 "namespaces": {}
850 },
851 "packages/@ember/-internals/routing/lib/location/util.ts": {
852 "name": "packages/@ember/-internals/routing/lib/location/util.ts",
853 "modules": {},
854 "classes": {},
855 "fors": {},
856 "namespaces": {}
857 },
858 "packages/@ember/-internals/routing/lib/services/router.ts": {
859 "name": "packages/@ember/-internals/routing/lib/services/router.ts",
860 "modules": {},
861 "classes": {
862 "RouterService": 1
863 },
864 "fors": {},
865 "namespaces": {}
866 },
867 "packages/@ember/-internals/routing/lib/services/routing.ts": {
868 "name": "packages/@ember/-internals/routing/lib/services/routing.ts",
869 "modules": {},
870 "classes": {
871 "RoutingService": 1
872 },
873 "fors": {},
874 "namespaces": {}
875 },
876 "packages/@ember/-internals/routing/lib/system/cache.ts": {
877 "name": "packages/@ember/-internals/routing/lib/system/cache.ts",
878 "modules": {},
879 "classes": {
880 "BucketCache": 1
881 },
882 "fors": {},
883 "namespaces": {}
884 },
885 "packages/@ember/-internals/routing/lib/system/controller_for.ts": {
886 "name": "packages/@ember/-internals/routing/lib/system/controller_for.ts",
887 "modules": {},
888 "classes": {},
889 "fors": {
890 "Ember": 1
891 },
892 "namespaces": {}
893 },
894 "packages/@ember/-internals/routing/lib/system/generate_controller.ts": {
895 "name": "packages/@ember/-internals/routing/lib/system/generate_controller.ts",
896 "modules": {},
897 "classes": {},
898 "fors": {
899 "Ember": 1
900 },
901 "namespaces": {}
902 },
903 "packages/@ember/-internals/routing/lib/system/route-info.ts": {
904 "name": "packages/@ember/-internals/routing/lib/system/route-info.ts",
905 "modules": {},
906 "classes": {
907 "RouteInfoWithAttributes": 1,
908 "RouteInfo": 1
909 },
910 "fors": {},
911 "namespaces": {}
912 },
913 "packages/@ember/-internals/routing/lib/system/route.ts": {
914 "name": "packages/@ember/-internals/routing/lib/system/route.ts",
915 "modules": {
916 "@ember/routing": 1
917 },
918 "classes": {
919 "Route": 1
920 },
921 "fors": {
922 "Route": 1
923 },
924 "namespaces": {}
925 },
926 "packages/@ember/-internals/routing/lib/system/router.ts": {
927 "name": "packages/@ember/-internals/routing/lib/system/router.ts",
928 "modules": {},
929 "classes": {
930 "EmberRouter": 1
931 },
932 "fors": {},
933 "namespaces": {}
934 },
935 "packages/@ember/-internals/routing/lib/system/transition.ts": {
936 "name": "packages/@ember/-internals/routing/lib/system/transition.ts",
937 "modules": {},
938 "classes": {
939 "Transition": 1
940 },
941 "fors": {},
942 "namespaces": {}
943 },
944 "packages/@ember/-internals/runtime/lib/ext/function.js": {
945 "name": "packages/@ember/-internals/runtime/lib/ext/function.js",
946 "modules": {},
947 "classes": {},
948 "fors": {
949 "Function": 1
950 },
951 "namespaces": {}
952 },
953 "packages/@ember/-internals/runtime/lib/mixins/-proxy.js": {
954 "name": "packages/@ember/-internals/runtime/lib/mixins/-proxy.js",
955 "modules": {},
956 "classes": {
957 "Ember.ProxyMixin": 1
958 },
959 "fors": {},
960 "namespaces": {
961 "Ember": 1
962 }
963 },
964 "packages/@ember/-internals/runtime/lib/mixins/action_handler.js": {
965 "name": "packages/@ember/-internals/runtime/lib/mixins/action_handler.js",
966 "modules": {},
967 "classes": {
968 "Ember.ActionHandler": 1
969 },
970 "fors": {},
971 "namespaces": {
972 "Ember": 1
973 }
974 },
975 "packages/@ember/-internals/runtime/lib/mixins/array.js": {
976 "name": "packages/@ember/-internals/runtime/lib/mixins/array.js",
977 "modules": {},
978 "classes": {
979 "EmberArray": 1,
980 "MutableArray": 1,
981 "Ember.NativeArray": 1
982 },
983 "fors": {
984 "@ember/array": 1
985 },
986 "namespaces": {}
987 },
988 "packages/@ember/-internals/runtime/lib/mixins/comparable.js": {
989 "name": "packages/@ember/-internals/runtime/lib/mixins/comparable.js",
990 "modules": {},
991 "classes": {
992 "Ember.Comparable": 1
993 },
994 "fors": {},
995 "namespaces": {
996 "Ember": 1
997 }
998 },
999 "packages/@ember/-internals/runtime/lib/mixins/container_proxy.js": {
1000 "name": "packages/@ember/-internals/runtime/lib/mixins/container_proxy.js",
1001 "modules": {},
1002 "classes": {
1003 "ContainerProxyMixin": 1
1004 },
1005 "fors": {},
1006 "namespaces": {}
1007 },
1008 "packages/@ember/-internals/runtime/lib/mixins/copyable.js": {
1009 "name": "packages/@ember/-internals/runtime/lib/mixins/copyable.js",
1010 "modules": {},
1011 "classes": {
1012 "Ember.Copyable": 1
1013 },
1014 "fors": {},
1015 "namespaces": {
1016 "Ember": 1
1017 }
1018 },
1019 "packages/@ember/-internals/runtime/lib/mixins/enumerable.js": {
1020 "name": "packages/@ember/-internals/runtime/lib/mixins/enumerable.js",
1021 "modules": {
1022 "@ember/enumerable": 1
1023 },
1024 "classes": {
1025 "Enumerable": 1
1026 },
1027 "fors": {},
1028 "namespaces": {}
1029 },
1030 "packages/@ember/-internals/runtime/lib/mixins/evented.js": {
1031 "name": "packages/@ember/-internals/runtime/lib/mixins/evented.js",
1032 "modules": {},
1033 "classes": {
1034 "Evented": 1
1035 },
1036 "fors": {},
1037 "namespaces": {}
1038 },
1039 "packages/@ember/-internals/runtime/lib/mixins/mutable_enumerable.js": {
1040 "name": "packages/@ember/-internals/runtime/lib/mixins/mutable_enumerable.js",
1041 "modules": {},
1042 "classes": {
1043 "Ember.MutableEnumerable": 1
1044 },
1045 "fors": {},
1046 "namespaces": {
1047 "Ember": 1
1048 }
1049 },
1050 "packages/@ember/-internals/runtime/lib/mixins/observable.js": {
1051 "name": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
1052 "modules": {},
1053 "classes": {
1054 "Observable": 1
1055 },
1056 "fors": {},
1057 "namespaces": {}
1058 },
1059 "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js": {
1060 "name": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
1061 "modules": {},
1062 "classes": {
1063 "PromiseProxyMixin": 1
1064 },
1065 "fors": {},
1066 "namespaces": {}
1067 },
1068 "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js": {
1069 "name": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
1070 "modules": {},
1071 "classes": {
1072 "RegistryProxyMixin": 1
1073 },
1074 "fors": {},
1075 "namespaces": {}
1076 },
1077 "packages/@ember/-internals/runtime/lib/mixins/target_action_support.js": {
1078 "name": "packages/@ember/-internals/runtime/lib/mixins/target_action_support.js",
1079 "modules": {},
1080 "classes": {
1081 "Ember.TargetActionSupport": 1
1082 },
1083 "fors": {},
1084 "namespaces": {
1085 "Ember": 1
1086 }
1087 },
1088 "packages/@ember/-internals/runtime/lib/system/array_proxy.js": {
1089 "name": "packages/@ember/-internals/runtime/lib/system/array_proxy.js",
1090 "modules": {},
1091 "classes": {
1092 "ArrayProxy": 1
1093 },
1094 "fors": {},
1095 "namespaces": {}
1096 },
1097 "packages/@ember/-internals/runtime/lib/system/core_object.js": {
1098 "name": "packages/@ember/-internals/runtime/lib/system/core_object.js",
1099 "modules": {},
1100 "classes": {
1101 "CoreObject": 1
1102 },
1103 "fors": {
1104 "@ember/object": 1
1105 },
1106 "namespaces": {}
1107 },
1108 "packages/@ember/-internals/runtime/lib/system/namespace.js": {
1109 "name": "packages/@ember/-internals/runtime/lib/system/namespace.js",
1110 "modules": {},
1111 "classes": {
1112 "Ember.Namespace": 1
1113 },
1114 "fors": {},
1115 "namespaces": {
1116 "Ember": 1
1117 }
1118 },
1119 "packages/@ember/-internals/runtime/lib/system/object.js": {
1120 "name": "packages/@ember/-internals/runtime/lib/system/object.js",
1121 "modules": {},
1122 "classes": {
1123 "EmberObject": 1
1124 },
1125 "fors": {},
1126 "namespaces": {}
1127 },
1128 "packages/@ember/-internals/runtime/lib/system/object_proxy.js": {
1129 "name": "packages/@ember/-internals/runtime/lib/system/object_proxy.js",
1130 "modules": {},
1131 "classes": {
1132 "ObjectProxy": 1
1133 },
1134 "fors": {},
1135 "namespaces": {}
1136 },
1137 "packages/@ember/-internals/runtime/lib/compare.js": {
1138 "name": "packages/@ember/-internals/runtime/lib/compare.js",
1139 "modules": {},
1140 "classes": {},
1141 "fors": {
1142 "@ember/utils": 1
1143 },
1144 "namespaces": {}
1145 },
1146 "packages/@ember/-internals/runtime/lib/copy.js": {
1147 "name": "packages/@ember/-internals/runtime/lib/copy.js",
1148 "modules": {},
1149 "classes": {},
1150 "fors": {
1151 "@ember/object/internals": 1
1152 },
1153 "namespaces": {}
1154 },
1155 "packages/@ember/-internals/runtime/lib/is-equal.js": {
1156 "name": "packages/@ember/-internals/runtime/lib/is-equal.js",
1157 "modules": {},
1158 "classes": {},
1159 "fors": {
1160 "@ember/utils": 1
1161 },
1162 "namespaces": {}
1163 },
1164 "packages/@ember/-internals/runtime/lib/type-of.js": {
1165 "name": "packages/@ember/-internals/runtime/lib/type-of.js",
1166 "modules": {},
1167 "classes": {},
1168 "fors": {
1169 "@ember/utils": 1
1170 },
1171 "namespaces": {}
1172 },
1173 "packages/@ember/-internals/utils/lib/guid.ts": {
1174 "name": "packages/@ember/-internals/utils/lib/guid.ts",
1175 "modules": {},
1176 "classes": {},
1177 "fors": {
1178 "Ember": 1,
1179 "@ember/object/internals": 1
1180 },
1181 "namespaces": {}
1182 },
1183 "packages/@ember/-internals/utils/lib/inspect.ts": {
1184 "name": "packages/@ember/-internals/utils/lib/inspect.ts",
1185 "modules": {},
1186 "classes": {},
1187 "fors": {},
1188 "namespaces": {}
1189 },
1190 "packages/@ember/-internals/utils/lib/intern.ts": {
1191 "name": "packages/@ember/-internals/utils/lib/intern.ts",
1192 "modules": {},
1193 "classes": {},
1194 "fors": {},
1195 "namespaces": {}
1196 },
1197 "packages/@ember/-internals/utils/lib/invoke.ts": {
1198 "name": "packages/@ember/-internals/utils/lib/invoke.ts",
1199 "modules": {
1200 "@ember/utils": 1
1201 },
1202 "classes": {},
1203 "fors": {
1204 "Ember": 1,
1205 "@ember/utils": 1
1206 },
1207 "namespaces": {}
1208 },
1209 "packages/@ember/-internals/utils/lib/make-array.ts": {
1210 "name": "packages/@ember/-internals/utils/lib/make-array.ts",
1211 "modules": {
1212 "@ember/array": 1
1213 },
1214 "classes": {},
1215 "fors": {
1216 "@ember/array": 1
1217 },
1218 "namespaces": {}
1219 },
1220 "packages/@ember/-internals/utils/lib/spec.ts": {
1221 "name": "packages/@ember/-internals/utils/lib/spec.ts",
1222 "modules": {},
1223 "classes": {},
1224 "fors": {},
1225 "namespaces": {}
1226 },
1227 "packages/@ember/-internals/utils/lib/super.ts": {
1228 "name": "packages/@ember/-internals/utils/lib/super.ts",
1229 "modules": {},
1230 "classes": {},
1231 "fors": {
1232 "Ember": 1
1233 },
1234 "namespaces": {}
1235 },
1236 "packages/@ember/-internals/views/lib/mixins/action_support.js": {
1237 "name": "packages/@ember/-internals/views/lib/mixins/action_support.js",
1238 "modules": {},
1239 "classes": {
1240 "Ember.ActionSupport": 1
1241 },
1242 "fors": {},
1243 "namespaces": {
1244 "Ember": 1
1245 }
1246 },
1247 "packages/@ember/-internals/views/lib/mixins/child_views_support.js": {
1248 "name": "packages/@ember/-internals/views/lib/mixins/child_views_support.js",
1249 "modules": {},
1250 "classes": {},
1251 "fors": {},
1252 "namespaces": {}
1253 },
1254 "packages/@ember/-internals/views/lib/mixins/class_names_support.js": {
1255 "name": "packages/@ember/-internals/views/lib/mixins/class_names_support.js",
1256 "modules": {},
1257 "classes": {
1258 "Ember.ClassNamesSupport": 1
1259 },
1260 "fors": {},
1261 "namespaces": {
1262 "Ember": 1
1263 }
1264 },
1265 "packages/@ember/-internals/views/lib/mixins/text_support.js": {
1266 "name": "packages/@ember/-internals/views/lib/mixins/text_support.js",
1267 "modules": {},
1268 "classes": {
1269 "Ember.TextSupport": 1
1270 },
1271 "fors": {},
1272 "namespaces": {
1273 "Ember": 1
1274 }
1275 },
1276 "packages/@ember/-internals/views/lib/mixins/view_state_support.js": {
1277 "name": "packages/@ember/-internals/views/lib/mixins/view_state_support.js",
1278 "modules": {},
1279 "classes": {},
1280 "fors": {},
1281 "namespaces": {}
1282 },
1283 "packages/@ember/-internals/views/lib/mixins/view_support.js": {
1284 "name": "packages/@ember/-internals/views/lib/mixins/view_support.js",
1285 "modules": {},
1286 "classes": {
1287 "Ember.ViewMixin": 1
1288 },
1289 "fors": {},
1290 "namespaces": {
1291 "Ember": 1
1292 }
1293 },
1294 "packages/@ember/-internals/views/lib/system/action_manager.js": {
1295 "name": "packages/@ember/-internals/views/lib/system/action_manager.js",
1296 "modules": {},
1297 "classes": {},
1298 "fors": {},
1299 "namespaces": {}
1300 },
1301 "packages/@ember/-internals/views/lib/system/event_dispatcher.js": {
1302 "name": "packages/@ember/-internals/views/lib/system/event_dispatcher.js",
1303 "modules": {},
1304 "classes": {
1305 "Ember.EventDispatcher": 1
1306 },
1307 "fors": {},
1308 "namespaces": {
1309 "Ember": 1
1310 }
1311 },
1312 "packages/@ember/-internals/views/lib/system/utils.ts": {
1313 "name": "packages/@ember/-internals/views/lib/system/utils.ts",
1314 "modules": {},
1315 "classes": {},
1316 "fors": {},
1317 "namespaces": {}
1318 },
1319 "packages/@ember/-internals/views/lib/views/core_view.js": {
1320 "name": "packages/@ember/-internals/views/lib/views/core_view.js",
1321 "modules": {},
1322 "classes": {
1323 "Ember.CoreView": 1
1324 },
1325 "fors": {},
1326 "namespaces": {
1327 "Ember": 1
1328 }
1329 },
1330 "packages/@ember/application/lib/application.js": {
1331 "name": "packages/@ember/application/lib/application.js",
1332 "modules": {
1333 "@ember/application": 1
1334 },
1335 "classes": {
1336 "Application": 1
1337 },
1338 "fors": {},
1339 "namespaces": {}
1340 },
1341 "packages/@ember/application/lib/lazy_load.js": {
1342 "name": "packages/@ember/application/lib/lazy_load.js",
1343 "modules": {},
1344 "classes": {},
1345 "fors": {
1346 "@ember/application": 1
1347 },
1348 "namespaces": {}
1349 },
1350 "packages/@ember/application/globals-resolver.js": {
1351 "name": "packages/@ember/application/globals-resolver.js",
1352 "modules": {},
1353 "classes": {
1354 "GlobalsResolver": 1
1355 },
1356 "fors": {},
1357 "namespaces": {}
1358 },
1359 "packages/@ember/application/instance.js": {
1360 "name": "packages/@ember/application/instance.js",
1361 "modules": {},
1362 "classes": {
1363 "ApplicationInstance": 1,
1364 "ApplicationInstance.BootOptions": 1
1365 },
1366 "fors": {},
1367 "namespaces": {
1368 "ApplicationInstance": 1
1369 }
1370 },
1371 "packages/@ember/canary-features/index.ts": {
1372 "name": "packages/@ember/canary-features/index.ts",
1373 "modules": {
1374 "@ember/canary-features": 1
1375 },
1376 "classes": {
1377 "FEATURES": 1
1378 },
1379 "fors": {},
1380 "namespaces": {}
1381 },
1382 "packages/@ember/component/template-only.ts": {
1383 "name": "packages/@ember/component/template-only.ts",
1384 "modules": {
1385 "@ember/component/template-only": 1
1386 },
1387 "classes": {},
1388 "fors": {},
1389 "namespaces": {}
1390 },
1391 "packages/@ember/controller/lib/controller_mixin.js": {
1392 "name": "packages/@ember/controller/lib/controller_mixin.js",
1393 "modules": {},
1394 "classes": {
1395 "Ember.ControllerMixin": 1
1396 },
1397 "fors": {},
1398 "namespaces": {
1399 "Ember": 1
1400 }
1401 },
1402 "packages/@ember/controller/index.js": {
1403 "name": "packages/@ember/controller/index.js",
1404 "modules": {
1405 "@ember/controller": 1
1406 },
1407 "classes": {
1408 "Controller": 1
1409 },
1410 "fors": {
1411 "@ember/controller": 1
1412 },
1413 "namespaces": {}
1414 },
1415 "packages/@ember/debug/lib/capture-render-tree.ts": {
1416 "name": "packages/@ember/debug/lib/capture-render-tree.ts",
1417 "modules": {
1418 "@ember/debug": 1
1419 },
1420 "classes": {},
1421 "fors": {
1422 "@ember/debug": 1
1423 },
1424 "namespaces": {}
1425 },
1426 "packages/@ember/debug/lib/deprecate.ts": {
1427 "name": "packages/@ember/debug/lib/deprecate.ts",
1428 "modules": {},
1429 "classes": {},
1430 "fors": {
1431 "@ember/debug": 1
1432 },
1433 "namespaces": {}
1434 },
1435 "packages/@ember/debug/lib/warn.ts": {
1436 "name": "packages/@ember/debug/lib/warn.ts",
1437 "modules": {},
1438 "classes": {},
1439 "fors": {
1440 "@ember/debug": 1
1441 },
1442 "namespaces": {}
1443 },
1444 "packages/@ember/debug/index.ts": {
1445 "name": "packages/@ember/debug/index.ts",
1446 "modules": {},
1447 "classes": {},
1448 "fors": {
1449 "@ember/debug": 1
1450 },
1451 "namespaces": {}
1452 },
1453 "packages/@ember/engine/lib/engine-parent.js": {
1454 "name": "packages/@ember/engine/lib/engine-parent.js",
1455 "modules": {
1456 "@ember/engine": 1
1457 },
1458 "classes": {},
1459 "fors": {
1460 "@ember/engine": 1
1461 },
1462 "namespaces": {}
1463 },
1464 "packages/@ember/engine/index.js": {
1465 "name": "packages/@ember/engine/index.js",
1466 "modules": {},
1467 "classes": {
1468 "Engine": 1
1469 },
1470 "fors": {},
1471 "namespaces": {}
1472 },
1473 "packages/@ember/engine/instance.js": {
1474 "name": "packages/@ember/engine/instance.js",
1475 "modules": {},
1476 "classes": {
1477 "EngineInstance": 1
1478 },
1479 "fors": {},
1480 "namespaces": {}
1481 },
1482 "packages/@ember/error/index.ts": {
1483 "name": "packages/@ember/error/index.ts",
1484 "modules": {
1485 "@ember/error": 1
1486 },
1487 "classes": {
1488 "Ember.Error": 1
1489 },
1490 "fors": {},
1491 "namespaces": {
1492 "Ember": 1
1493 }
1494 },
1495 "packages/@ember/instrumentation/index.ts": {
1496 "name": "packages/@ember/instrumentation/index.ts",
1497 "modules": {
1498 "@ember/instrumentation": 1
1499 },
1500 "classes": {
1501 "Instrumentation": 1
1502 },
1503 "fors": {
1504 "@ember/instrumentation": 1
1505 },
1506 "namespaces": {}
1507 },
1508 "packages/@ember/object/lib/computed/computed_macros.js": {
1509 "name": "packages/@ember/object/lib/computed/computed_macros.js",
1510 "modules": {
1511 "@ember/object": 1
1512 },
1513 "classes": {},
1514 "fors": {
1515 "@ember/object/computed": 1
1516 },
1517 "namespaces": {}
1518 },
1519 "packages/@ember/object/lib/computed/reduce_computed_macros.js": {
1520 "name": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
1521 "modules": {},
1522 "classes": {},
1523 "fors": {
1524 "@ember/object/computed": 1
1525 },
1526 "namespaces": {}
1527 },
1528 "packages/@ember/object/compat.ts": {
1529 "name": "packages/@ember/object/compat.ts",
1530 "modules": {},
1531 "classes": {},
1532 "fors": {
1533 "@ember/object/compat": 1
1534 },
1535 "namespaces": {}
1536 },
1537 "packages/@ember/object/index.js": {
1538 "name": "packages/@ember/object/index.js",
1539 "modules": {},
1540 "classes": {},
1541 "fors": {
1542 "@ember/object": 1
1543 },
1544 "namespaces": {}
1545 },
1546 "packages/@ember/polyfills/lib/assign.ts": {
1547 "name": "packages/@ember/polyfills/lib/assign.ts",
1548 "modules": {
1549 "@ember/polyfills": 1
1550 },
1551 "classes": {},
1552 "fors": {
1553 "@ember/polyfills": 1
1554 },
1555 "namespaces": {}
1556 },
1557 "packages/@ember/polyfills/lib/merge.ts": {
1558 "name": "packages/@ember/polyfills/lib/merge.ts",
1559 "modules": {},
1560 "classes": {},
1561 "fors": {
1562 "@ember/polyfills": 1
1563 },
1564 "namespaces": {}
1565 },
1566 "packages/@ember/runloop/index.js": {
1567 "name": "packages/@ember/runloop/index.js",
1568 "modules": {
1569 "@ember/runloop": 1
1570 },
1571 "classes": {},
1572 "fors": {
1573 "@ember/runloop": 1
1574 },
1575 "namespaces": {}
1576 },
1577 "packages/@ember/service/index.js": {
1578 "name": "packages/@ember/service/index.js",
1579 "modules": {
1580 "@ember/service": 1
1581 },
1582 "classes": {
1583 "Service": 1
1584 },
1585 "fors": {
1586 "@ember/service": 1
1587 },
1588 "namespaces": {}
1589 },
1590 "packages/@ember/string/index.ts": {
1591 "name": "packages/@ember/string/index.ts",
1592 "modules": {
1593 "@ember/string": 1
1594 },
1595 "classes": {
1596 "String": 1
1597 },
1598 "fors": {
1599 "@ember/string": 1
1600 },
1601 "namespaces": {}
1602 },
1603 "packages/ember-testing/lib/adapters/adapter.js": {
1604 "name": "packages/ember-testing/lib/adapters/adapter.js",
1605 "modules": {},
1606 "classes": {
1607 "TestAdapter": 1
1608 },
1609 "fors": {},
1610 "namespaces": {}
1611 },
1612 "packages/ember-testing/lib/adapters/qunit.js": {
1613 "name": "packages/ember-testing/lib/adapters/qunit.js",
1614 "modules": {},
1615 "classes": {
1616 "Ember.Test.QUnitAdapter": 1
1617 },
1618 "fors": {},
1619 "namespaces": {
1620 "Ember.Test": 1
1621 }
1622 },
1623 "packages/ember-testing/lib/ext/application.js": {
1624 "name": "packages/ember-testing/lib/ext/application.js",
1625 "modules": {},
1626 "classes": {},
1627 "fors": {},
1628 "namespaces": {}
1629 },
1630 "packages/ember-testing/lib/helpers/-is-form-control.js": {
1631 "name": "packages/ember-testing/lib/helpers/-is-form-control.js",
1632 "modules": {},
1633 "classes": {},
1634 "fors": {},
1635 "namespaces": {}
1636 },
1637 "packages/ember-testing/lib/helpers/click.js": {
1638 "name": "packages/ember-testing/lib/helpers/click.js",
1639 "modules": {},
1640 "classes": {},
1641 "fors": {},
1642 "namespaces": {}
1643 },
1644 "packages/ember-testing/lib/helpers/current_path.js": {
1645 "name": "packages/ember-testing/lib/helpers/current_path.js",
1646 "modules": {},
1647 "classes": {},
1648 "fors": {},
1649 "namespaces": {}
1650 },
1651 "packages/ember-testing/lib/helpers/current_route_name.js": {
1652 "name": "packages/ember-testing/lib/helpers/current_route_name.js",
1653 "modules": {},
1654 "classes": {},
1655 "fors": {},
1656 "namespaces": {}
1657 },
1658 "packages/ember-testing/lib/helpers/current_url.js": {
1659 "name": "packages/ember-testing/lib/helpers/current_url.js",
1660 "modules": {},
1661 "classes": {},
1662 "fors": {},
1663 "namespaces": {}
1664 },
1665 "packages/ember-testing/lib/helpers/fill_in.js": {
1666 "name": "packages/ember-testing/lib/helpers/fill_in.js",
1667 "modules": {},
1668 "classes": {},
1669 "fors": {},
1670 "namespaces": {}
1671 },
1672 "packages/ember-testing/lib/helpers/find.js": {
1673 "name": "packages/ember-testing/lib/helpers/find.js",
1674 "modules": {},
1675 "classes": {},
1676 "fors": {},
1677 "namespaces": {}
1678 },
1679 "packages/ember-testing/lib/helpers/find_with_assert.js": {
1680 "name": "packages/ember-testing/lib/helpers/find_with_assert.js",
1681 "modules": {},
1682 "classes": {},
1683 "fors": {},
1684 "namespaces": {}
1685 },
1686 "packages/ember-testing/lib/helpers/key_event.js": {
1687 "name": "packages/ember-testing/lib/helpers/key_event.js",
1688 "modules": {},
1689 "classes": {},
1690 "fors": {},
1691 "namespaces": {}
1692 },
1693 "packages/ember-testing/lib/helpers/pause_test.js": {
1694 "name": "packages/ember-testing/lib/helpers/pause_test.js",
1695 "modules": {},
1696 "classes": {},
1697 "fors": {},
1698 "namespaces": {}
1699 },
1700 "packages/ember-testing/lib/helpers/trigger_event.js": {
1701 "name": "packages/ember-testing/lib/helpers/trigger_event.js",
1702 "modules": {},
1703 "classes": {},
1704 "fors": {},
1705 "namespaces": {}
1706 },
1707 "packages/ember-testing/lib/helpers/visit.js": {
1708 "name": "packages/ember-testing/lib/helpers/visit.js",
1709 "modules": {},
1710 "classes": {},
1711 "fors": {},
1712 "namespaces": {}
1713 },
1714 "packages/ember-testing/lib/helpers/wait.js": {
1715 "name": "packages/ember-testing/lib/helpers/wait.js",
1716 "modules": {},
1717 "classes": {},
1718 "fors": {},
1719 "namespaces": {}
1720 },
1721 "packages/ember-testing/lib/test/helpers.js": {
1722 "name": "packages/ember-testing/lib/test/helpers.js",
1723 "modules": {
1724 "@ember/test": 1
1725 },
1726 "classes": {},
1727 "fors": {
1728 "@ember/test": 1
1729 },
1730 "namespaces": {}
1731 },
1732 "packages/ember-testing/lib/test/on_inject_helpers.js": {
1733 "name": "packages/ember-testing/lib/test/on_inject_helpers.js",
1734 "modules": {},
1735 "classes": {},
1736 "fors": {
1737 "Ember.Test": 1
1738 },
1739 "namespaces": {}
1740 },
1741 "packages/ember-testing/lib/test/promise.js": {
1742 "name": "packages/ember-testing/lib/test/promise.js",
1743 "modules": {},
1744 "classes": {},
1745 "fors": {
1746 "Ember.Test": 1
1747 },
1748 "namespaces": {}
1749 },
1750 "packages/ember-testing/lib/test/waiters.js": {
1751 "name": "packages/ember-testing/lib/test/waiters.js",
1752 "modules": {},
1753 "classes": {},
1754 "fors": {
1755 "@ember/test": 1
1756 },
1757 "namespaces": {}
1758 },
1759 "packages/ember-testing/lib/setup_for_testing.js": {
1760 "name": "packages/ember-testing/lib/setup_for_testing.js",
1761 "modules": {},
1762 "classes": {},
1763 "fors": {},
1764 "namespaces": {
1765 "Ember": 1
1766 }
1767 },
1768 "packages/ember-testing/lib/support.js": {
1769 "name": "packages/ember-testing/lib/support.js",
1770 "modules": {
1771 "ember": 1
1772 },
1773 "classes": {},
1774 "fors": {},
1775 "namespaces": {}
1776 },
1777 "packages/ember-testing/lib/test.js": {
1778 "name": "packages/ember-testing/lib/test.js",
1779 "modules": {},
1780 "classes": {
1781 "Ember.Test": 1
1782 },
1783 "fors": {
1784 "Ember.Test": 1
1785 },
1786 "namespaces": {
1787 "Ember": 1
1788 }
1789 }
1790 },
1791 "modules": {
1792 "rsvp": {
1793 "name": "rsvp",
1794 "submodules": {},
1795 "elements": {},
1796 "classes": {
1797 "Promise": 1,
1798 "rsvp": 1,
1799 "EventTarget": 1
1800 },
1801 "fors": {
1802 "rsvp": 1,
1803 "EventTarget": 1
1804 },
1805 "namespaces": {},
1806 "tag": "module",
1807 "file": "node_modules/rsvp/lib/rsvp/events.js",
1808 "line": 12,
1809 "access": "public",
1810 "tagname": ""
1811 },
1812 "ember": {
1813 "name": "ember",
1814 "submodules": {},
1815 "elements": {},
1816 "classes": {
1817 "@ember/array": 1,
1818 "Ember.Logger": 1,
1819 "Ember.Container": 1,
1820 "Ember.Registry": 1,
1821 "Ember.EmberENV": 1,
1822 "Ember.Templates.helpers": 1,
1823 "ComponentStateBucket": 1,
1824 "Ember.InjectedProperty": 1,
1825 "Libraries": 1,
1826 "Ember.ControllerMixin": 1,
1827 "RoutingService": 1,
1828 "BucketCache": 1,
1829 "RouteInfoWithAttributes": 1,
1830 "RouteInfo": 1,
1831 "Function": 1,
1832 "Ember.ProxyMixin": 1,
1833 "Ember.ActionHandler": 1,
1834 "Ember.NativeArray": 1,
1835 "Ember.Comparable": 1,
1836 "ContainerProxyMixin": 1,
1837 "Ember.Copyable": 1,
1838 "Ember.MutableEnumerable": 1,
1839 "RegistryProxyMixin": 1,
1840 "Ember.TargetActionSupport": 1,
1841 "Ember.Namespace": 1,
1842 "Ember.ActionSupport": 1,
1843 "Ember.ClassNamesSupport": 1,
1844 "Ember.TextSupport": 1,
1845 "Ember.ViewMixin": 1,
1846 "Ember.EventDispatcher": 1,
1847 "Ember.CoreView": 1,
1848 "Ember.Test.QUnitAdapter": 1,
1849 "Ember.Test": 1
1850 },
1851 "fors": {
1852 "Ember.Logger": 1,
1853 "Ember.EmberENV": 1,
1854 "Ember.Templates.components": 1,
1855 "Ember.Templates.helpers": 1,
1856 "Ember": 1,
1857 "@ember/object": 1,
1858 "Ember.ControllerMixin": 1,
1859 "Function": 1,
1860 "Ember.Test": 1
1861 },
1862 "namespaces": {
1863 "Ember": 1,
1864 "Ember.Test": 1
1865 },
1866 "tag": "module",
1867 "file": "packages/ember-testing/lib/test.js",
1868 "line": 11,
1869 "access": "private",
1870 "tagname": ""
1871 },
1872 "@ember/debug": {
1873 "name": "@ember/debug",
1874 "submodules": {
1875 "undefined": 1
1876 },
1877 "elements": {},
1878 "classes": {
1879 "@ember/debug": 1,
1880 "ContainerDebugAdapter": 1,
1881 "DataAdapter": 1
1882 },
1883 "fors": {
1884 "Ember": 1,
1885 "@ember/debug": 1
1886 },
1887 "namespaces": {},
1888 "tag": "module",
1889 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
1890 "line": 11,
1891 "access": "public",
1892 "tagname": ""
1893 },
1894 "@ember/component": {
1895 "name": "@ember/component",
1896 "submodules": {},
1897 "elements": {},
1898 "classes": {
1899 "Checkbox": 1,
1900 "TextField": 1,
1901 "TextArea": 1,
1902 "Component": 1,
1903 "Helper": 1,
1904 "@ember/component/helper": 1
1905 },
1906 "fors": {
1907 "Ember.Templates.helpers": 1,
1908 "Ember.Templates.components": 1,
1909 "@ember/component/helper": 1
1910 },
1911 "namespaces": {},
1912 "tag": "main",
1913 "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
1914 "line": 45,
1915 "description": "[Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.\n\n### Showing a property\n\nTemplates manage the flow of an application's UI, and display state (through\nthe DOM) to a user. For example, given a component with the property \"name\",\nthat component's template can use the name in several ways:\n\n```app/components/person-profile.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n name: 'Jill'\n});\n```\n\n```app/components/person-profile.hbs\n{{this.name}}\n<div>{{this.name}}</div>\n<span data-name={{this.name}}></span>\n```\n\nAny time the \"name\" property on the component changes, the DOM will be\nupdated.\n\nProperties can be chained as well:\n\n```handlebars\n{{@aUserModel.name}}\n<div>{{@listOfUsers.firstObject.name}}</div>\n```\n\n### Using Ember helpers\n\nWhen content is passed in mustaches `{{}}`, Ember will first try to find a helper\nor component with that name. For example, the `if` helper:\n\n```app/components/person-profile.hbs\n{{if this.name \"I have a name\" \"I have no name\"}}\n<span data-has-name={{if this.name true}}></span>\n```\n\nThe returned value is placed where the `{{}}` is called. The above style is\ncalled \"inline\". A second style of helper usage is called \"block\". For example:\n\n```handlebars\n{{#if this.name}}\n I have a name\n{{else}}\n I have no name\n{{/if}}\n```\n\nThe block form of helpers allows you to control how the UI is created based\non the values of properties.\nA third form of helper is called \"nested\". For example here the concat\nhelper will add \" Doe\" to a displayed name if the person has no last name:\n\n```handlebars\n<span data-name={{concat this.firstName (\n if this.lastName (concat \" \" this.lastName) \"Doe\"\n)}}></span>\n```\n\nEmber's built-in helpers are described under the [Ember.Templates.helpers](/ember/release/classes/Ember.Templates.helpers)\nnamespace. Documentation on creating custom helpers can be found under\n[helper](/ember/release/functions/@ember%2Fcomponent%2Fhelper/helper) (or\nunder [Helper](/ember/release/classes/Helper) if a helper requires access to\ndependency injection).\n\n### Invoking a Component\n\nEmber components represent state to the UI of an application. Further\nreading on components can be found under [Component](/ember/release/classes/Component).",
1916 "itemtype": "main"
1917 },
1918 "@ember/routing": {
1919 "name": "@ember/routing",
1920 "submodules": {},
1921 "elements": {},
1922 "classes": {
1923 "Ember.Templates.components": 1,
1924 "LinkComponent": 1,
1925 "Location": 1,
1926 "AutoLocation": 1,
1927 "HashLocation": 1,
1928 "HistoryLocation": 1,
1929 "NoneLocation": 1,
1930 "RouterService": 1,
1931 "Route": 1,
1932 "EmberRouter": 1,
1933 "Transition": 1
1934 },
1935 "fors": {
1936 "Ember.Templates.helpers": 1,
1937 "Route": 1
1938 },
1939 "namespaces": {},
1940 "tag": "module",
1941 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
1942 "line": 1
1943 },
1944 "@ember/template": {
1945 "name": "@ember/template",
1946 "submodules": {},
1947 "elements": {},
1948 "classes": {
1949 "@ember/template": 1
1950 },
1951 "fors": {
1952 "@ember/template": 1
1953 },
1954 "namespaces": {},
1955 "tag": "module",
1956 "file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
1957 "line": 1
1958 },
1959 "@glimmer/component": {
1960 "name": "@glimmer/component",
1961 "submodules": {},
1962 "elements": {},
1963 "classes": {},
1964 "fors": {},
1965 "namespaces": {},
1966 "tag": "module",
1967 "file": "packages/@ember/-internals/glimmer/lib/glimmer-component-docs.ts",
1968 "line": 1,
1969 "description": "A component is a reusable UI element that consists of a `.hbs` template and an\noptional JavaScript class that defines its behavior. For example, someone\nmight make a `button` in the template and handle the click behavior in the\nJavaScript file that shares the same name as the template.\n\nThe APIs available in a component vary depending on whether they import from\n`@glimmer/component` or the older \"classic\" type, `@ember/component`. The\ndocumentation below covers 100% of the available methods, hooks, and\nproperties of `@glimmer/component`. The source code can be found in\n[`@glimmer/component`](https://github.com/glimmerjs/glimmer.js/tree/master/packages/%40glimmer/component).\n\n## Defining a component\n\nTo define a component, subclass `Component` and add your own properties,\nmethods and lifecycle hooks:\n\n```javascript\nimport Component from '@glimmer/component';\n\nexport default class SomeComponent extends Component {\n // your code here\n}\n```\n\n## `constructor`\n\nparams: `owner` object and `args` object\n\nConstructs a new component and assigns itself the passed properties. The\nconstructor is run whenever a new instance of the component is created, and\ncan be used to setup the initial state of the component.\n\n```javascript\nimport Component from '@glimmer/component';\n\nexport default class SomeComponent extends Component {\n constructor(owner, args) {\n super(owner, args);\n\n if (this.args.displayMode === 'list') {\n this.items = [];\n }\n }\n}\n```\n\nService injections and arguments are available in the constructor.\n\n```javascript\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class SomeComponent extends Component {\n @service myAnimations;\n\n constructor(owner, args) {\n super(owner, args);\n\n if (this.args.fadeIn === true) {\n this.myAnimations.register(this, 'fade-in');\n }\n }\n}\n```\n\n## `willDestroy`\n\n`willDestroy` is called after the component has been removed from the DOM, but\nbefore the component is fully destroyed. This lifecycle hook can be used to\ncleanup the component and any related state.\n\n```javascript\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class SomeComponent extends Component {\n @service myAnimations;\n\n willDestroy() {\n this.myAnimations.unregister(this);\n }\n}\n```\n\n## `args`\n\nThe `args` property of Glimmer components is an object that contains the\n_arguments_ that are passed to the component. For instance, the\nfollowing component usage:\n\n```handlebars\n<SomeComponent @fadeIn={{true}} />\n```\n\nWould result in the following `args` object to be passed to the component:\n\n```javascript\n{ fadeIn: true }\n```\n\n`args` can be accessed at any point in the component lifecycle, including\n`constructor` and `willDestroy`. They are also automatically marked as tracked\nproperties, and they can be depended on as computed property dependencies:\n\n```javascript\nimport Component from '@glimmer/component';\nimport { computed } from '@ember/object';\n\nexport default class SomeComponent extends Component {\n\n @computed('args.someValue')\n get computedGetter() {\n // updates whenever args.someValue updates\n return this.args.someValue;\n }\n\n get standardGetter() {\n // updates whenever args.anotherValue updates (Ember 3.13+)\n return this.args.anotherValue;\n }\n}\n```\n\n## `isDestroying`\n\nA boolean flag to tell if the component is in the process of destroying. This is set to\ntrue before `willDestroy` is called.\n\n## `isDestroyed`\nA boolean to tell if the component has been fully destroyed. This is set to true\nafter `willDestroy` is called.",
1970 "access": "public",
1971 "tagname": ""
1972 },
1973 "@glimmer/tracking": {
1974 "name": "@glimmer/tracking",
1975 "submodules": {},
1976 "elements": {},
1977 "classes": {
1978 "@glimmer/tracking": 1
1979 },
1980 "fors": {
1981 "@glimmer/tracking": 1
1982 },
1983 "namespaces": {},
1984 "tag": "module",
1985 "file": "packages/@ember/-internals/glimmer/lib/glimmer-tracking-docs.ts",
1986 "line": 1,
1987 "description": "In order to tell Ember a value might change, we need to mark it as trackable.\nTrackable values are values that:\n\n- Can change over their component’s lifetime and\n- Should cause Ember to rerender if and when they change\n\nWe can do this by marking the field with the `@tracked` decorator.",
1988 "access": "public",
1989 "tagname": ""
1990 },
1991 "@glimmer/tracking/primitives/cache": {
1992 "name": "@glimmer/tracking/primitives/cache",
1993 "submodules": {},
1994 "elements": {},
1995 "classes": {
1996 "@glimmer/tracking/primitives/cache": 1
1997 },
1998 "fors": {
1999 "@glimmer/tracking/primitives/cache": 1
2000 },
2001 "namespaces": {},
2002 "tag": "module",
2003 "file": "packages/@ember/-internals/metal/lib/cache.ts",
2004 "line": 3,
2005 "description": "Ember uses caching based on trackable values to avoid updating large portions\nof the application. This caching is exposed via a cache primitive that can be\nused to cache a specific computation, so that it will not update and will\nreturn the cached value until a tracked value used in its computation has\nupdated.",
2006 "category": [
2007 "EMBER_CACHE_API"
2008 ],
2009 "access": "public",
2010 "tagname": ""
2011 },
2012 "@ember/object": {
2013 "name": "@ember/object",
2014 "submodules": {},
2015 "elements": {},
2016 "classes": {
2017 "ComputedProperty": 1,
2018 "@ember/object": 1,
2019 "Descriptor": 1,
2020 "@ember/object/events": 1,
2021 "@ember/object/evented": 1,
2022 "@ember/object/computed": 1,
2023 "Mixin": 1,
2024 "@ember/object/mixin": 1,
2025 "@ember/object/observers": 1,
2026 "Evented": 1,
2027 "Observable": 1,
2028 "PromiseProxyMixin": 1,
2029 "CoreObject": 1,
2030 "EmberObject": 1,
2031 "ObjectProxy": 1,
2032 "@ember/object/internals": 1,
2033 "@ember/object/compat": 1
2034 },
2035 "fors": {
2036 "@ember/object": 1,
2037 "@ember/debug": 1,
2038 "@ember/object/events": 1,
2039 "@ember/object/evented": 1,
2040 "@ember/object/computed": 1,
2041 "@ember/object/mixin": 1,
2042 "@ember/object/observers": 1,
2043 "@ember/object/internals": 1,
2044 "Ember": 1,
2045 "@ember/object/compat": 1
2046 },
2047 "namespaces": {},
2048 "tag": "module",
2049 "file": "packages/@ember/-internals/runtime/lib/system/object_proxy.js",
2050 "line": 4
2051 },
2052 "@ember/utils": {
2053 "name": "@ember/utils",
2054 "submodules": {
2055 "undefined": 1
2056 },
2057 "elements": {},
2058 "classes": {
2059 "Ember": 1,
2060 "@ember/utils": 1
2061 },
2062 "fors": {
2063 "@ember/utils": 1
2064 },
2065 "namespaces": {},
2066 "tag": "module",
2067 "file": "packages/@ember/-internals/utils/lib/invoke.ts",
2068 "line": 23
2069 },
2070 "@ember/application": {
2071 "name": "@ember/application",
2072 "submodules": {},
2073 "elements": {},
2074 "classes": {
2075 "@ember/application": 1,
2076 "Application": 1,
2077 "GlobalsResolver": 1,
2078 "ApplicationInstance": 1,
2079 "ApplicationInstance.BootOptions": 1
2080 },
2081 "fors": {
2082 "@ember/application": 1
2083 },
2084 "namespaces": {
2085 "ApplicationInstance": 1
2086 },
2087 "tag": "module",
2088 "file": "packages/@ember/application/instance.js",
2089 "line": 314
2090 },
2091 "@ember/array": {
2092 "name": "@ember/array",
2093 "submodules": {},
2094 "elements": {},
2095 "classes": {
2096 "EmberArray": 1,
2097 "MutableArray": 1,
2098 "ArrayProxy": 1
2099 },
2100 "fors": {
2101 "@ember/array": 1,
2102 "Ember": 1
2103 },
2104 "namespaces": {},
2105 "tag": "module",
2106 "file": "packages/@ember/-internals/runtime/lib/system/array_proxy.js",
2107 "line": 28
2108 },
2109 "@ember/enumerable": {
2110 "name": "@ember/enumerable",
2111 "submodules": {},
2112 "elements": {},
2113 "classes": {
2114 "Enumerable": 1
2115 },
2116 "fors": {},
2117 "namespaces": {},
2118 "tag": "module",
2119 "file": "packages/@ember/-internals/runtime/lib/mixins/enumerable.js",
2120 "line": 8,
2121 "access": "private",
2122 "tagname": ""
2123 },
2124 "@ember/canary-features": {
2125 "name": "@ember/canary-features",
2126 "submodules": {},
2127 "elements": {},
2128 "classes": {
2129 "FEATURES": 1
2130 },
2131 "fors": {},
2132 "namespaces": {},
2133 "tag": "module",
2134 "file": "packages/@ember/canary-features/index.ts",
2135 "line": 27,
2136 "description": "Set `EmberENV.FEATURES` in your application's `config/environment.js` file\nto enable canary features in your application.\n\nSee the [feature flag guide](https://guides.emberjs.com/release/configuring-ember/feature-flags/)\nfor more details.",
2137 "access": "public",
2138 "tagname": ""
2139 },
2140 "@ember/component/template-only": {
2141 "name": "@ember/component/template-only",
2142 "submodules": {},
2143 "elements": {},
2144 "classes": {},
2145 "fors": {},
2146 "namespaces": {},
2147 "tag": "module",
2148 "file": "packages/@ember/component/template-only.ts",
2149 "line": 10,
2150 "access": "public",
2151 "tagname": ""
2152 },
2153 "@ember/controller": {
2154 "name": "@ember/controller",
2155 "submodules": {},
2156 "elements": {},
2157 "classes": {
2158 "Controller": 1,
2159 "@ember/controller": 1
2160 },
2161 "fors": {
2162 "@ember/controller": 1
2163 },
2164 "namespaces": {},
2165 "tag": "module",
2166 "file": "packages/@ember/controller/index.js",
2167 "line": 9
2168 },
2169 "@ember/engine": {
2170 "name": "@ember/engine",
2171 "submodules": {},
2172 "elements": {},
2173 "classes": {
2174 "@ember/engine": 1,
2175 "Engine": 1,
2176 "EngineInstance": 1
2177 },
2178 "fors": {
2179 "@ember/engine": 1
2180 },
2181 "namespaces": {},
2182 "tag": "module",
2183 "file": "packages/@ember/engine/instance.js",
2184 "line": 17
2185 },
2186 "@ember/error": {
2187 "name": "@ember/error",
2188 "submodules": {},
2189 "elements": {},
2190 "classes": {
2191 "Ember.Error": 1
2192 },
2193 "fors": {},
2194 "namespaces": {
2195 "Ember": 1
2196 },
2197 "tag": "module",
2198 "file": "packages/@ember/error/index.ts",
2199 "line": 5
2200 },
2201 "@ember/instrumentation": {
2202 "name": "@ember/instrumentation",
2203 "submodules": {},
2204 "elements": {},
2205 "classes": {
2206 "Instrumentation": 1,
2207 "@ember/instrumentation": 1
2208 },
2209 "fors": {
2210 "@ember/instrumentation": 1
2211 },
2212 "namespaces": {},
2213 "tag": "module",
2214 "file": "packages/@ember/instrumentation/index.ts",
2215 "line": 39,
2216 "access": "private",
2217 "tagname": ""
2218 },
2219 "@ember/polyfills": {
2220 "name": "@ember/polyfills",
2221 "submodules": {},
2222 "elements": {},
2223 "classes": {
2224 "@ember/polyfills": 1
2225 },
2226 "fors": {
2227 "@ember/polyfills": 1
2228 },
2229 "namespaces": {},
2230 "tag": "module",
2231 "file": "packages/@ember/polyfills/lib/assign.ts",
2232 "line": 1
2233 },
2234 "@ember/runloop": {
2235 "name": "@ember/runloop",
2236 "submodules": {},
2237 "elements": {},
2238 "classes": {
2239 "@ember/runloop": 1
2240 },
2241 "fors": {
2242 "@ember/runloop": 1
2243 },
2244 "namespaces": {},
2245 "tag": "module",
2246 "file": "packages/@ember/runloop/index.js",
2247 "line": 67
2248 },
2249 "@ember/service": {
2250 "name": "@ember/service",
2251 "submodules": {},
2252 "elements": {},
2253 "classes": {
2254 "@ember/service": 1,
2255 "Service": 1
2256 },
2257 "fors": {
2258 "@ember/service": 1
2259 },
2260 "namespaces": {},
2261 "tag": "module",
2262 "file": "packages/@ember/service/index.js",
2263 "line": 60,
2264 "access": "public",
2265 "tagname": ""
2266 },
2267 "@ember/string": {
2268 "name": "@ember/string",
2269 "submodules": {},
2270 "elements": {},
2271 "classes": {
2272 "String": 1,
2273 "@ember/string": 1
2274 },
2275 "fors": {
2276 "@ember/string": 1
2277 },
2278 "namespaces": {},
2279 "tag": "module",
2280 "file": "packages/@ember/string/index.ts",
2281 "line": 68
2282 },
2283 "@ember/test": {
2284 "name": "@ember/test",
2285 "submodules": {},
2286 "elements": {},
2287 "classes": {
2288 "TestAdapter": 1,
2289 "@ember/test": 1
2290 },
2291 "fors": {
2292 "@ember/test": 1,
2293 "Ember.Test": 1
2294 },
2295 "namespaces": {
2296 "Ember": 1
2297 },
2298 "tag": "module",
2299 "file": "packages/ember-testing/lib/adapters/adapter.js",
2300 "line": 11
2301 }
2302 },
2303 "classes": {
2304 "Promise": {
2305 "name": "Promise",
2306 "shortname": "Promise",
2307 "classitems": [],
2308 "plugins": [],
2309 "extensions": [],
2310 "plugin_for": [],
2311 "extension_for": [],
2312 "module": "rsvp",
2313 "file": "node_modules/rsvp/lib/rsvp/promise.js",
2314 "line": 26,
2315 "description": "Promise objects represent the eventual result of an asynchronous operation. The\nprimary way of interacting with a promise is through its `then` method, which\nregisters callbacks to receive either a promise’s eventual value or the reason\nwhy the promise cannot be fulfilled.\n\nTerminology\n-----------\n\n- `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n- `thenable` is an object or function that defines a `then` method.\n- `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n- `exception` is a value that is thrown using the throw statement.\n- `reason` is a value that indicates why a promise was rejected.\n- `settled` the final resting state of a promise, fulfilled or rejected.\n\nA promise can be in one of three states: pending, fulfilled, or rejected.\n\nPromises that are fulfilled have a fulfillment value and are in the fulfilled\nstate. Promises that are rejected have a rejection reason and are in the\nrejected state. A fulfillment value is never a thenable.\n\nPromises can also be said to *resolve* a value. If this value is also a\npromise, then the original promise's settled state will match the value's\nsettled state. So a promise that *resolves* a promise that rejects will\nitself reject, and a promise that *resolves* a promise that fulfills will\nitself fulfill.\n\n\nBasic Usage:\n------------\n\n```js\nlet promise = new Promise(function(resolve, reject) {\n // on success\n resolve(value);\n\n // on failure\n reject(reason);\n});\n\npromise.then(function(value) {\n // on fulfillment\n}, function(reason) {\n // on rejection\n});\n```\n\nAdvanced Usage:\n---------------\n\nPromises shine when abstracting away asynchronous interactions such as\n`XMLHttpRequest`s.\n\n```js\nfunction getJSON(url) {\n return new Promise(function(resolve, reject){\n let xhr = new XMLHttpRequest();\n\n xhr.open('GET', url);\n xhr.onreadystatechange = handler;\n xhr.responseType = 'json';\n xhr.setRequestHeader('Accept', 'application/json');\n xhr.send();\n\n function handler() {\n if (this.readyState === this.DONE) {\n if (this.status === 200) {\n resolve(this.response);\n } else {\n reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n }\n }\n };\n });\n}\n\ngetJSON('/posts.json').then(function(json) {\n // on fulfillment\n}, function(reason) {\n // on rejection\n});\n```\n\nUnlike callbacks, promises are great composable primitives.\n\n```js\nPromise.all([\n getJSON('/posts'),\n getJSON('/comments')\n]).then(function(values){\n values[0] // => postsJSON\n values[1] // => commentsJSON\n\n return values;\n});\n```",
2316 "access": "public",
2317 "tagname": "",
2318 "params": [
2319 {
2320 "name": "resolver",
2321 "description": "",
2322 "type": "Function"
2323 },
2324 {
2325 "name": "label",
2326 "description": "optional string for labeling the promise.\nUseful for tooling.",
2327 "type": "String",
2328 "optional": true
2329 }
2330 ],
2331 "is_constructor": 1
2332 },
2333 "rsvp": {
2334 "name": "rsvp",
2335 "shortname": "rsvp",
2336 "classitems": [],
2337 "plugins": [],
2338 "extensions": [],
2339 "plugin_for": [],
2340 "extension_for": [],
2341 "module": "rsvp",
2342 "namespace": ""
2343 },
2344 "EventTarget": {
2345 "name": "EventTarget",
2346 "shortname": "EventTarget",
2347 "classitems": [],
2348 "plugins": [],
2349 "extensions": [],
2350 "plugin_for": [],
2351 "extension_for": [],
2352 "module": "rsvp",
2353 "namespace": "",
2354 "file": "node_modules/rsvp/lib/rsvp/events.js",
2355 "line": 12,
2356 "access": "public",
2357 "tagname": ""
2358 },
2359 "Ember.Logger": {
2360 "name": "Ember.Logger",
2361 "shortname": "Ember.Logger",
2362 "classitems": [],
2363 "plugins": [],
2364 "extensions": [],
2365 "plugin_for": [],
2366 "extension_for": [],
2367 "module": "ember",
2368 "namespace": "Ember",
2369 "file": "packages/@ember/-internals/console/index.js",
2370 "line": 14,
2371 "description": "Inside Ember-Metal, simply uses the methods from `imports.console`.\nOverride this to provide more robust logging functionality.",
2372 "deprecated": true,
2373 "deprecationMessage": "Use 'console' instead",
2374 "access": "public",
2375 "tagname": ""
2376 },
2377 "Ember.Container": {
2378 "name": "Ember.Container",
2379 "shortname": "Container",
2380 "classitems": [],
2381 "plugins": [],
2382 "extensions": [],
2383 "plugin_for": [],
2384 "extension_for": [],
2385 "module": "ember",
2386 "namespace": "Ember",
2387 "file": "packages/@ember/-internals/container/lib/container.ts",
2388 "line": 60,
2389 "description": "A container used to instantiate and cache objects.\n\nEvery `Container` must be associated with a `Registry`, which is referenced\nto determine the factory and options that should be used to instantiate\nobjects.\n\nThe public API for `Container` is still in flux and should not be considered\nstable.",
2390 "access": "private",
2391 "tagname": ""
2392 },
2393 "Ember.Registry": {
2394 "name": "Ember.Registry",
2395 "shortname": "Registry",
2396 "classitems": [],
2397 "plugins": [],
2398 "extensions": [],
2399 "plugin_for": [],
2400 "extension_for": [],
2401 "module": "ember",
2402 "namespace": "Ember",
2403 "file": "packages/@ember/-internals/container/lib/registry.ts",
2404 "line": 84,
2405 "description": "A registry used to store factory and option information keyed\nby type.\n\nA `Registry` stores the factory and option information needed by a\n`Container` to instantiate and cache objects.\n\nThe API for `Registry` is still in flux and should not be considered stable.",
2406 "access": "private",
2407 "tagname": "",
2408 "since": "1.11.0"
2409 },
2410 "Ember.EmberENV": {
2411 "name": "Ember.EmberENV",
2412 "shortname": "EmberENV",
2413 "classitems": [],
2414 "plugins": [],
2415 "extensions": [],
2416 "plugin_for": [],
2417 "extension_for": [],
2418 "module": "ember",
2419 "namespace": "Ember",
2420 "file": "packages/@ember/-internals/environment/lib/env.ts",
2421 "line": 5,
2422 "description": "The hash of environment variables used to control various configuration\nsettings. To specify your own or override default settings, add the\ndesired properties to a global hash named `EmberENV` (or `ENV` for\nbackwards compatibility with earlier versions of Ember). The `EmberENV`\nhash must be created before loading Ember.",
2423 "type": "Object",
2424 "access": "public",
2425 "tagname": ""
2426 },
2427 "ContainerDebugAdapter": {
2428 "name": "ContainerDebugAdapter",
2429 "shortname": "ContainerDebugAdapter",
2430 "classitems": [],
2431 "plugins": [],
2432 "extensions": [],
2433 "plugin_for": [],
2434 "extension_for": [],
2435 "module": "@ember/debug",
2436 "namespace": "",
2437 "file": "packages/@ember/-internals/extension-support/lib/container_debug_adapter.js",
2438 "line": 8,
2439 "description": "The `ContainerDebugAdapter` helps the container and resolver interface\nwith tools that debug Ember such as the\n[Ember Inspector](https://github.com/emberjs/ember-inspector)\nfor Chrome and Firefox.\n\nThis class can be extended by a custom resolver implementer\nto override some of the methods with library-specific code.\n\nThe methods likely to be overridden are:\n\n* `canCatalogEntriesByType`\n* `catalogEntriesByType`\n\nThe adapter will need to be registered\nin the application's container as `container-debug-adapter:main`.\n\nExample:\n\n```javascript\nApplication.initializer({\n name: \"containerDebugAdapter\",\n\n initialize(application) {\n application.register('container-debug-adapter:main', require('app/container-debug-adapter'));\n }\n});\n```",
2440 "extends": "EmberObject",
2441 "since": "1.5.0",
2442 "access": "public",
2443 "tagname": ""
2444 },
2445 "DataAdapter": {
2446 "name": "DataAdapter",
2447 "shortname": "DataAdapter",
2448 "classitems": [],
2449 "plugins": [],
2450 "extensions": [],
2451 "plugin_for": [],
2452 "extension_for": [],
2453 "module": "@ember/debug",
2454 "namespace": "",
2455 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
2456 "line": 11,
2457 "description": "The `DataAdapter` helps a data persistence library\ninterface with tools that debug Ember such\nas the [Ember Inspector](https://github.com/emberjs/ember-inspector)\nfor Chrome and Firefox.\n\nThis class will be extended by a persistence library\nwhich will override some of the methods with\nlibrary-specific code.\n\nThe methods likely to be overridden are:\n\n* `getFilters`\n* `detect`\n* `columnsForType`\n* `getRecords`\n* `getRecordColumnValues`\n* `getRecordKeywords`\n* `getRecordFilterValues`\n* `getRecordColor`\n* `observeRecord`\n\nThe adapter will need to be registered\nin the application's container as `dataAdapter:main`.\n\nExample:\n\n```javascript\nApplication.initializer({\n name: \"data-adapter\",\n\n initialize: function(application) {\n application.register('data-adapter:main', DS.DataAdapter);\n }\n});\n```",
2458 "extends": "EmberObject",
2459 "access": "public",
2460 "tagname": ""
2461 },
2462 "Checkbox": {
2463 "name": "Checkbox",
2464 "shortname": "Checkbox",
2465 "classitems": [],
2466 "plugins": [],
2467 "extensions": [],
2468 "plugin_for": [],
2469 "extension_for": [],
2470 "module": "@ember/component",
2471 "namespace": "",
2472 "file": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
2473 "line": 11,
2474 "description": "The internal class used to create text inputs when the `{{input}}`\nhelper is used with `type` of `checkbox`.\n\nSee [Ember.Templates.helpers.input](/ember/release/classes/Ember.Templates.helpers/methods/input?anchor=input) for usage details.\n\n## Direct manipulation of `checked`\n\nThe `checked` attribute of an `Checkbox` object should always be set\nthrough the Ember object or by interacting with its rendered element\nrepresentation via the mouse, keyboard, or touch. Updating the value of the\ncheckbox via jQuery will result in the checked value of the object and its\nelement losing synchronization.\n\n## Layout and LayoutName properties\n\nBecause HTML `input` elements are self closing `layout` and `layoutName`\nproperties will not be applied.",
2475 "extends": "Component",
2476 "access": "public",
2477 "tagname": ""
2478 },
2479 "Ember.Templates.helpers": {
2480 "name": "Ember.Templates.helpers",
2481 "shortname": "Ember.Templates.helpers",
2482 "classitems": [],
2483 "plugins": [],
2484 "extensions": [],
2485 "plugin_for": [],
2486 "extension_for": [],
2487 "module": "ember",
2488 "namespace": "",
2489 "file": "packages/@ember/-internals/glimmer/index.ts",
2490 "line": 86,
2491 "access": "public",
2492 "tagname": ""
2493 },
2494 "Ember.Templates.components": {
2495 "name": "Ember.Templates.components",
2496 "shortname": "Ember.Templates.components",
2497 "classitems": [],
2498 "plugins": [],
2499 "extensions": [],
2500 "plugin_for": [],
2501 "extension_for": [],
2502 "module": "@ember/routing",
2503 "namespace": ""
2504 },
2505 "LinkComponent": {
2506 "name": "LinkComponent",
2507 "shortname": "LinkComponent",
2508 "classitems": [],
2509 "plugins": [],
2510 "extensions": [],
2511 "plugin_for": [],
2512 "extension_for": [],
2513 "module": "@ember/routing",
2514 "namespace": "",
2515 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
2516 "line": 252,
2517 "description": "`LinkComponent` is the internal component invoked with `<LinkTo>` or `{{link-to}}`.",
2518 "extends": "Component",
2519 "see": [
2520 "{Ember.Templates.components.LinkTo}"
2521 ],
2522 "access": "public",
2523 "tagname": ""
2524 },
2525 "TextField": {
2526 "name": "TextField",
2527 "shortname": "TextField",
2528 "classitems": [],
2529 "plugins": [],
2530 "extensions": [],
2531 "plugin_for": [],
2532 "extension_for": [],
2533 "module": "@ember/component",
2534 "namespace": "",
2535 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
2536 "line": 33,
2537 "description": "The internal class used to create text inputs when the `Input` component is used with `type` of `text`.\n\nSee [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input) for usage details.\n\n## Layout and LayoutName properties\n\nBecause HTML `input` elements are self closing `layout` and `layoutName`\nproperties will not be applied.",
2538 "extends": "Component",
2539 "uses": [
2540 "Ember.TextSupport"
2541 ],
2542 "access": "public",
2543 "tagname": ""
2544 },
2545 "TextArea": {
2546 "name": "TextArea",
2547 "shortname": "TextArea",
2548 "classitems": [],
2549 "plugins": [],
2550 "extensions": [],
2551 "plugin_for": [],
2552 "extension_for": [],
2553 "module": "@ember/component",
2554 "namespace": "",
2555 "file": "packages/@ember/-internals/glimmer/lib/components/textarea.ts",
2556 "line": 131,
2557 "description": "The internal representation used for `Textarea` invocations.",
2558 "extends": "Component",
2559 "see": [
2560 "{Ember.Templates.components.Textarea}"
2561 ],
2562 "uses": [
2563 "Ember.TextSupport"
2564 ],
2565 "access": "public",
2566 "tagname": ""
2567 },
2568 "ComponentStateBucket": {
2569 "name": "ComponentStateBucket",
2570 "shortname": "ComponentStateBucket",
2571 "classitems": [],
2572 "plugins": [],
2573 "extensions": [],
2574 "plugin_for": [],
2575 "extension_for": [],
2576 "module": "ember",
2577 "namespace": "",
2578 "file": "packages/@ember/-internals/glimmer/lib/utils/curly-component-state-bucket.ts",
2579 "line": 36,
2580 "description": "Represents the internal state of the component.",
2581 "access": "private",
2582 "tagname": ""
2583 },
2584 "@ember/template": {
2585 "name": "@ember/template",
2586 "shortname": "@ember/template",
2587 "classitems": [],
2588 "plugins": [],
2589 "extensions": [],
2590 "plugin_for": [],
2591 "extension_for": [],
2592 "module": "@ember/template",
2593 "namespace": ""
2594 },
2595 "Component": {
2596 "name": "Component",
2597 "shortname": "Component",
2598 "classitems": [],
2599 "plugins": [],
2600 "extensions": [],
2601 "plugin_for": [],
2602 "extension_for": [],
2603 "module": "@ember/component",
2604 "namespace": "",
2605 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
2606 "line": 32,
2607 "description": "A component is an isolated piece of UI, represented by a template and an\noptional class. When a component has a class, its template's `this` value\nis an instance of the component class.\n\n## Template-only Components\n\nThe simplest way to create a component is to create a template file in\n`app/templates/components`. For example, if you name a template\n`app/templates/components/person-profile.hbs`:\n\n```app/templates/components/person-profile.hbs\n<h1>{{@person.name}}</h1>\n<img src={{@person.avatar}}>\n<p class='signature'>{{@person.signature}}</p>\n```\n\nYou will be able to use `<PersonProfile />` to invoke this component elsewhere\nin your application:\n\n```app/templates/application.hbs\n<PersonProfile @person={{this.currentUser}} />\n```\n\nNote that component names are capitalized here in order to distinguish them\nfrom regular HTML elements, but they are dasherized in the file system.\n\nWhile the angle bracket invocation form is generally preferred, it is also\npossible to invoke the same component with the `{{person-profile}}` syntax:\n\n```app/templates/application.hbs\n{{person-profile person=this.currentUser}}\n```\n\nNote that with this syntax, you use dashes in the component name and\narguments are passed without the `@` sign.\n\nIn both cases, Ember will render the content of the component template we\ncreated above. The end result will be something like this:\n\n```html\n<h1>Tomster</h1>\n<img src=\"https://emberjs.com/tomster.jpg\">\n<p class='signature'>Out of office this week</p>\n```\n\n## File System Nesting\n\nComponents can be nested inside sub-folders for logical groupping. For\nexample, if we placed our template in\n`app/templates/components/person/short-profile.hbs`, we can invoke it as\n`<Person::ShortProfile />`:\n\n```app/templates/application.hbs\n<Person::ShortProfile @person={{this.currentUser}} />\n```\n\nOr equivalently, `{{person/short-profile}}`:\n\n```app/templates/application.hbs\n{{person/short-profile person=this.currentUser}}\n```\n\n## Yielding Contents\n\nYou can use `yield` inside a template to include the **contents** of any block\nattached to the component. The block will be executed in its original context:\n\n```handlebars\n<PersonProfile @person={{this.currentUser}}>\n <p>Admin mode</p>\n {{! Executed in the current context. }}\n</PersonProfile>\n```\n\nor\n\n```handlebars\n{{#person-profile person=this.currentUser}}\n <p>Admin mode</p>\n {{! Executed in the current context. }}\n{{/person-profile}}\n```\n\n```app/templates/components/person-profile.hbs\n<h1>{{@person.name}}</h1>\n{{yield}}\n```\n\n## Customizing Components With JavaScript\n\nIf you want to customize the component in order to handle events, transform\narguments or maintain internal state, you implement a subclass of `Component`.\n\nOne example is to add computed properties to your component:\n\n```app/components/person-profile.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n displayName: computed('person.title', 'person.firstName', 'person.lastName', function() {\n let { title, firstName, lastName } = this;\n\n if (title) {\n return `${title} ${lastName}`;\n } else {\n return `${firstName} ${lastName}`;\n }\n })\n});\n```\n\nAnd then use it in the component's template:\n\n```app/templates/components/person-profile.hbs\n<h1>{{this.displayName}}</h1>\n{{yield}}\n```\n\n## Customizing a Component's HTML Element in JavaScript\n\n### HTML Tag\n\nThe default HTML tag name used for a component's HTML representation is `div`.\nThis can be customized by setting the `tagName` property.\n\nConsider the following component class:\n\n```app/components/emphasized-paragraph.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'em'\n});\n```\n\nWhen invoked, this component would produce output that looks something like\nthis:\n\n```html\n<em id=\"ember1\" class=\"ember-view\"></em>\n```\n\n### HTML `class` Attribute\n\nThe HTML `class` attribute of a component's tag can be set by providing a\n`classNames` property that is set to an array of strings:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNames: ['my-class', 'my-other-class']\n});\n```\n\nInvoking this component will produce output that looks like this:\n\n```html\n<div id=\"ember1\" class=\"ember-view my-class my-other-class\"></div>\n```\n\n`class` attribute values can also be set by providing a `classNameBindings`\nproperty set to an array of properties names for the component. The return\nvalue of these properties will be added as part of the value for the\ncomponents's `class` attribute. These properties can be computed properties:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n classNames: ['my-class', 'my-other-class'],\n classNameBindings: ['propertyA', 'propertyB'],\n\n propertyA: 'from-a',\n propertyB: computed(function() {\n if (someLogic) { return 'from-b'; }\n })\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view my-class my-other-class from-a from-b\"></div>\n```\n\nNote that `classNames` and `classNameBindings` is in addition to the `class`\nattribute passed with the angle bracket invocation syntax. Therefore, if this\ncomponent was invoked like so:\n\n```handlebars\n<MyWidget class=\"from-invocation\" />\n```\n\nThe resulting HTML will look similar to this:\n\n```html\n<div id=\"ember1\" class=\"from-invocation ember-view my-class my-other-class from-a from-b\"></div>\n```\n\nIf the value of a class name binding returns a boolean the property name\nitself will be used as the class name if the property is true. The class name\nwill not be added if the value is `false` or `undefined`.\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNameBindings: ['hovered'],\n\n hovered: true\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view hovered\"></div>\n```\n\n### Custom Class Names for Boolean Values\n\nWhen using boolean class name bindings you can supply a string value other\nthan the property name for use as the `class` HTML attribute by appending the\npreferred value after a \":\" character when defining the binding:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNameBindings: ['awesome:so-very-cool'],\n\n awesome: true\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view so-very-cool\"></div>\n```\n\nBoolean value class name bindings whose property names are in a\ncamelCase-style format will be converted to a dasherized format:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNameBindings: ['isUrgent'],\n\n isUrgent: true\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view is-urgent\"></div>\n```\n\nClass name bindings can also refer to object values that are found by\ntraversing a path relative to the component itself:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\nimport EmberObject from '@ember/object';\n\nexport default Component.extend({\n classNameBindings: ['messages.empty'],\n\n messages: EmberObject.create({\n empty: true\n })\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view empty\"></div>\n```\n\nIf you want to add a class name for a property which evaluates to true and\nand a different class name if it evaluates to false, you can pass a binding\nlike this:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n classNameBindings: ['isEnabled:enabled:disabled'],\n isEnabled: true\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view enabled\"></div>\n```\n\nWhen isEnabled is `false`, the resulting HTML representation looks like this:\n\n```html\n<div id=\"ember1\" class=\"ember-view disabled\"></div>\n```\n\nThis syntax offers the convenience to add a class if a property is `false`:\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\n// Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\nexport default Component.extend({\n classNameBindings: ['isEnabled::disabled'],\n isEnabled: true\n});\n```\n\nInvoking this component when the `isEnabled` property is true will produce\nHTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view\"></div>\n```\n\nInvoking it when the `isEnabled` property on the component is `false` will\nproduce HTML that looks like:\n\n```html\n<div id=\"ember1\" class=\"ember-view disabled\"></div>\n```\n\nUpdates to the value of a class name binding will result in automatic update\nof the HTML `class` attribute in the component's rendered HTML\nrepresentation. If the value becomes `false` or `undefined` the class name\nwill be removed.\n\nBoth `classNames` and `classNameBindings` are concatenated properties. See\n[EmberObject](/ember/release/classes/EmberObject) documentation for more\ninformation about concatenated properties.\n\n### Other HTML Attributes\n\nThe HTML attribute section of a component's tag can be set by providing an\n`attributeBindings` property set to an array of property names on the component.\nThe return value of these properties will be used as the value of the component's\nHTML associated attribute:\n\n```app/components/my-anchor.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'a',\n attributeBindings: ['href'],\n\n href: 'http://google.com'\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n```\n\nOne property can be mapped on to another by placing a \":\" between\nthe source property and the destination property:\n\n```app/components/my-anchor.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'a',\n attributeBindings: ['url:href'],\n\n url: 'http://google.com'\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n```\n\nHTML attributes passed with angle bracket invocations will take precedence\nover those specified in `attributeBindings`. Therefore, if this component was\ninvoked like so:\n\n```handlebars\n<MyAnchor href=\"http://bing.com\" @url=\"http://google.com\" />\n```\n\nThe resulting HTML will looks like this:\n\n```html\n<a id=\"ember1\" class=\"ember-view\" href=\"http://bing.com\"></a>\n```\n\nNote that the `href` attribute is ultimately set to `http://bing.com`,\ndespite it having attribute binidng to the `url` property, which was\nset to `http://google.com`.\n\nNamespaced attributes (e.g. `xlink:href`) are supported, but have to be\nmapped, since `:` is not a valid character for properties in Javascript:\n\n```app/components/my-use.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'use',\n attributeBindings: ['xlinkHref:xlink:href'],\n\n xlinkHref: '#triangle'\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<use xlink:href=\"#triangle\"></use>\n```\n\nIf the value of a property monitored by `attributeBindings` is a boolean, the\nattribute will be present or absent depending on the value:\n\n```app/components/my-text-input.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'input',\n attributeBindings: ['disabled'],\n\n disabled: false\n});\n```\n\nInvoking this component will produce HTML that looks like:\n\n```html\n<input id=\"ember1\" class=\"ember-view\" />\n```\n\n`attributeBindings` can refer to computed properties:\n\n```app/components/my-text-input.js\nimport Component from '@ember/component';\nimport { computed } from '@ember/object';\n\nexport default Component.extend({\n tagName: 'input',\n attributeBindings: ['disabled'],\n\n disabled: computed(function() {\n if (someLogic) {\n return true;\n } else {\n return false;\n }\n })\n});\n```\n\nTo prevent setting an attribute altogether, use `null` or `undefined` as the\nvalue of the property used in `attributeBindings`:\n\n```app/components/my-text-input.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n tagName: 'form',\n attributeBindings: ['novalidate'],\n novalidate: null\n});\n```\n\nUpdates to the property of an attribute binding will result in automatic\nupdate of the HTML attribute in the component's HTML output.\n\n`attributeBindings` is a concatenated property. See\n[EmberObject](/ember/release/classes/EmberObject) documentation for more\ninformation about concatenated properties.\n\n## Layouts\n\nThe `layout` property can be used to dynamically specify a template associated\nwith a component class, instead of relying on Ember to link together a\ncomponent class and a template based on file names.\n\nIn general, applications should not use this feature, but it's commonly used\nin addons for historical reasons.\n\nThe `layout` property should be set to the default export of a template\nmodule, which is the name of a template file without the `.hbs` extension.\n\n```app/templates/components/person-profile.hbs\n<h1>Person's Title</h1>\n<div class='details'>{{yield}}</div>\n```\n\n```app/components/person-profile.js\n import Component from '@ember/component';\n import layout from '../templates/components/person-profile';\n\n export default Component.extend({\n layout\n });\n```\n\nIf you invoke the component:\n\n```handlebars\n<PersonProfile>\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n</PersonProfile>\n```\n\nor\n\n```handlebars\n{{#person-profile}}\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n{{/person-profile}}\n```\n\nIt will result in the following HTML output:\n\n```html\n<h1>Person's Title</h1>\n <div class=\"details\">\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n</div>\n```\n\n## Handling Browser Events\n\nComponents can respond to user-initiated events in one of three ways: passing\nactions with angle bracket invocation, adding event handler methods to the\ncomponent's class, or adding actions to the component's template.\n\n### Passing Actions With Angle Bracket Invocation\n\nFor one-off events specific to particular instance of a component, it is possible\nto pass actions to the component's element using angle bracket invocation syntax.\n\n```handlebars\n<MyWidget {{action 'firstWidgetClicked'}} />\n\n<MyWidget {{action 'secondWidgetClicked'}} />\n```\n\nIn this case, when the first component is clicked on, Ember will invoke the\n`firstWidgetClicked` action. When the second component is clicked on, Ember\nwill invoke the `secondWidgetClicked` action instead.\n\nBesides `{{action}}`, it is also possible to pass any arbitrary element modifiers\nusing the angle bracket invocation syntax.\n\n### Event Handler Methods\n\nComponents can also respond to user-initiated events by implementing a method\nthat matches the event name. This approach is appropriate when the same event\nshould be handled by all instances of the same component.\n\nAn event object will be passed as the argument to the event handler method.\n\n```app/components/my-widget.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n click(event) {\n // `event.target` is either the component's element or one of its children\n let tag = event.target.tagName.toLowerCase();\n console.log('clicked on a `<${tag}>` HTML element!');\n }\n});\n```\n\nIn this example, whenever the user clicked anywhere inside the component, it\nwill log a message to the console.\n\nIt is possible to handle event types other than `click` by implementing the\nfollowing event handler methods. In addition, custom events can be registered\nby using `Application.customEvents`.\n\nTouch events:\n\n* `touchStart`\n* `touchMove`\n* `touchEnd`\n* `touchCancel`\n\nKeyboard events:\n\n* `keyDown`\n* `keyUp`\n* `keyPress`\n\nMouse events:\n\n* `mouseDown`\n* `mouseUp`\n* `contextMenu`\n* `click`\n* `doubleClick`\n* `focusIn`\n* `focusOut`\n\nForm events:\n\n* `submit`\n* `change`\n* `focusIn`\n* `focusOut`\n* `input`\n\nDrag and drop events:\n\n* `dragStart`\n* `drag`\n* `dragEnter`\n* `dragLeave`\n* `dragOver`\n* `dragEnd`\n* `drop`\n\n### `{{action}}` Helper\n\nInstead of handling all events of a particular type anywhere inside the\ncomponent's element, you may instead want to limit it to a particular\nelement in the component's template. In this case, it would be more\nconvenient to implement an action instead.\n\nFor example, you could implement the action `hello` for the `person-profile`\ncomponent:\n\n```app/components/person-profile.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n actions: {\n hello(name) {\n console.log(\"Hello\", name);\n }\n }\n});\n```\n\nAnd then use it in the component's template:\n\n```app/templates/components/person-profile.hbs\n<h1>{{@person.name}}</h1>\n\n<button {{action 'hello' @person.name}}>\n Say Hello to {{@person.name}}\n</button>\n```\n\nWhen the user clicks the button, Ember will invoke the `hello` action,\npassing in the current value of `@person.name` as an argument.\n\nSee [Ember.Templates.helpers.action](/ember/release/classes/Ember.Templates.helpers/methods/action?anchor=action).",
2608 "extends": "Ember.CoreView",
2609 "uses": [
2610 "Ember.TargetActionSupport",
2611 "Ember.ClassNamesSupport",
2612 "Ember.ActionSupport",
2613 "Ember.ViewMixin",
2614 "Ember.ViewStateSupport"
2615 ],
2616 "access": "public",
2617 "tagname": ""
2618 },
2619 "@glimmer/tracking": {
2620 "name": "@glimmer/tracking",
2621 "shortname": "@glimmer/tracking",
2622 "classitems": [],
2623 "plugins": [],
2624 "extensions": [],
2625 "plugin_for": [],
2626 "extension_for": [],
2627 "module": "@glimmer/tracking",
2628 "namespace": ""
2629 },
2630 "Helper": {
2631 "name": "Helper",
2632 "shortname": "Helper",
2633 "classitems": [],
2634 "plugins": [],
2635 "extensions": [],
2636 "plugin_for": [],
2637 "extension_for": [],
2638 "module": "@ember/component",
2639 "namespace": "",
2640 "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
2641 "line": 45,
2642 "description": "Ember Helpers are functions that can compute values, and are used in templates.\nFor example, this code calls a helper named `format-currency`:\n\n```app/templates/application.hbs\n<Cost @cents={{230}} />\n```\n\n```app/components/cost.hbs\n<div>{{format-currency @cents currency=\"$\"}}</div>\n```\n\nAdditionally a helper can be called as a nested helper.\nIn this example, we show the formatted currency value if the `showMoney`\nnamed argument is truthy.\n\n```handlebars\n{{if @showMoney (format-currency @cents currency=\"$\")}}\n```\n\nHelpers defined using a class must provide a `compute` function. For example:\n\n```app/helpers/format-currency.js\nimport Helper from '@ember/component/helper';\n\nexport default class extends Helper {\n compute([cents], { currency }) {\n return `${currency}${cents * 0.01}`;\n }\n}\n```\n\nEach time the input to a helper changes, the `compute` function will be\ncalled again.\n\nAs instances, these helpers also have access to the container and will accept\ninjected dependencies.\n\nAdditionally, class helpers can call `recompute` to force a new computation.",
2643 "access": "public",
2644 "tagname": "",
2645 "since": "1.13.0"
2646 },
2647 "@ember/component/helper": {
2648 "name": "@ember/component/helper",
2649 "shortname": "@ember/component/helper",
2650 "classitems": [],
2651 "plugins": [],
2652 "extensions": [],
2653 "plugin_for": [],
2654 "extension_for": [],
2655 "module": "@ember/component",
2656 "namespace": ""
2657 },
2658 "Ember": {
2659 "name": "Ember",
2660 "shortname": "Ember",
2661 "classitems": [],
2662 "plugins": [],
2663 "extensions": [],
2664 "plugin_for": [],
2665 "extension_for": [],
2666 "module": "@ember/utils",
2667 "namespace": ""
2668 },
2669 "@glimmer/tracking/primitives/cache": {
2670 "name": "@glimmer/tracking/primitives/cache",
2671 "shortname": "@glimmer/tracking/primitives/cache",
2672 "classitems": [],
2673 "plugins": [],
2674 "extensions": [],
2675 "plugin_for": [],
2676 "extension_for": [],
2677 "module": "@glimmer/tracking/primitives/cache",
2678 "namespace": ""
2679 },
2680 "ComputedProperty": {
2681 "name": "ComputedProperty",
2682 "shortname": "ComputedProperty",
2683 "classitems": [],
2684 "plugins": [],
2685 "extensions": [],
2686 "plugin_for": [],
2687 "extension_for": [],
2688 "module": "@ember/object",
2689 "namespace": "",
2690 "file": "packages/@ember/-internals/metal/lib/computed.ts",
2691 "line": 57,
2692 "description": "`@computed` is a decorator that turns a JavaScript getter and setter into a\ncomputed property, which is a _cached, trackable value_. By default the getter\nwill only be called once and the result will be cached. You can specify\nvarious properties that your computed property depends on. This will force the\ncached result to be cleared if the dependencies are modified, and lazily recomputed the next time something asks for it.\n\nIn the following example we decorate a getter - `fullName` - by calling\n`computed` with the property dependencies (`firstName` and `lastName`) as\narguments. The `fullName` getter will be called once (regardless of how many\ntimes it is accessed) as long as its dependencies do not change. Once\n`firstName` or `lastName` are updated any future calls to `fullName` will\nincorporate the new values, and any watchers of the value such as templates\nwill be updated:\n\n```javascript\nimport { computed, set } from '@ember/object';\n\nclass Person {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n @computed('firstName', 'lastName')\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n});\n\nlet tom = new Person('Tom', 'Dale');\n\ntom.fullName; // 'Tom Dale'\n```\n\nYou can also provide a setter, which will be used when updating the computed\nproperty. Ember's `set` function must be used to update the property\nsince it will also notify observers of the property:\n\n```javascript\nimport { computed, set } from '@ember/object';\n\nclass Person {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n @computed('firstName', 'lastName')\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n\n set fullName(value) {\n let [firstName, lastName] = value.split(' ');\n\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n});\n\nlet person = new Person();\n\nset(person, 'fullName', 'Peter Wagenet');\nperson.firstName; // 'Peter'\nperson.lastName; // 'Wagenet'\n```\n\nYou can also pass a getter function or object with `get` and `set` functions\nas the last argument to the computed decorator. This allows you to define\ncomputed property _macros_:\n\n```js\nimport { computed } from '@ember/object';\n\nfunction join(...keys) {\n return computed(...keys, function() {\n return keys.map(key => this[key]).join(' ');\n });\n}\n\nclass Person {\n @join('firstName', 'lastName')\n fullName;\n}\n```\n\nNote that when defined this way, getters and setters receive the _key_ of the\nproperty they are decorating as the first argument. Setters receive the value\nthey are setting to as the second argument instead. Additionally, setters must\n_return_ the value that should be cached:\n\n```javascript\nimport { computed, set } from '@ember/object';\n\nfunction fullNameMacro(firstNameKey, lastNameKey) {\n return computed(firstNameKey, lastNameKey, {\n get() {\n return `${this[firstNameKey]} ${this[lastNameKey]}`;\n }\n\n set(key, value) {\n let [firstName, lastName] = value.split(' ');\n\n set(this, firstNameKey, firstName);\n set(this, lastNameKey, lastName);\n\n return value;\n }\n });\n}\n\nclass Person {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n @fullNameMacro fullName;\n});\n\nlet person = new Person();\n\nset(person, 'fullName', 'Peter Wagenet');\nperson.firstName; // 'Peter'\nperson.lastName; // 'Wagenet'\n```\n\nComputed properties can also be used in classic classes. To do this, we\nprovide the getter and setter as the last argument like we would for a macro,\nand we assign it to a property on the class definition. This is an _anonymous_\ncomputed macro:\n\n```javascript\nimport EmberObject, { computed, set } from '@ember/object';\n\nlet Person = EmberObject.extend({\n // these will be supplied by `create`\n firstName: null,\n lastName: null,\n\n fullName: computed('firstName', 'lastName', {\n get() {\n return `${this.firstName} ${this.lastName}`;\n }\n\n set(key, value) {\n let [firstName, lastName] = value.split(' ');\n\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n\n return value;\n }\n })\n});\n\nlet tom = Person.create({\n firstName: 'Tom',\n lastName: 'Dale'\n});\n\ntom.get('fullName') // 'Tom Dale'\n```\n\nYou can overwrite computed property without setters with a normal property (no\nlonger computed) that won't change if dependencies change. You can also mark\ncomputed property as `.readOnly()` and block all attempts to set it.\n\n```javascript\nimport { computed, set } from '@ember/object';\n\nclass Person {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n @computed('firstName', 'lastName').readOnly()\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n});\n\nlet person = new Person();\nperson.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n```\n\nAdditional resources:\n- [Decorators RFC](https://github.com/emberjs/rfcs/blob/master/text/0408-decorators.md)\n- [New CP syntax RFC](https://github.com/emberjs/rfcs/blob/master/text/0011-improved-cp-syntax.md)\n- [New computed syntax explained in \"Ember 1.12 released\" ](https://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)",
2693 "access": "public",
2694 "tagname": ""
2695 },
2696 "@ember/object": {
2697 "name": "@ember/object",
2698 "shortname": "@ember/object",
2699 "classitems": [],
2700 "plugins": [],
2701 "extensions": [],
2702 "plugin_for": [],
2703 "extension_for": [],
2704 "module": "@ember/object",
2705 "namespace": ""
2706 },
2707 "@ember/debug": {
2708 "name": "@ember/debug",
2709 "shortname": "@ember/debug",
2710 "classitems": [],
2711 "plugins": [],
2712 "extensions": [],
2713 "plugin_for": [],
2714 "extension_for": [],
2715 "module": "@ember/debug",
2716 "namespace": ""
2717 },
2718 "Descriptor": {
2719 "name": "Descriptor",
2720 "shortname": "Descriptor",
2721 "classitems": [],
2722 "plugins": [],
2723 "extensions": [],
2724 "plugin_for": [],
2725 "extension_for": [],
2726 "module": "@ember/object",
2727 "namespace": "",
2728 "file": "packages/@ember/-internals/metal/lib/decorator.ts",
2729 "line": 43,
2730 "description": "Objects of this type can implement an interface to respond to requests to\nget and set. The default implementation handles simple properties.",
2731 "access": "private",
2732 "tagname": ""
2733 },
2734 "@ember/object/events": {
2735 "name": "@ember/object/events",
2736 "shortname": "@ember/object/events",
2737 "classitems": [],
2738 "plugins": [],
2739 "extensions": [],
2740 "plugin_for": [],
2741 "extension_for": [],
2742 "module": "@ember/object",
2743 "namespace": ""
2744 },
2745 "@ember/object/evented": {
2746 "name": "@ember/object/evented",
2747 "shortname": "@ember/object/evented",
2748 "classitems": [],
2749 "plugins": [],
2750 "extensions": [],
2751 "plugin_for": [],
2752 "extension_for": [],
2753 "module": "@ember/object",
2754 "namespace": ""
2755 },
2756 "@ember/object/computed": {
2757 "name": "@ember/object/computed",
2758 "shortname": "@ember/object/computed",
2759 "classitems": [],
2760 "plugins": [],
2761 "extensions": [],
2762 "plugin_for": [],
2763 "extension_for": [],
2764 "module": "@ember/object",
2765 "namespace": ""
2766 },
2767 "Ember.InjectedProperty": {
2768 "name": "Ember.InjectedProperty",
2769 "shortname": "Ember.InjectedProperty",
2770 "classitems": [],
2771 "plugins": [],
2772 "extensions": [],
2773 "plugin_for": [],
2774 "extension_for": [],
2775 "module": "ember",
2776 "namespace": "Ember",
2777 "file": "packages/@ember/-internals/metal/lib/injected_property.ts",
2778 "line": 24,
2779 "description": "Read-only property that returns the result of a container lookup.",
2780 "is_constructor": 1,
2781 "params": [
2782 {
2783 "name": "type",
2784 "description": "The container type the property will lookup",
2785 "type": "String"
2786 },
2787 {
2788 "name": "nameOrDesc",
2789 "description": "(optional) The name the property will lookup, defaults\n to the property's name",
2790 "type": "String"
2791 }
2792 ],
2793 "access": "private",
2794 "tagname": ""
2795 },
2796 "@ember/utils": {
2797 "name": "@ember/utils",
2798 "shortname": "@ember/utils",
2799 "classitems": [],
2800 "plugins": [],
2801 "extensions": [],
2802 "plugin_for": [],
2803 "extension_for": [],
2804 "module": "@ember/utils",
2805 "namespace": ""
2806 },
2807 "Libraries": {
2808 "name": "Libraries",
2809 "shortname": "Libraries",
2810 "classitems": [],
2811 "plugins": [],
2812 "extensions": [],
2813 "plugin_for": [],
2814 "extension_for": [],
2815 "module": "ember",
2816 "namespace": "",
2817 "file": "packages/@ember/-internals/metal/lib/libraries.ts",
2818 "line": 15,
2819 "description": "Helper class that allows you to register your library with Ember.\n\nSingleton created at `Ember.libraries`.",
2820 "is_constructor": 1,
2821 "access": "private",
2822 "tagname": ""
2823 },
2824 "Mixin": {
2825 "name": "Mixin",
2826 "shortname": "Mixin",
2827 "classitems": [],
2828 "plugins": [],
2829 "extensions": [],
2830 "plugin_for": [],
2831 "extension_for": [],
2832 "module": "@ember/object",
2833 "namespace": "",
2834 "file": "packages/@ember/-internals/metal/lib/mixin.ts",
2835 "line": 479,
2836 "description": "The `Mixin` class allows you to create mixins, whose properties can be\nadded to other classes. For instance,\n\n```javascript\nimport Mixin from '@ember/object/mixin';\n\nconst EditableMixin = Mixin.create({\n edit() {\n console.log('starting to edit');\n this.set('isEditing', true);\n },\n isEditing: false\n});\n```\n\n```javascript\nimport EmberObject from '@ember/object';\nimport EditableMixin from '../mixins/editable';\n\n// Mix mixins into classes by passing them as the first arguments to\n// `.extend.`\nconst Comment = EmberObject.extend(EditableMixin, {\n post: null\n});\n\nlet comment = Comment.create({\n post: somePost\n});\n\ncomment.edit(); // outputs 'starting to edit'\n```\n\nNote that Mixins are created with `Mixin.create`, not\n`Mixin.extend`.\n\nNote that mixins extend a constructor's prototype so arrays and object literals\ndefined as properties will be shared amongst objects that implement the mixin.\nIf you want to define a property in a mixin that is not shared, you can define\nit either as a computed property or have it be created on initialization of the object.\n\n```javascript\n// filters array will be shared amongst any object implementing mixin\nimport Mixin from '@ember/object/mixin';\nimport { A } from '@ember/array';\n\nconst FilterableMixin = Mixin.create({\n filters: A()\n});\n```\n\n```javascript\nimport Mixin from '@ember/object/mixin';\nimport { A } from '@ember/array';\nimport { computed } from '@ember/object';\n\n// filters will be a separate array for every object implementing the mixin\nconst FilterableMixin = Mixin.create({\n filters: computed(function() {\n return A();\n })\n});\n```\n\n```javascript\nimport Mixin from '@ember/object/mixin';\nimport { A } from '@ember/array';\n\n// filters will be created as a separate array during the object's initialization\nconst Filterable = Mixin.create({\n filters: null,\n\n init() {\n this._super(...arguments);\n this.set(\"filters\", A());\n }\n});\n```",
2837 "access": "public",
2838 "tagname": ""
2839 },
2840 "@ember/object/mixin": {
2841 "name": "@ember/object/mixin",
2842 "shortname": "@ember/object/mixin",
2843 "classitems": [],
2844 "plugins": [],
2845 "extensions": [],
2846 "plugin_for": [],
2847 "extension_for": [],
2848 "module": "@ember/object",
2849 "namespace": ""
2850 },
2851 "@ember/object/observers": {
2852 "name": "@ember/object/observers",
2853 "shortname": "@ember/object/observers",
2854 "classitems": [],
2855 "plugins": [],
2856 "extensions": [],
2857 "plugin_for": [],
2858 "extension_for": [],
2859 "module": "@ember/object",
2860 "namespace": ""
2861 },
2862 "@ember/application": {
2863 "name": "@ember/application",
2864 "shortname": "@ember/application",
2865 "classitems": [],
2866 "plugins": [],
2867 "extensions": [],
2868 "plugin_for": [],
2869 "extension_for": [],
2870 "module": "@ember/application",
2871 "namespace": ""
2872 },
2873 "Ember.ControllerMixin": {
2874 "name": "Ember.ControllerMixin",
2875 "shortname": "Ember.ControllerMixin",
2876 "classitems": [],
2877 "plugins": [],
2878 "extensions": [],
2879 "plugin_for": [],
2880 "extension_for": [
2881 "Controller"
2882 ],
2883 "module": "ember",
2884 "namespace": "Ember",
2885 "file": "packages/@ember/controller/lib/controller_mixin.js",
2886 "line": 11,
2887 "uses": [
2888 "Ember.ActionHandler"
2889 ],
2890 "access": "private",
2891 "tagname": ""
2892 },
2893 "Location": {
2894 "name": "Location",
2895 "shortname": "Location",
2896 "classitems": [],
2897 "plugins": [],
2898 "extensions": [],
2899 "plugin_for": [],
2900 "extension_for": [],
2901 "module": "@ember/routing",
2902 "namespace": "",
2903 "file": "packages/@ember/-internals/routing/lib/location/api.ts",
2904 "line": 20,
2905 "description": "Location returns an instance of the correct implementation of\nthe `location` API.\n\n## Implementations\n\nYou can pass an implementation name (`hash`, `history`, `none`, `auto`) to force a\nparticular implementation to be used in your application.\n\nSee [HashLocation](/ember/release/classes/HashLocation).\nSee [HistoryLocation](/ember/release/classes/HistoryLocation).\nSee [NoneLocation](/ember/release/classes/NoneLocation).\nSee [AutoLocation](/ember/release/classes/AutoLocation).\n\n## Location API\n\nEach location implementation must provide the following methods:\n\n* implementation: returns the string name used to reference the implementation.\n* getURL: returns the current URL.\n* setURL(path): sets the current URL.\n* replaceURL(path): replace the current URL (optional).\n* onUpdateURL(callback): triggers the callback when the URL changes.\n* formatURL(url): formats `url` to be placed into `href` attribute.\n* detect() (optional): instructs the location to do any feature detection\n necessary. If the location needs to redirect to a different URL, it\n can cancel routing by setting the `cancelRouterSetup` property on itself\n to `false`.\n\nCalling setURL or replaceURL will not trigger onUpdateURL callbacks.\n\n## Custom implementation\n\nEmber scans `app/locations/*` for extending the Location API.\n\nExample:\n\n```javascript\nimport HistoryLocation from '@ember/routing/history-location';\n\nexport default class MyHistory {\n implementation: 'my-custom-history',\n constructor() {\n this._history = HistoryLocation.create(...arguments);\n }\n create() {\n return new this(...arguments);\n }\n pushState(path) {\n this._history.pushState(path);\n }\n}\n```",
2906 "access": "private",
2907 "tagname": ""
2908 },
2909 "AutoLocation": {
2910 "name": "AutoLocation",
2911 "shortname": "AutoLocation",
2912 "classitems": [],
2913 "plugins": [],
2914 "extensions": [],
2915 "plugin_for": [],
2916 "extension_for": [],
2917 "module": "@ember/routing",
2918 "namespace": "",
2919 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
2920 "line": 22,
2921 "description": "AutoLocation will select the best location option based off browser\nsupport with the priority order: history, hash, none.\n\nClean pushState paths accessed by hashchange-only browsers will be redirected\nto the hash-equivalent and vice versa so future transitions are consistent.\n\nKeep in mind that since some of your users will use `HistoryLocation`, your\nserver must serve the Ember app at all the routes you define.\n\nBrowsers that support the `history` API will use `HistoryLocation`, those that\ndo not, but still support the `hashchange` event will use `HashLocation`, and\nin the rare case neither is supported will use `NoneLocation`.\n\nExample:\n\n```app/router.js\nRouter.map(function() {\n this.route('posts', function() {\n this.route('new');\n });\n});\n\nRouter.reopen({\n location: 'auto'\n});\n```\n\nThis will result in a posts.new url of `/posts/new` for modern browsers that\nsupport the `history` api or `/#/posts/new` for older ones, like Internet\nExplorer 9 and below.\n\nWhen a user visits a link to your application, they will be automatically\nupgraded or downgraded to the appropriate `Location` class, with the URL\ntransformed accordingly, if needed.\n\nKeep in mind that since some of your users will use `HistoryLocation`, your\nserver must serve the Ember app at all the routes you define.",
2922 "static": 1,
2923 "access": "protected",
2924 "tagname": ""
2925 },
2926 "HashLocation": {
2927 "name": "HashLocation",
2928 "shortname": "HashLocation",
2929 "classitems": [],
2930 "plugins": [],
2931 "extensions": [],
2932 "plugin_for": [],
2933 "extension_for": [],
2934 "module": "@ember/routing",
2935 "namespace": "",
2936 "file": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
2937 "line": 11,
2938 "description": "`HashLocation` implements the location API using the browser's\nhash. At present, it relies on a `hashchange` event existing in the\nbrowser.\n\nUsing `HashLocation` results in URLs with a `#` (hash sign) separating the\nserver side URL portion of the URL from the portion that is used by Ember.\n\nExample:\n\n```app/router.js\nRouter.map(function() {\n this.route('posts', function() {\n this.route('new');\n });\n});\n\nRouter.reopen({\n location: 'hash'\n});\n```\n\nThis will result in a posts.new url of `/#/posts/new`.",
2939 "extends": "EmberObject",
2940 "access": "protected",
2941 "tagname": ""
2942 },
2943 "HistoryLocation": {
2944 "name": "HistoryLocation",
2945 "shortname": "HistoryLocation",
2946 "classitems": [],
2947 "plugins": [],
2948 "extensions": [],
2949 "plugin_for": [],
2950 "extension_for": [],
2951 "module": "@ember/routing",
2952 "namespace": "",
2953 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
2954 "line": 21,
2955 "description": "HistoryLocation implements the location API using the browser's\nhistory.pushState API.\n\nUsing `HistoryLocation` results in URLs that are indistinguishable from a\nstandard URL. This relies upon the browser's `history` API.\n\nExample:\n\n```app/router.js\nRouter.map(function() {\n this.route('posts', function() {\n this.route('new');\n });\n});\n\nRouter.reopen({\n location: 'history'\n});\n```\n\nThis will result in a posts.new url of `/posts/new`.\n\nKeep in mind that your server must serve the Ember app at all the routes you\ndefine.",
2956 "extends": "EmberObject",
2957 "access": "protected",
2958 "tagname": ""
2959 },
2960 "NoneLocation": {
2961 "name": "NoneLocation",
2962 "shortname": "NoneLocation",
2963 "classitems": [],
2964 "plugins": [],
2965 "extensions": [],
2966 "plugin_for": [],
2967 "extension_for": [],
2968 "module": "@ember/routing",
2969 "namespace": "",
2970 "file": "packages/@ember/-internals/routing/lib/location/none_location.ts",
2971 "line": 10,
2972 "description": "NoneLocation does not interact with the browser. It is useful for\ntesting, or when you need to manage state with your Router, but temporarily\ndon't want it to muck with the URL (for example when you embed your\napplication in a larger page).\n\nUsing `NoneLocation` causes Ember to not store the applications URL state\nin the actual URL. This is generally used for testing purposes, and is one\nof the changes made when calling `App.setupForTesting()`.",
2973 "extends": "EmberObject",
2974 "access": "protected",
2975 "tagname": ""
2976 },
2977 "RouterService": {
2978 "name": "RouterService",
2979 "shortname": "RouterService",
2980 "classitems": [],
2981 "plugins": [],
2982 "extensions": [],
2983 "plugin_for": [],
2984 "extension_for": [],
2985 "module": "@ember/routing",
2986 "namespace": "",
2987 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
2988 "line": 32,
2989 "description": "The Router service is the public API that provides access to the router.\n\nThe immediate benefit of the Router service is that you can inject it into components,\ngiving them a friendly way to initiate transitions and ask questions about the current\nglobal router state.\n\nIn this example, the Router service is injected into a component to initiate a transition\nto a dedicated route:\n\n```app/components/example.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class ExampleComponent extends Component {\n @service router;\n\n @action\n next() {\n this.router.transitionTo('other.route');\n }\n}\n```\n\nLike any service, it can also be injected into helpers, routes, etc.",
2990 "access": "public",
2991 "tagname": "",
2992 "extends": "Service"
2993 },
2994 "RoutingService": {
2995 "name": "RoutingService",
2996 "shortname": "RoutingService",
2997 "classitems": [],
2998 "plugins": [],
2999 "extensions": [],
3000 "plugin_for": [],
3001 "extension_for": [],
3002 "module": "ember",
3003 "namespace": "",
3004 "file": "packages/@ember/-internals/routing/lib/services/routing.ts",
3005 "line": 10,
3006 "description": "The Routing service is used by LinkComponent, and provides facilities for\nthe component/view layer to interact with the router.\n\nThis is a private service for internal usage only. For public usage,\nrefer to the `Router` service.",
3007 "access": "private",
3008 "tagname": ""
3009 },
3010 "BucketCache": {
3011 "name": "BucketCache",
3012 "shortname": "BucketCache",
3013 "classitems": [],
3014 "plugins": [],
3015 "extensions": [],
3016 "plugin_for": [],
3017 "extension_for": [],
3018 "module": "ember",
3019 "namespace": "",
3020 "file": "packages/@ember/-internals/routing/lib/system/cache.ts",
3021 "line": 1,
3022 "description": "A two-tiered cache with support for fallback values when doing lookups.\nUses \"buckets\" and then \"keys\" to cache values.",
3023 "access": "private",
3024 "tagname": ""
3025 },
3026 "RouteInfoWithAttributes": {
3027 "name": "RouteInfoWithAttributes",
3028 "shortname": "RouteInfoWithAttributes",
3029 "classitems": [],
3030 "plugins": [],
3031 "extensions": [],
3032 "plugin_for": [],
3033 "extension_for": [],
3034 "module": "ember",
3035 "namespace": "",
3036 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
3037 "line": 1,
3038 "description": "A `RouteInfoWithAttributes` is an object that contains\nmetadata, including the resolved value from the routes\n`model` hook. Like `RouteInfo`, a `RouteInfoWithAttributes`\nrepresents a specific route within a Transition.\nIt is read-only and internally immutable. It is also not\nobservable, because a Transition instance is never\nchanged after creation.",
3039 "access": "public",
3040 "tagname": ""
3041 },
3042 "RouteInfo": {
3043 "name": "RouteInfo",
3044 "shortname": "RouteInfo",
3045 "classitems": [],
3046 "plugins": [],
3047 "extensions": [],
3048 "plugin_for": [],
3049 "extension_for": [],
3050 "module": "ember",
3051 "namespace": "",
3052 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
3053 "line": 118,
3054 "description": "A RouteInfo is an object that contains metadata\nabout a specific route within a Transition. It is\nread-only and internally immutable. It is also not\nobservable, because a Transition instance is never\nchanged after creation.",
3055 "access": "public",
3056 "tagname": ""
3057 },
3058 "Route": {
3059 "name": "Route",
3060 "shortname": "Route",
3061 "classitems": [],
3062 "plugins": [],
3063 "extensions": [],
3064 "plugin_for": [],
3065 "extension_for": [],
3066 "module": "@ember/routing",
3067 "namespace": "",
3068 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
3069 "line": 78,
3070 "description": "The `Route` class is used to define individual routes. Refer to\nthe [routing guide](https://guides.emberjs.com/release/routing/) for documentation.",
3071 "extends": "EmberObject",
3072 "uses": [
3073 "ActionHandler",
3074 "Evented"
3075 ],
3076 "since": "1.0.0",
3077 "access": "public",
3078 "tagname": ""
3079 },
3080 "EmberRouter": {
3081 "name": "EmberRouter",
3082 "shortname": "EmberRouter",
3083 "classitems": [],
3084 "plugins": [],
3085 "extensions": [],
3086 "plugin_for": [],
3087 "extension_for": [],
3088 "module": "@ember/routing",
3089 "namespace": "",
3090 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
3091 "line": 117,
3092 "description": "The `EmberRouter` class manages the application state and URLs. Refer to\nthe [routing guide](https://guides.emberjs.com/release/routing/) for documentation.",
3093 "extends": "EmberObject",
3094 "uses": [
3095 "Evented"
3096 ],
3097 "access": "public",
3098 "tagname": ""
3099 },
3100 "Transition": {
3101 "name": "Transition",
3102 "shortname": "Transition",
3103 "classitems": [],
3104 "plugins": [],
3105 "extensions": [],
3106 "plugin_for": [],
3107 "extension_for": [],
3108 "module": "@ember/routing",
3109 "namespace": "",
3110 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
3111 "line": 1,
3112 "description": "A Transition is a thennable (a promise-like object) that represents\nan attempt to transition to another route. It can be aborted, either\nexplicitly via `abort` or by attempting another transition while a\nprevious one is still underway. An aborted transition can also\nbe `retry()`d later.",
3113 "access": "public",
3114 "tagname": ""
3115 },
3116 "Function": {
3117 "name": "Function",
3118 "shortname": "Function",
3119 "classitems": [],
3120 "plugins": [],
3121 "extensions": [],
3122 "plugin_for": [],
3123 "extension_for": [],
3124 "module": "ember",
3125 "namespace": ""
3126 },
3127 "Ember.ProxyMixin": {
3128 "name": "Ember.ProxyMixin",
3129 "shortname": "Ember.ProxyMixin",
3130 "classitems": [],
3131 "plugins": [],
3132 "extensions": [],
3133 "plugin_for": [],
3134 "extension_for": [
3135 "ObjectProxy"
3136 ],
3137 "module": "ember",
3138 "namespace": "Ember",
3139 "file": "packages/@ember/-internals/runtime/lib/mixins/-proxy.js",
3140 "line": 27,
3141 "description": "`Ember.ProxyMixin` forwards all properties not defined by the proxy itself\nto a proxied `content` object. See ObjectProxy for more details.",
3142 "access": "private",
3143 "tagname": ""
3144 },
3145 "Ember.ActionHandler": {
3146 "name": "Ember.ActionHandler",
3147 "shortname": "Ember.ActionHandler",
3148 "classitems": [],
3149 "plugins": [],
3150 "extensions": [],
3151 "plugin_for": [],
3152 "extension_for": [
3153 "Ember.ControllerMixin",
3154 "Ember.CoreView"
3155 ],
3156 "module": "ember",
3157 "namespace": "Ember",
3158 "file": "packages/@ember/-internals/runtime/lib/mixins/action_handler.js",
3159 "line": 8,
3160 "description": "`Ember.ActionHandler` is available on some familiar classes including\n`Route`, `Component`, and `Controller`.\n(Internally the mixin is used by `Ember.CoreView`, `Ember.ControllerMixin`,\nand `Route` and available to the above classes through\ninheritance.)",
3161 "access": "private",
3162 "tagname": ""
3163 },
3164 "@ember/array": {
3165 "name": "@ember/array",
3166 "shortname": "@ember/array",
3167 "classitems": [],
3168 "plugins": [],
3169 "extensions": [],
3170 "plugin_for": [],
3171 "extension_for": [],
3172 "module": "ember",
3173 "namespace": ""
3174 },
3175 "EmberArray": {
3176 "name": "EmberArray",
3177 "shortname": "EmberArray",
3178 "classitems": [],
3179 "plugins": [],
3180 "extensions": [],
3181 "plugin_for": [],
3182 "extension_for": [
3183 "MutableArray"
3184 ],
3185 "module": "@ember/array",
3186 "namespace": "",
3187 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
3188 "line": 185,
3189 "description": "This mixin implements Observer-friendly Array-like behavior. It is not a\nconcrete implementation, but it can be used up by other classes that want\nto appear like arrays.\n\nFor example, ArrayProxy is a concrete class that can be instantiated to\nimplement array-like behavior. This class uses the Array Mixin by way of\nthe MutableArray mixin, which allows observable changes to be made to the\nunderlying array.\n\nThis mixin defines methods specifically for collections that provide\nindex-ordered access to their contents. When you are designing code that\nneeds to accept any kind of Array-like object, you should use these methods\ninstead of Array primitives because these will properly notify observers of\nchanges to the array.\n\nAlthough these methods are efficient, they do add a layer of indirection to\nyour application so it is a good idea to use them only when you need the\nflexibility of using both true JavaScript arrays and \"virtual\" arrays such\nas controllers and collections.\n\nYou can use the methods defined in this module to access and modify array\ncontents in an observable-friendly way. You can also be notified whenever\nthe membership of an array changes by using `.observes('myArray.[]')`.\n\nTo support `EmberArray` in your own class, you must override two\nprimitives to use it: `length()` and `objectAt()`.",
3190 "uses": [
3191 "Enumerable"
3192 ],
3193 "since": "Ember 0.9.0",
3194 "access": "public",
3195 "tagname": ""
3196 },
3197 "MutableArray": {
3198 "name": "MutableArray",
3199 "shortname": "MutableArray",
3200 "classitems": [],
3201 "plugins": [],
3202 "extensions": [],
3203 "plugin_for": [],
3204 "extension_for": [
3205 "Ember.NativeArray",
3206 "ArrayProxy"
3207 ],
3208 "module": "@ember/array",
3209 "namespace": "",
3210 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
3211 "line": 1527,
3212 "description": "This mixin defines the API for modifying array-like objects. These methods\ncan be applied only to a collection that keeps its items in an ordered set.\nIt builds upon the Array mixin and adds methods to modify the array.\nOne concrete implementations of this class include ArrayProxy.\n\nIt is important to use the methods in this class to modify arrays so that\nchanges are observable. This allows the binding system in Ember to function\ncorrectly.\n\n\nNote that an Array can change even if it does not implement this mixin.\nFor example, one might implement a SparseArray that cannot be directly\nmodified, but if its underlying enumerable changes, it will change also.",
3213 "uses": [
3214 "EmberArray",
3215 "MutableEnumerable"
3216 ],
3217 "access": "public",
3218 "tagname": ""
3219 },
3220 "Ember.NativeArray": {
3221 "name": "Ember.NativeArray",
3222 "shortname": "Ember.NativeArray",
3223 "classitems": [],
3224 "plugins": [],
3225 "extensions": [],
3226 "plugin_for": [],
3227 "extension_for": [],
3228 "module": "ember",
3229 "namespace": "",
3230 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
3231 "line": 1948,
3232 "description": "The NativeArray mixin contains the properties needed to make the native\nArray support MutableArray and all of its dependent APIs. Unless you\nhave `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to\nfalse, this will be applied automatically. Otherwise you can apply the mixin\nat anytime by calling `Ember.NativeArray.apply(Array.prototype)`.",
3233 "uses": [
3234 "MutableArray",
3235 "Observable"
3236 ],
3237 "access": "public",
3238 "tagname": ""
3239 },
3240 "Ember.Comparable": {
3241 "name": "Ember.Comparable",
3242 "shortname": "Ember.Comparable",
3243 "classitems": [],
3244 "plugins": [],
3245 "extensions": [],
3246 "plugin_for": [],
3247 "extension_for": [],
3248 "module": "ember",
3249 "namespace": "Ember",
3250 "file": "packages/@ember/-internals/runtime/lib/mixins/comparable.js",
3251 "line": 7,
3252 "description": "Implements some standard methods for comparing objects. Add this mixin to\nany class you create that can compare its instances.\n\nYou should implement the `compare()` method.",
3253 "since": "Ember 0.9",
3254 "access": "private",
3255 "tagname": ""
3256 },
3257 "ContainerProxyMixin": {
3258 "name": "ContainerProxyMixin",
3259 "shortname": "ContainerProxyMixin",
3260 "classitems": [],
3261 "plugins": [],
3262 "extensions": [],
3263 "plugin_for": [],
3264 "extension_for": [
3265 "EngineInstance"
3266 ],
3267 "module": "ember",
3268 "namespace": "",
3269 "file": "packages/@ember/-internals/runtime/lib/mixins/container_proxy.js",
3270 "line": 7,
3271 "description": "ContainerProxyMixin is used to provide public access to specific\ncontainer functionality.",
3272 "access": "private",
3273 "tagname": ""
3274 },
3275 "Ember.Copyable": {
3276 "name": "Ember.Copyable",
3277 "shortname": "Ember.Copyable",
3278 "classitems": [],
3279 "plugins": [],
3280 "extensions": [],
3281 "plugin_for": [],
3282 "extension_for": [],
3283 "module": "ember",
3284 "namespace": "Ember",
3285 "file": "packages/@ember/-internals/runtime/lib/mixins/copyable.js",
3286 "line": 7,
3287 "description": "Implements some standard methods for copying an object. Add this mixin to\nany object you create that can create a copy of itself. This mixin is\nadded automatically to the built-in array.\n\nYou should generally implement the `copy()` method to return a copy of the\nreceiver.",
3288 "since": "Ember 0.9",
3289 "deprecated": true,
3290 "deprecationMessage": "Use 'ember-copy' addon instead",
3291 "access": "private",
3292 "tagname": ""
3293 },
3294 "Enumerable": {
3295 "name": "Enumerable",
3296 "shortname": "Enumerable",
3297 "classitems": [],
3298 "plugins": [],
3299 "extensions": [],
3300 "plugin_for": [],
3301 "extension_for": [
3302 "EmberArray",
3303 "Ember.MutableEnumerable"
3304 ],
3305 "module": "@ember/enumerable",
3306 "namespace": "",
3307 "file": "packages/@ember/-internals/runtime/lib/mixins/enumerable.js",
3308 "line": 8,
3309 "description": "The methods in this mixin have been moved to [MutableArray](/ember/release/classes/MutableArray). This mixin has\nbeen intentionally preserved to avoid breaking Enumerable.detect checks\nuntil the community migrates away from them.",
3310 "access": "private",
3311 "tagname": ""
3312 },
3313 "Evented": {
3314 "name": "Evented",
3315 "shortname": "Evented",
3316 "classitems": [],
3317 "plugins": [],
3318 "extensions": [],
3319 "plugin_for": [],
3320 "extension_for": [
3321 "Route",
3322 "EmberRouter",
3323 "Ember.CoreView"
3324 ],
3325 "module": "@ember/object",
3326 "namespace": "",
3327 "file": "packages/@ember/-internals/runtime/lib/mixins/evented.js",
3328 "line": 13,
3329 "description": "This mixin allows for Ember objects to subscribe to and emit events.\n\n```app/utils/person.js\nimport EmberObject from '@ember/object';\nimport Evented from '@ember/object/evented';\n\nexport default EmberObject.extend(Evented, {\n greet() {\n // ...\n this.trigger('greet');\n }\n});\n```\n\n```javascript\nvar person = Person.create();\n\nperson.on('greet', function() {\n console.log('Our person has greeted');\n});\n\nperson.greet();\n\n// outputs: 'Our person has greeted'\n```\n\nYou can also chain multiple event subscriptions:\n\n```javascript\nperson.on('greet', function() {\n console.log('Our person has greeted');\n}).one('greet', function() {\n console.log('Offer one-time special');\n}).off('event', this, forgetThis);\n```",
3330 "access": "public",
3331 "tagname": ""
3332 },
3333 "Ember.MutableEnumerable": {
3334 "name": "Ember.MutableEnumerable",
3335 "shortname": "Ember.MutableEnumerable",
3336 "classitems": [],
3337 "plugins": [],
3338 "extensions": [],
3339 "plugin_for": [],
3340 "extension_for": [],
3341 "module": "ember",
3342 "namespace": "Ember",
3343 "file": "packages/@ember/-internals/runtime/lib/mixins/mutable_enumerable.js",
3344 "line": 8,
3345 "description": "The methods in this mixin have been moved to MutableArray. This mixin has\nbeen intentionally preserved to avoid breaking MutableEnumerable.detect\nchecks until the community migrates away from them.",
3346 "uses": [
3347 "Enumerable"
3348 ],
3349 "access": "private",
3350 "tagname": ""
3351 },
3352 "Observable": {
3353 "name": "Observable",
3354 "shortname": "Observable",
3355 "classitems": [],
3356 "plugins": [],
3357 "extensions": [],
3358 "plugin_for": [],
3359 "extension_for": [
3360 "Ember.NativeArray",
3361 "EmberObject"
3362 ],
3363 "module": "@ember/object",
3364 "namespace": "",
3365 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
3366 "line": 22,
3367 "description": "## Overview\n\nThis mixin provides properties and property observing functionality, core\nfeatures of the Ember object model.\n\nProperties and observers allow one object to observe changes to a\nproperty on another object. This is one of the fundamental ways that\nmodels, controllers and views communicate with each other in an Ember\napplication.\n\nAny object that has this mixin applied can be used in observer\noperations. That includes `EmberObject` and most objects you will\ninteract with as you write your Ember application.\n\nNote that you will not generally apply this mixin to classes yourself,\nbut you will use the features provided by this module frequently, so it\nis important to understand how to use it.\n\n## Using `get()` and `set()`\n\nBecause of Ember's support for bindings and observers, you will always\naccess properties using the get method, and set properties using the\nset method. This allows the observing objects to be notified and\ncomputed properties to be handled properly.\n\nMore documentation about `get` and `set` are below.\n\n## Observing Property Changes\n\nYou typically observe property changes simply by using the `observer`\nfunction in classes that you write.\n\nFor example:\n\n```javascript\nimport { observer } from '@ember/object';\nimport EmberObject from '@ember/object';\n\nEmberObject.extend({\n valueObserver: observer('value', function(sender, key, value, rev) {\n // Executes whenever the \"value\" property changes\n // See the addObserver method for more information about the callback arguments\n })\n});\n```\n\nAlthough this is the most common way to add an observer, this capability\nis actually built into the `EmberObject` class on top of two methods\ndefined in this mixin: `addObserver` and `removeObserver`. You can use\nthese two methods to add and remove observers yourself if you need to\ndo so at runtime.\n\nTo add an observer for a property, call:\n\n```javascript\nobject.addObserver('propertyKey', targetObject, targetAction)\n```\n\nThis will call the `targetAction` method on the `targetObject` whenever\nthe value of the `propertyKey` changes.\n\nNote that if `propertyKey` is a computed property, the observer will be\ncalled when any of the property dependencies are changed, even if the\nresulting value of the computed property is unchanged. This is necessary\nbecause computed properties are not computed until `get` is called.",
3368 "access": "public",
3369 "tagname": ""
3370 },
3371 "PromiseProxyMixin": {
3372 "name": "PromiseProxyMixin",
3373 "shortname": "PromiseProxyMixin",
3374 "classitems": [],
3375 "plugins": [],
3376 "extensions": [],
3377 "plugin_for": [],
3378 "extension_for": [],
3379 "module": "@ember/object",
3380 "namespace": "",
3381 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
3382 "line": 37,
3383 "description": "A low level mixin making ObjectProxy promise-aware.\n\n```javascript\nimport { resolve } from 'rsvp';\nimport $ from 'jquery';\nimport ObjectProxy from '@ember/object/proxy';\nimport PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n\nlet ObjectPromiseProxy = ObjectProxy.extend(PromiseProxyMixin);\n\nlet proxy = ObjectPromiseProxy.create({\n promise: resolve($.getJSON('/some/remote/data.json'))\n});\n\nproxy.then(function(json){\n // the json\n}, function(reason) {\n // the reason why you have no json\n});\n```\n\nthe proxy has bindable attributes which\ntrack the promises life cycle\n\n```javascript\nproxy.get('isPending') //=> true\nproxy.get('isSettled') //=> false\nproxy.get('isRejected') //=> false\nproxy.get('isFulfilled') //=> false\n```\n\nWhen the $.getJSON completes, and the promise is fulfilled\nwith json, the life cycle attributes will update accordingly.\nNote that $.getJSON doesn't return an ECMA specified promise,\nit is useful to wrap this with an `RSVP.resolve` so that it behaves\nas a spec compliant promise.\n\n```javascript\nproxy.get('isPending') //=> false\nproxy.get('isSettled') //=> true\nproxy.get('isRejected') //=> false\nproxy.get('isFulfilled') //=> true\n```\n\nAs the proxy is an ObjectProxy, and the json now its content,\nall the json properties will be available directly from the proxy.\n\n```javascript\n// Assuming the following json:\n{\n firstName: 'Stefan',\n lastName: 'Penner'\n}\n\n// both properties will accessible on the proxy\nproxy.get('firstName') //=> 'Stefan'\nproxy.get('lastName') //=> 'Penner'\n```",
3384 "access": "public",
3385 "tagname": ""
3386 },
3387 "RegistryProxyMixin": {
3388 "name": "RegistryProxyMixin",
3389 "shortname": "RegistryProxyMixin",
3390 "classitems": [],
3391 "plugins": [],
3392 "extensions": [],
3393 "plugin_for": [],
3394 "extension_for": [
3395 "Application",
3396 "EngineInstance"
3397 ],
3398 "module": "ember",
3399 "namespace": "",
3400 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
3401 "line": 8,
3402 "description": "RegistryProxyMixin is used to provide public access to specific\nregistry functionality.",
3403 "access": "private",
3404 "tagname": ""
3405 },
3406 "Ember.TargetActionSupport": {
3407 "name": "Ember.TargetActionSupport",
3408 "shortname": "Ember.TargetActionSupport",
3409 "classitems": [],
3410 "plugins": [],
3411 "extensions": [],
3412 "plugin_for": [],
3413 "extension_for": [
3414 "Component",
3415 "Ember.TextSupport"
3416 ],
3417 "module": "ember",
3418 "namespace": "Ember",
3419 "file": "packages/@ember/-internals/runtime/lib/mixins/target_action_support.js",
3420 "line": 8,
3421 "description": "`Ember.TargetActionSupport` is a mixin that can be included in a class\nto add a `triggerAction` method with semantics similar to the Handlebars\n`{{action}}` helper. In normal Ember usage, the `{{action}}` helper is\nusually the best choice. This mixin is most often useful when you are\ndoing more complex event handling in Components.",
3422 "extends": "Mixin",
3423 "access": "private",
3424 "tagname": ""
3425 },
3426 "ArrayProxy": {
3427 "name": "ArrayProxy",
3428 "shortname": "ArrayProxy",
3429 "classitems": [],
3430 "plugins": [],
3431 "extensions": [],
3432 "plugin_for": [],
3433 "extension_for": [],
3434 "module": "@ember/array",
3435 "namespace": "",
3436 "file": "packages/@ember/-internals/runtime/lib/system/array_proxy.js",
3437 "line": 28,
3438 "description": "An ArrayProxy wraps any other object that implements `Array` and/or\n`MutableArray,` forwarding all requests. This makes it very useful for\na number of binding use cases or other cases where being able to swap\nout the underlying array is useful.\n\nA simple example of usage:\n\n```javascript\nimport { A } from '@ember/array';\nimport ArrayProxy from '@ember/array/proxy';\n\nlet pets = ['dog', 'cat', 'fish'];\nlet ap = ArrayProxy.create({ content: A(pets) });\n\nap.get('firstObject'); // 'dog'\nap.set('content', ['amoeba', 'paramecium']);\nap.get('firstObject'); // 'amoeba'\n```\n\nThis class can also be useful as a layer to transform the contents of\nan array, as they are accessed. This can be done by overriding\n`objectAtContent`:\n\n```javascript\nimport { A } from '@ember/array';\nimport ArrayProxy from '@ember/array/proxy';\n\nlet pets = ['dog', 'cat', 'fish'];\nlet ap = ArrayProxy.create({\n content: A(pets),\n objectAtContent: function(idx) {\n return this.get('content').objectAt(idx).toUpperCase();\n }\n});\n\nap.get('firstObject'); // . 'DOG'\n```\n\nWhen overriding this class, it is important to place the call to\n`_super` *after* setting `content` so the internal observers have\na chance to fire properly:\n\n```javascript\nimport { A } from '@ember/array';\nimport ArrayProxy from '@ember/array/proxy';\n\nexport default ArrayProxy.extend({\n init() {\n this.set('content', A(['dog', 'cat', 'fish']));\n this._super(...arguments);\n }\n});\n```",
3439 "extends": "EmberObject",
3440 "uses": [
3441 "MutableArray"
3442 ],
3443 "access": "public",
3444 "tagname": ""
3445 },
3446 "CoreObject": {
3447 "name": "CoreObject",
3448 "shortname": "CoreObject",
3449 "classitems": [],
3450 "plugins": [],
3451 "extensions": [],
3452 "plugin_for": [],
3453 "extension_for": [],
3454 "module": "@ember/object",
3455 "namespace": "",
3456 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
3457 "line": 145,
3458 "description": "`CoreObject` is the base class for all Ember constructs. It establishes a\nclass system based on Ember's Mixin system, and provides the basis for the\nEmber Object Model. `CoreObject` should generally not be used directly,\ninstead you should use `EmberObject`.\n\n## Usage\n\nYou can define a class by extending from `CoreObject` using the `extend`\nmethod:\n\n```js\nconst Person = CoreObject.extend({\n name: 'Tomster',\n});\n```\n\nFor detailed usage, see the [Object Model](https://guides.emberjs.com/release/object-model/)\nsection of the guides.\n\n## Usage with Native Classes\n\nNative JavaScript `class` syntax can be used to extend from any `CoreObject`\nbased class:\n\n```js\nclass Person extends CoreObject {\n init() {\n super.init(...arguments);\n this.name = 'Tomster';\n }\n}\n```\n\nSome notes about `class` usage:\n\n* `new` syntax is not currently supported with classes that extend from\n `EmberObject` or `CoreObject`. You must continue to use the `create` method\n when making new instances of classes, even if they are defined using native\n class syntax. If you want to use `new` syntax, consider creating classes\n which do _not_ extend from `EmberObject` or `CoreObject`. Ember features,\n such as computed properties and decorators, will still work with base-less\n classes.\n* Instead of using `this._super()`, you must use standard `super` syntax in\n native classes. See the [MDN docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Super_class_calls_with_super)\n for more details.\n* Native classes support using [constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Constructor)\n to set up newly-created instances. Ember uses these to, among other things,\n support features that need to retrieve other entities by name, like Service\n injection and `getOwner`. To ensure your custom instance setup logic takes\n place after this important work is done, avoid using the `constructor` in\n favor of `init`.\n* Properties passed to `create` will be available on the instance by the time\n `init` runs, so any code that requires these values should work at that\n time.\n* Using native classes, and switching back to the old Ember Object model is\n fully supported.",
3459 "access": "public",
3460 "tagname": ""
3461 },
3462 "Ember.Namespace": {
3463 "name": "Ember.Namespace",
3464 "shortname": "Ember.Namespace",
3465 "classitems": [],
3466 "plugins": [],
3467 "extensions": [],
3468 "plugin_for": [],
3469 "extension_for": [],
3470 "module": "ember",
3471 "namespace": "Ember",
3472 "file": "packages/@ember/-internals/runtime/lib/system/namespace.js",
3473 "line": 18,
3474 "description": "A Namespace is an object usually used to contain other objects or methods\nsuch as an application or framework. Create a namespace anytime you want\nto define one of these new containers.\n\n# Example Usage\n\n```javascript\nMyFramework = Ember.Namespace.create({\n VERSION: '1.0.0'\n});\n```",
3475 "extends": "EmberObject",
3476 "access": "public",
3477 "tagname": ""
3478 },
3479 "EmberObject": {
3480 "name": "EmberObject",
3481 "shortname": "EmberObject",
3482 "classitems": [],
3483 "plugins": [],
3484 "extensions": [],
3485 "plugin_for": [],
3486 "extension_for": [],
3487 "module": "@ember/object",
3488 "namespace": "",
3489 "file": "packages/@ember/-internals/runtime/lib/system/object.js",
3490 "line": 13,
3491 "description": "`EmberObject` is the main base class for all Ember objects. It is a subclass\nof `CoreObject` with the `Observable` mixin applied. For details,\nsee the documentation for each of these.",
3492 "extends": "CoreObject",
3493 "uses": [
3494 "Observable"
3495 ],
3496 "access": "public",
3497 "tagname": ""
3498 },
3499 "ObjectProxy": {
3500 "name": "ObjectProxy",
3501 "shortname": "ObjectProxy",
3502 "classitems": [],
3503 "plugins": [],
3504 "extensions": [],
3505 "plugin_for": [],
3506 "extension_for": [],
3507 "module": "@ember/object",
3508 "namespace": "",
3509 "file": "packages/@ember/-internals/runtime/lib/system/object_proxy.js",
3510 "line": 4,
3511 "description": "`ObjectProxy` forwards all properties not defined by the proxy itself\nto a proxied `content` object.\n\n```javascript\nimport EmberObject from '@ember/object';\nimport ObjectProxy from '@ember/object/proxy';\n\nlet exampleObject = EmberObject.create({\n name: 'Foo'\n});\n\nlet exampleProxy = ObjectProxy.create({\n content: exampleObject\n});\n\n// Access and change existing properties\nexampleProxy.get('name'); // 'Foo'\nexampleProxy.set('name', 'Bar');\nexampleObject.get('name'); // 'Bar'\n\n// Create new 'description' property on `exampleObject`\nexampleProxy.set('description', 'Foo is a whizboo baz');\nexampleObject.get('description'); // 'Foo is a whizboo baz'\n```\n\nWhile `content` is unset, setting a property to be delegated will throw an\nError.\n\n```javascript\nimport ObjectProxy from '@ember/object/proxy';\n\nlet exampleProxy = ObjectProxy.create({\n content: null,\n flag: null\n});\nexampleProxy.set('flag', true);\nexampleProxy.get('flag'); // true\nexampleProxy.get('foo'); // undefined\nexampleProxy.set('foo', 'data'); // throws Error\n```\n\nDelegated properties can be bound to and will change when content is updated.\n\nComputed properties on the proxy itself can depend on delegated properties.\n\n```javascript\nimport { computed } from '@ember/object';\nimport ObjectProxy from '@ember/object/proxy';\n\nProxyWithComputedProperty = ObjectProxy.extend({\n fullName: computed('firstName', 'lastName', function() {\n var firstName = this.get('firstName'),\n lastName = this.get('lastName');\n if (firstName && lastName) {\n return firstName + ' ' + lastName;\n }\n return firstName || lastName;\n })\n});\n\nlet exampleProxy = ProxyWithComputedProperty.create();\n\nexampleProxy.get('fullName'); // undefined\nexampleProxy.set('content', {\n firstName: 'Tom', lastName: 'Dale'\n}); // triggers property change for fullName on proxy\n\nexampleProxy.get('fullName'); // 'Tom Dale'\n```",
3512 "extends": "EmberObject",
3513 "uses": [
3514 "Ember.ProxyMixin"
3515 ],
3516 "access": "public",
3517 "tagname": ""
3518 },
3519 "@ember/object/internals": {
3520 "name": "@ember/object/internals",
3521 "shortname": "@ember/object/internals",
3522 "classitems": [],
3523 "plugins": [],
3524 "extensions": [],
3525 "plugin_for": [],
3526 "extension_for": [],
3527 "module": "@ember/object",
3528 "namespace": ""
3529 },
3530 "Ember.ActionSupport": {
3531 "name": "Ember.ActionSupport",
3532 "shortname": "Ember.ActionSupport",
3533 "classitems": [],
3534 "plugins": [],
3535 "extensions": [],
3536 "plugin_for": [],
3537 "extension_for": [
3538 "Component"
3539 ],
3540 "module": "ember",
3541 "namespace": "Ember",
3542 "file": "packages/@ember/-internals/views/lib/mixins/action_support.js",
3543 "line": 184,
3544 "access": "private",
3545 "tagname": ""
3546 },
3547 "Ember.ClassNamesSupport": {
3548 "name": "Ember.ClassNamesSupport",
3549 "shortname": "Ember.ClassNamesSupport",
3550 "classitems": [],
3551 "plugins": [],
3552 "extensions": [],
3553 "plugin_for": [],
3554 "extension_for": [
3555 "Component"
3556 ],
3557 "module": "ember",
3558 "namespace": "Ember",
3559 "file": "packages/@ember/-internals/views/lib/mixins/class_names_support.js",
3560 "line": 9,
3561 "access": "private",
3562 "tagname": ""
3563 },
3564 "Ember.TextSupport": {
3565 "name": "Ember.TextSupport",
3566 "shortname": "Ember.TextSupport",
3567 "classitems": [],
3568 "plugins": [],
3569 "extensions": [],
3570 "plugin_for": [],
3571 "extension_for": [
3572 "TextField",
3573 "TextArea"
3574 ],
3575 "module": "ember",
3576 "namespace": "Ember",
3577 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
3578 "line": 16,
3579 "description": "`TextSupport` is a shared mixin used by both `TextField` and\n`TextArea`. `TextSupport` adds a number of methods that allow you to\nspecify a controller action to invoke when a certain event is fired on your\ntext field or textarea. The specified controller action would get the current\nvalue of the field passed in as the only argument unless the value of\nthe field is empty. In that case, the instance of the field itself is passed\nin as the only argument.\n\nLet's use the pressing of the escape key as an example. If you wanted to\ninvoke a controller action when a user presses the escape key while on your\nfield, you would use the `escape-press` attribute on your field like so:\n\n```handlebars\n {{! application.hbs}}\n\n {{input escape-press='alertUser'}}\n```\n\n```javascript\n import Application from '@ember/application';\n import Controller from '@ember/controller';\n App = Application.create();\n\n App.ApplicationController = Controller.extend({\n actions: {\n alertUser: function ( currentValue ) {\n alert( 'escape pressed, current value: ' + currentValue );\n }\n }\n });\n```\n\nThe following chart is a visual representation of what takes place when the\nescape key is pressed in this scenario:\n\n```\nThe Template\n+---------------------------+\n| |\n| escape-press='alertUser' |\n| | TextSupport Mixin\n+----+----------------------+ +-------------------------------+\n | | cancel method |\n | escape button pressed | |\n +-------------------------------> | checks for the `escape-press` |\n | attribute and pulls out the |\n +-------------------------------+ | `alertUser` value |\n | action name 'alertUser' +-------------------------------+\n | sent to controller\n v\nController\n+------------------------------------------ +\n| |\n| actions: { |\n| alertUser: function( currentValue ){ |\n| alert( 'the esc key was pressed!' ) |\n| } |\n| } |\n| |\n+-------------------------------------------+\n```\n\nHere are the events that we currently support along with the name of the\nattribute you would need to use on your field. To reiterate, you would use the\nattribute name like so:\n\n```handlebars\n {{input attribute-name='controllerAction'}}\n```\n\n```\n+--------------------+----------------+\n| | |\n| event | attribute name |\n+--------------------+----------------+\n| new line inserted | insert-newline |\n| | |\n| enter key pressed | enter |\n| | |\n| cancel key pressed | escape-press |\n| | |\n| focusin | focus-in |\n| | |\n| focusout | focus-out |\n| | |\n| keypress | key-press |\n| | |\n| keyup | key-up |\n| | |\n| keydown | key-down |\n+--------------------+----------------+\n```",
3580 "uses": [
3581 "Ember.TargetActionSupport"
3582 ],
3583 "extends": "Mixin",
3584 "access": "private",
3585 "tagname": ""
3586 },
3587 "Ember.ViewMixin": {
3588 "name": "Ember.ViewMixin",
3589 "shortname": "Ember.ViewMixin",
3590 "classitems": [],
3591 "plugins": [],
3592 "extensions": [],
3593 "plugin_for": [],
3594 "extension_for": [
3595 "Component"
3596 ],
3597 "module": "ember",
3598 "namespace": "Ember",
3599 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
3600 "line": 459,
3601 "access": "private",
3602 "tagname": ""
3603 },
3604 "Ember.EventDispatcher": {
3605 "name": "Ember.EventDispatcher",
3606 "shortname": "Ember.EventDispatcher",
3607 "classitems": [],
3608 "plugins": [],
3609 "extensions": [],
3610 "plugin_for": [],
3611 "extension_for": [],
3612 "module": "ember",
3613 "namespace": "Ember",
3614 "file": "packages/@ember/-internals/views/lib/system/event_dispatcher.js",
3615 "line": 25,
3616 "description": "`Ember.EventDispatcher` handles delegating browser events to their\ncorresponding `Ember.Views.` For example, when you click on a view,\n`Ember.EventDispatcher` ensures that that view's `mouseDown` method gets\ncalled.",
3617 "access": "private",
3618 "tagname": "",
3619 "extends": "Ember.Object"
3620 },
3621 "Ember.CoreView": {
3622 "name": "Ember.CoreView",
3623 "shortname": "Ember.CoreView",
3624 "classitems": [],
3625 "plugins": [],
3626 "extensions": [],
3627 "plugin_for": [],
3628 "extension_for": [],
3629 "module": "ember",
3630 "namespace": "Ember",
3631 "file": "packages/@ember/-internals/views/lib/views/core_view.js",
3632 "line": 4,
3633 "description": "`Ember.CoreView` is an abstract class that exists to give view-like behavior\nto both Ember's main view class `Component` and other classes that don't need\nthe full functionality of `Component`.\n\nUnless you have specific needs for `CoreView`, you will use `Component`\nin your applications.",
3634 "extends": "EmberObject",
3635 "deprecated": true,
3636 "deprecationMessage": "Use `Component` instead.",
3637 "uses": [
3638 "Evented",
3639 "Ember.ActionHandler"
3640 ],
3641 "access": "private",
3642 "tagname": ""
3643 },
3644 "Application": {
3645 "name": "Application",
3646 "shortname": "Application",
3647 "classitems": [],
3648 "plugins": [],
3649 "extensions": [],
3650 "plugin_for": [],
3651 "extension_for": [],
3652 "module": "@ember/application",
3653 "namespace": "",
3654 "file": "packages/@ember/application/lib/application.js",
3655 "line": 37,
3656 "description": "An instance of `Application` is the starting point for every Ember\napplication. It instantiates, initializes and coordinates the\nobjects that make up your app.\n\nEach Ember app has one and only one `Application` object. Although\nEmber CLI creates this object implicitly, the `Application` class\nis defined in the `app/app.js`. You can define a `ready` method on the\n`Application` class, which will be run by Ember when the application is\ninitialized.\n\n```app/app.js\nconst App = Application.extend({\n ready() {\n // your code here\n }\n})\n```\n\nBecause `Application` ultimately inherits from `Ember.Namespace`, any classes\nyou create will have useful string representations when calling `toString()`.\nSee the `Ember.Namespace` documentation for more information.\n\nWhile you can think of your `Application` as a container that holds the\nother classes in your application, there are several other responsibilities\ngoing on under-the-hood that you may want to understand. It is also important\nto understand that an `Application` is different from an `ApplicationInstance`.\nRefer to the Guides to understand the difference between these.\n\n### Event Delegation\n\nEmber uses a technique called _event delegation_. This allows the framework\nto set up a global, shared event listener instead of requiring each view to\ndo it manually. For example, instead of each view registering its own\n`mousedown` listener on its associated element, Ember sets up a `mousedown`\nlistener on the `body`.\n\nIf a `mousedown` event occurs, Ember will look at the target of the event and\nstart walking up the DOM node tree, finding corresponding views and invoking\ntheir `mouseDown` method as it goes.\n\n`Application` has a number of default events that it listens for, as\nwell as a mapping from lowercase events to camel-cased view method names. For\nexample, the `keypress` event causes the `keyPress` method on the view to be\ncalled, the `dblclick` event causes `doubleClick` to be called, and so on.\n\nIf there is a bubbling browser event that Ember does not listen for by\ndefault, you can specify custom events and their corresponding view method\nnames by setting the application's `customEvents` property:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n customEvents: {\n // add support for the paste event\n paste: 'paste'\n }\n});\n```\n\nTo prevent Ember from setting up a listener for a default event,\nspecify the event name with a `null` value in the `customEvents`\nproperty:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n customEvents: {\n // prevent listeners for mouseenter/mouseleave events\n mouseenter: null,\n mouseleave: null\n }\n});\n```\n\nBy default, the application sets up these event listeners on the document\nbody. However, in cases where you are embedding an Ember application inside\nan existing page, you may want it to set up the listeners on an element\ninside the body.\n\nFor example, if only events inside a DOM element with the ID of `ember-app`\nshould be delegated, set your application's `rootElement` property:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n rootElement: '#ember-app'\n});\n```\n\nThe `rootElement` can be either a DOM element or a jQuery-compatible selector\nstring. Note that *views appended to the DOM outside the root element will\nnot receive events.* If you specify a custom root element, make sure you only\nappend views inside it!\n\nTo learn more about the events Ember components use, see\n\n[components/handling-events](https://guides.emberjs.com/release/components/handling-events/#toc_event-names).\n\n### Initializers\n\nTo add behavior to the Application's boot process, you can define initializers in\nthe `app/initializers` directory, or with `ember generate initializer` using Ember CLI.\nThese files should export a named `initialize` function which will receive the created `application`\nobject as its first argument.\n\n```javascript\nexport function initialize(application) {\n // application.inject('route', 'foo', 'service:foo');\n}\n```\n\nApplication initializers can be used for a variety of reasons including:\n\n- setting up external libraries\n- injecting dependencies\n- setting up event listeners in embedded apps\n- deferring the boot process using the `deferReadiness` and `advanceReadiness` APIs.\n\n### Routing\n\nIn addition to creating your application's router, `Application` is\nalso responsible for telling the router when to start routing. Transitions\nbetween routes can be logged with the `LOG_TRANSITIONS` flag, and more\ndetailed intra-transition logging can be logged with\nthe `LOG_TRANSITIONS_INTERNAL` flag:\n\n```javascript\nimport Application from '@ember/application';\n\nlet App = Application.create({\n LOG_TRANSITIONS: true, // basic logging of successful transitions\n LOG_TRANSITIONS_INTERNAL: true // detailed logging of all routing steps\n});\n```\n\nBy default, the router will begin trying to translate the current URL into\napplication state once the browser emits the `DOMContentReady` event. If you\nneed to defer routing, you can call the application's `deferReadiness()`\nmethod. Once routing can begin, call the `advanceReadiness()` method.\n\nIf there is any setup required before routing begins, you can implement a\n`ready()` method on your app that will be invoked immediately before routing\nbegins.",
3657 "extends": "Engine",
3658 "uses": [
3659 "RegistryProxyMixin"
3660 ],
3661 "access": "public",
3662 "tagname": ""
3663 },
3664 "GlobalsResolver": {
3665 "name": "GlobalsResolver",
3666 "shortname": "GlobalsResolver",
3667 "classitems": [],
3668 "plugins": [],
3669 "extensions": [],
3670 "plugin_for": [],
3671 "extension_for": [],
3672 "module": "@ember/application",
3673 "namespace": "",
3674 "file": "packages/@ember/application/globals-resolver.js",
3675 "line": 14,
3676 "description": "The DefaultResolver defines the default lookup rules to resolve\ncontainer lookups before consulting the container for registered\nitems:\n\n* templates are looked up on `Ember.TEMPLATES`\n* other names are looked up on the application after converting\n the name. For example, `controller:post` looks up\n `App.PostController` by default.\n* there are some nuances (see examples below)\n\n### How Resolving Works\n\nThe container calls this object's `resolve` method with the\n`fullName` argument.\n\nIt first parses the fullName into an object using `parseName`.\n\nThen it checks for the presence of a type-specific instance\nmethod of the form `resolve[Type]` and calls it if it exists.\nFor example if it was resolving 'template:post', it would call\nthe `resolveTemplate` method.\n\nIts last resort is to call the `resolveOther` method.\n\nThe methods of this object are designed to be easy to override\nin a subclass. For example, you could enhance how a template\nis resolved like so:\n\n```app/app.js\nimport Application from '@ember/application';\nimport GlobalsResolver from '@ember/application/globals-resolver';\n\nApp = Application.create({\n Resolver: GlobalsResolver.extend({\n resolveTemplate(parsedName) {\n let resolvedTemplate = this._super(parsedName);\n if (resolvedTemplate) { return resolvedTemplate; }\n\n return Ember.TEMPLATES['not_found'];\n }\n })\n});\n```\n\nSome examples of how names are resolved:\n\n```text\n'template:post' //=> Ember.TEMPLATES['post']\n'template:posts/byline' //=> Ember.TEMPLATES['posts/byline']\n'template:posts.byline' //=> Ember.TEMPLATES['posts/byline']\n'template:blogPost' //=> Ember.TEMPLATES['blog-post']\n'controller:post' //=> App.PostController\n'controller:posts.index' //=> App.PostsIndexController\n'controller:blog/post' //=> Blog.PostController\n'controller:basic' //=> Controller\n'route:post' //=> App.PostRoute\n'route:posts.index' //=> App.PostsIndexRoute\n'route:blog/post' //=> Blog.PostRoute\n'route:basic' //=> Route\n'foo:post' //=> App.PostFoo\n'model:post' //=> App.Post\n```",
3677 "extends": "EmberObject",
3678 "access": "public",
3679 "tagname": "",
3680 "deprecated": true
3681 },
3682 "ApplicationInstance": {
3683 "name": "ApplicationInstance",
3684 "shortname": "ApplicationInstance",
3685 "classitems": [],
3686 "plugins": [],
3687 "extensions": [],
3688 "plugin_for": [],
3689 "extension_for": [],
3690 "module": "@ember/application",
3691 "namespace": "",
3692 "file": "packages/@ember/application/instance.js",
3693 "line": 12,
3694 "description": "The `ApplicationInstance` encapsulates all of the stateful aspects of a\nrunning `Application`.\n\nAt a high-level, we break application boot into two distinct phases:\n\n* Definition time, where all of the classes, templates, and other\n dependencies are loaded (typically in the browser).\n* Run time, where we begin executing the application once everything\n has loaded.\n\nDefinition time can be expensive and only needs to happen once since it is\nan idempotent operation. For example, between test runs and FastBoot\nrequests, the application stays the same. It is only the state that we want\nto reset.\n\nThat state is what the `ApplicationInstance` manages: it is responsible for\ncreating the container that contains all application state, and disposing of\nit once the particular test run or FastBoot request has finished.",
3695 "access": "public",
3696 "tagname": "",
3697 "extends": "EngineInstance"
3698 },
3699 "ApplicationInstance.BootOptions": {
3700 "name": "ApplicationInstance.BootOptions",
3701 "shortname": "ApplicationInstance.BootOptions",
3702 "classitems": [],
3703 "plugins": [],
3704 "extensions": [],
3705 "plugin_for": [],
3706 "extension_for": [],
3707 "module": "@ember/application",
3708 "namespace": "ApplicationInstance",
3709 "file": "packages/@ember/application/instance.js",
3710 "line": 314,
3711 "description": "A list of boot-time configuration options for customizing the behavior of\nan `ApplicationInstance`.\n\nThis is an interface class that exists purely to document the available\noptions; you do not need to construct it manually. Simply pass a regular\nJavaScript object containing the desired options into methods that require\none of these options object:\n\n```javascript\nMyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n```\n\nNot all combinations of the supported options are valid. See the documentation\non `Application#visit` for the supported configurations.\n\nInternal, experimental or otherwise unstable flags are marked as private.",
3712 "access": "public",
3713 "tagname": ""
3714 },
3715 "FEATURES": {
3716 "name": "FEATURES",
3717 "shortname": "FEATURES",
3718 "classitems": [],
3719 "plugins": [],
3720 "extensions": [],
3721 "plugin_for": [],
3722 "extension_for": [],
3723 "module": "@ember/canary-features",
3724 "namespace": "",
3725 "file": "packages/@ember/canary-features/index.ts",
3726 "line": 27,
3727 "description": "The hash of enabled Canary features. Add to this, any canary features\nbefore creating your application.",
3728 "static": 1,
3729 "since": "1.1.0",
3730 "access": "public",
3731 "tagname": ""
3732 },
3733 "Controller": {
3734 "name": "Controller",
3735 "shortname": "Controller",
3736 "classitems": [],
3737 "plugins": [],
3738 "extensions": [],
3739 "plugin_for": [],
3740 "extension_for": [],
3741 "module": "@ember/controller",
3742 "namespace": "",
3743 "file": "packages/@ember/controller/index.js",
3744 "line": 9,
3745 "extends": "EmberObject",
3746 "uses": [
3747 "Ember.ControllerMixin"
3748 ],
3749 "access": "public",
3750 "tagname": ""
3751 },
3752 "@ember/controller": {
3753 "name": "@ember/controller",
3754 "shortname": "@ember/controller",
3755 "classitems": [],
3756 "plugins": [],
3757 "extensions": [],
3758 "plugin_for": [],
3759 "extension_for": [],
3760 "module": "@ember/controller",
3761 "namespace": ""
3762 },
3763 "@ember/engine": {
3764 "name": "@ember/engine",
3765 "shortname": "@ember/engine",
3766 "classitems": [],
3767 "plugins": [],
3768 "extensions": [],
3769 "plugin_for": [],
3770 "extension_for": [],
3771 "module": "@ember/engine",
3772 "namespace": ""
3773 },
3774 "Engine": {
3775 "name": "Engine",
3776 "shortname": "Engine",
3777 "classitems": [],
3778 "plugins": [],
3779 "extensions": [],
3780 "plugin_for": [],
3781 "extension_for": [],
3782 "module": "@ember/engine",
3783 "namespace": "",
3784 "file": "packages/@ember/engine/index.js",
3785 "line": 31,
3786 "description": "The `Engine` class contains core functionality for both applications and\nengines.\n\nEach engine manages a registry that's used for dependency injection and\nexposed through `RegistryProxy`.\n\nEngines also manage initializers and instance initializers.\n\nEngines can spawn `EngineInstance` instances via `buildInstance()`.",
3787 "extends": "Ember.Namespace",
3788 "uses": [
3789 "RegistryProxy"
3790 ],
3791 "access": "public",
3792 "tagname": ""
3793 },
3794 "EngineInstance": {
3795 "name": "EngineInstance",
3796 "shortname": "EngineInstance",
3797 "classitems": [],
3798 "plugins": [],
3799 "extensions": [],
3800 "plugin_for": [],
3801 "extension_for": [],
3802 "module": "@ember/engine",
3803 "namespace": "",
3804 "file": "packages/@ember/engine/instance.js",
3805 "line": 17,
3806 "description": "The `EngineInstance` encapsulates all of the stateful aspects of a\nrunning `Engine`.",
3807 "access": "public",
3808 "tagname": "",
3809 "extends": "EmberObject",
3810 "uses": [
3811 "RegistryProxyMixin",
3812 "ContainerProxyMixin"
3813 ]
3814 },
3815 "Ember.Error": {
3816 "name": "Ember.Error",
3817 "shortname": "Ember.Error",
3818 "classitems": [],
3819 "plugins": [],
3820 "extensions": [],
3821 "plugin_for": [],
3822 "extension_for": [],
3823 "module": "@ember/error",
3824 "namespace": "Ember",
3825 "file": "packages/@ember/error/index.ts",
3826 "line": 5,
3827 "description": "The JavaScript Error object used by Ember.assert.",
3828 "extends": "Error",
3829 "is_constructor": 1,
3830 "access": "public",
3831 "tagname": ""
3832 },
3833 "Instrumentation": {
3834 "name": "Instrumentation",
3835 "shortname": "Instrumentation",
3836 "classitems": [],
3837 "plugins": [],
3838 "extensions": [],
3839 "plugin_for": [],
3840 "extension_for": [],
3841 "module": "@ember/instrumentation",
3842 "namespace": "",
3843 "file": "packages/@ember/instrumentation/index.ts",
3844 "line": 39,
3845 "description": "The purpose of the Ember Instrumentation module is\nto provide efficient, general-purpose instrumentation\nfor Ember.\n\nSubscribe to a listener by using `subscribe`:\n\n```javascript\nimport { subscribe } from '@ember/instrumentation';\n\nsubscribe(\"render\", {\n before(name, timestamp, payload) {\n\n },\n\n after(name, timestamp, payload) {\n\n }\n});\n```\n\nIf you return a value from the `before` callback, that same\nvalue will be passed as a fourth parameter to the `after`\ncallback.\n\nInstrument a block of code by using `instrument`:\n\n```javascript\nimport { instrument } from '@ember/instrumentation';\n\ninstrument(\"render.handlebars\", payload, function() {\n // rendering logic\n}, binding);\n```\n\nEvent names passed to `instrument` are namespaced\nby periods, from more general to more specific. Subscribers\ncan listen for events by whatever level of granularity they\nare interested in.\n\nIn the above example, the event is `render.handlebars`,\nand the subscriber listened for all events beginning with\n`render`. It would receive callbacks for events named\n`render`, `render.handlebars`, `render.container`, or\neven `render.handlebars.layout`.",
3846 "static": 1,
3847 "access": "private",
3848 "tagname": ""
3849 },
3850 "@ember/instrumentation": {
3851 "name": "@ember/instrumentation",
3852 "shortname": "@ember/instrumentation",
3853 "classitems": [],
3854 "plugins": [],
3855 "extensions": [],
3856 "plugin_for": [],
3857 "extension_for": [],
3858 "module": "@ember/instrumentation",
3859 "namespace": ""
3860 },
3861 "@ember/object/compat": {
3862 "name": "@ember/object/compat",
3863 "shortname": "@ember/object/compat",
3864 "classitems": [],
3865 "plugins": [],
3866 "extensions": [],
3867 "plugin_for": [],
3868 "extension_for": [],
3869 "module": "@ember/object",
3870 "namespace": ""
3871 },
3872 "@ember/polyfills": {
3873 "name": "@ember/polyfills",
3874 "shortname": "@ember/polyfills",
3875 "classitems": [],
3876 "plugins": [],
3877 "extensions": [],
3878 "plugin_for": [],
3879 "extension_for": [],
3880 "module": "@ember/polyfills",
3881 "namespace": ""
3882 },
3883 "@ember/runloop": {
3884 "name": "@ember/runloop",
3885 "shortname": "@ember/runloop",
3886 "classitems": [],
3887 "plugins": [],
3888 "extensions": [],
3889 "plugin_for": [],
3890 "extension_for": [],
3891 "module": "@ember/runloop",
3892 "namespace": ""
3893 },
3894 "@ember/service": {
3895 "name": "@ember/service",
3896 "shortname": "@ember/service",
3897 "classitems": [],
3898 "plugins": [],
3899 "extensions": [],
3900 "plugin_for": [],
3901 "extension_for": [],
3902 "module": "@ember/service",
3903 "namespace": ""
3904 },
3905 "Service": {
3906 "name": "Service",
3907 "shortname": "Service",
3908 "classitems": [],
3909 "plugins": [],
3910 "extensions": [],
3911 "plugin_for": [],
3912 "extension_for": [],
3913 "module": "@ember/service",
3914 "namespace": "",
3915 "file": "packages/@ember/service/index.js",
3916 "line": 60,
3917 "extends": "EmberObject",
3918 "since": "1.10.0",
3919 "access": "public",
3920 "tagname": ""
3921 },
3922 "String": {
3923 "name": "String",
3924 "shortname": "String",
3925 "classitems": [],
3926 "plugins": [],
3927 "extensions": [],
3928 "plugin_for": [],
3929 "extension_for": [],
3930 "module": "@ember/string",
3931 "namespace": "",
3932 "file": "packages/@ember/string/index.ts",
3933 "line": 68,
3934 "description": "Defines string helper methods including string formatting and localization.\nUnless `EmberENV.EXTEND_PROTOTYPES.String` is `false` these methods will also be\nadded to the `String.prototype` as well.",
3935 "access": "public",
3936 "tagname": ""
3937 },
3938 "@ember/string": {
3939 "name": "@ember/string",
3940 "shortname": "@ember/string",
3941 "classitems": [],
3942 "plugins": [],
3943 "extensions": [],
3944 "plugin_for": [],
3945 "extension_for": [],
3946 "module": "@ember/string",
3947 "namespace": ""
3948 },
3949 "TestAdapter": {
3950 "name": "TestAdapter",
3951 "shortname": "TestAdapter",
3952 "classitems": [],
3953 "plugins": [],
3954 "extensions": [],
3955 "plugin_for": [],
3956 "extension_for": [],
3957 "module": "@ember/test",
3958 "namespace": "",
3959 "file": "packages/ember-testing/lib/adapters/adapter.js",
3960 "line": 11,
3961 "description": "The primary purpose of this class is to create hooks that can be implemented\nby an adapter for various test frameworks.",
3962 "access": "public",
3963 "tagname": ""
3964 },
3965 "Ember.Test.QUnitAdapter": {
3966 "name": "Ember.Test.QUnitAdapter",
3967 "shortname": "Ember.Test.QUnitAdapter",
3968 "classitems": [],
3969 "plugins": [],
3970 "extensions": [],
3971 "plugin_for": [],
3972 "extension_for": [],
3973 "module": "ember",
3974 "namespace": "Ember.Test",
3975 "file": "packages/ember-testing/lib/adapters/qunit.js",
3976 "line": 8,
3977 "description": "This class implements the methods defined by TestAdapter for the\nQUnit testing framework.",
3978 "extends": "TestAdapter",
3979 "access": "public",
3980 "tagname": ""
3981 },
3982 "@ember/test": {
3983 "name": "@ember/test",
3984 "shortname": "@ember/test",
3985 "classitems": [],
3986 "plugins": [],
3987 "extensions": [],
3988 "plugin_for": [],
3989 "extension_for": [],
3990 "module": "@ember/test",
3991 "namespace": ""
3992 },
3993 "Ember.Test": {
3994 "name": "Ember.Test",
3995 "shortname": "Ember.Test",
3996 "classitems": [],
3997 "plugins": [],
3998 "extensions": [],
3999 "plugin_for": [],
4000 "extension_for": [],
4001 "module": "ember",
4002 "namespace": "Ember",
4003 "file": "packages/ember-testing/lib/test.js",
4004 "line": 11,
4005 "description": "This is a container for an assortment of testing related functionality:\n\n* Choose your default test adapter (for your framework of choice).\n* Register/Unregister additional test helpers.\n* Setup callbacks to be fired when the test helpers are injected into\n your application.",
4006 "access": "public",
4007 "tagname": ""
4008 }
4009 },
4010 "elements": {},
4011 "classitems": [
4012 {
4013 "file": "node_modules/rsvp/lib/rsvp/promise/all.js",
4014 "line": 3,
4015 "description": "`Promise.all` accepts an array of promises, and returns a new promise which\nis fulfilled with an array of fulfillment values for the passed promises, or\nrejected with the reason of the first passed promise to be rejected. It casts all\nelements of the passed iterable to promises as it runs this algorithm.\n\nExample:\n\n```javascript\nimport Promise, { resolve } from 'rsvp';\n\nlet promise1 = resolve(1);\nlet promise2 = resolve(2);\nlet promise3 = resolve(3);\nlet promises = [ promise1, promise2, promise3 ];\n\nPromise.all(promises).then(function(array){\n // The array here would be [ 1, 2, 3 ];\n});\n```\n\nIf any of the `promises` given to `RSVP.all` are rejected, the first promise\nthat is rejected will be given as an argument to the returned promises's\nrejection handler. For example:\n\nExample:\n\n```javascript\nimport Promise, { resolve, reject } from 'rsvp';\n\nlet promise1 = resolve(1);\nlet promise2 = reject(new Error(\"2\"));\nlet promise3 = reject(new Error(\"3\"));\nlet promises = [ promise1, promise2, promise3 ];\n\nPromise.all(promises).then(function(array){\n // Code here never runs because there are rejected promises!\n}, function(error) {\n // error.message === \"2\"\n});\n```",
4016 "itemtype": "method",
4017 "name": "all",
4018 "params": [
4019 {
4020 "name": "entries",
4021 "description": "array of promises",
4022 "type": "Array"
4023 },
4024 {
4025 "name": "label",
4026 "description": "optional string for labeling the promise.\nUseful for tooling.",
4027 "type": "String",
4028 "optional": true
4029 }
4030 ],
4031 "return": {
4032 "description": "promise that is fulfilled when all `promises` have been\nfulfilled, or rejected if any of them become rejected.",
4033 "type": "Promise"
4034 },
4035 "static": 1,
4036 "class": "Promise"
4037 },
4038 {
4039 "file": "node_modules/rsvp/lib/rsvp/promise/race.js",
4040 "line": 9,
4041 "description": "`Promise.race` returns a new promise which is settled in the same way as the\nfirst passed promise to settle.\n\nExample:\n\n```javascript\nimport Promise from 'rsvp';\n\nlet promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n});\n\nlet promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 2');\n }, 100);\n});\n\nPromise.race([promise1, promise2]).then(function(result){\n // result === 'promise 2' because it was resolved before promise1\n // was resolved.\n});\n```\n\n`Promise.race` is deterministic in that only the state of the first\nsettled promise matters. For example, even if other promises given to the\n`promises` array argument are resolved, but the first settled promise has\nbecome rejected before the other promises became fulfilled, the returned\npromise will become rejected:\n\n```javascript\nimport Promise from 'rsvp';\n\nlet promise1 = new Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n});\n\nlet promise2 = new Promise(function(resolve, reject){\n setTimeout(function(){\n reject(new Error('promise 2'));\n }, 100);\n});\n\nPromise.race([promise1, promise2]).then(function(result){\n // Code here never runs\n}, function(reason){\n // reason.message === 'promise 2' because promise 2 became rejected before\n // promise 1 became fulfilled\n});\n```\n\nAn example real-world use case is implementing timeouts:\n\n```javascript\nimport Promise from 'rsvp';\n\nPromise.race([ajax('foo.json'), timeout(5000)])\n```",
4042 "itemtype": "method",
4043 "name": "race",
4044 "static": 1,
4045 "params": [
4046 {
4047 "name": "entries",
4048 "description": "array of promises to observe",
4049 "type": "Array"
4050 },
4051 {
4052 "name": "label",
4053 "description": "optional string for describing the promise returned.\nUseful for tooling.",
4054 "type": "String",
4055 "optional": true
4056 }
4057 ],
4058 "return": {
4059 "description": "a promise which settles in the same way as the first passed\npromise to settle.",
4060 "type": "Promise"
4061 },
4062 "class": "Promise"
4063 },
4064 {
4065 "file": "node_modules/rsvp/lib/rsvp/promise/reject.js",
4066 "line": 6,
4067 "description": "`Promise.reject` returns a promise rejected with the passed `reason`.\nIt is shorthand for the following:\n\n```javascript\nimport Promise from 'rsvp';\n\nlet promise = new Promise(function(resolve, reject){\n reject(new Error('WHOOPS'));\n});\n\npromise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n}, function(reason){\n // reason.message === 'WHOOPS'\n});\n```\n\nInstead of writing the above, your code now simply becomes the following:\n\n```javascript\nimport Promise from 'rsvp';\n\nlet promise = Promise.reject(new Error('WHOOPS'));\n\npromise.then(function(value){\n // Code here doesn't run because the promise is rejected!\n}, function(reason){\n // reason.message === 'WHOOPS'\n});\n```",
4068 "itemtype": "method",
4069 "name": "reject",
4070 "static": 1,
4071 "params": [
4072 {
4073 "name": "reason",
4074 "description": "value that the returned promise will be rejected with.",
4075 "type": "*"
4076 },
4077 {
4078 "name": "label",
4079 "description": "optional string for identifying the returned promise.\nUseful for tooling.",
4080 "type": "String",
4081 "optional": true
4082 }
4083 ],
4084 "return": {
4085 "description": "a promise rejected with the given `reason`.",
4086 "type": "Promise"
4087 },
4088 "class": "Promise"
4089 },
4090 {
4091 "file": "node_modules/rsvp/lib/rsvp/promise/resolve.js",
4092 "line": 6,
4093 "description": "`Promise.resolve` returns a promise that will become resolved with the\npassed `value`. It is shorthand for the following:\n\n```javascript\nimport Promise from 'rsvp';\n\nlet promise = new Promise(function(resolve, reject){\n resolve(1);\n});\n\npromise.then(function(value){\n // value === 1\n});\n```\n\nInstead of writing the above, your code now simply becomes the following:\n\n```javascript\nimport Promise from 'rsvp';\n\nlet promise = RSVP.Promise.resolve(1);\n\npromise.then(function(value){\n // value === 1\n});\n```",
4094 "itemtype": "method",
4095 "name": "resolve",
4096 "static": 1,
4097 "params": [
4098 {
4099 "name": "object",
4100 "description": "value that the returned promise will be resolved with",
4101 "type": "*"
4102 },
4103 {
4104 "name": "label",
4105 "description": "optional string for identifying the returned promise.\nUseful for tooling.",
4106 "type": "String",
4107 "optional": true
4108 }
4109 ],
4110 "return": {
4111 "description": "a promise that will become fulfilled with the given\n`value`",
4112 "type": "Promise"
4113 },
4114 "class": "Promise"
4115 },
4116 {
4117 "file": "node_modules/rsvp/lib/rsvp/all-settled.js",
4118 "line": 20,
4119 "description": "`RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\na fail-fast method, it waits until all the promises have returned and\nshows you all the results. This is useful if you want to handle multiple\npromises' failure states together as a set.\n\nReturns a promise that is fulfilled when all the given promises have been\nsettled. The return promise is fulfilled with an array of the states of\nthe promises passed into the `promises` array argument.\n\nEach state object will either indicate fulfillment or rejection, and\nprovide the corresponding value or reason. The states will take one of\nthe following formats:\n\n```javascript\n{ state: 'fulfilled', value: value }\n or\n{ state: 'rejected', reason: reason }\n```\n\nExample:\n\n```javascript\nlet promise1 = RSVP.Promise.resolve(1);\nlet promise2 = RSVP.Promise.reject(new Error('2'));\nlet promise3 = RSVP.Promise.reject(new Error('3'));\nlet promises = [ promise1, promise2, promise3 ];\n\nRSVP.allSettled(promises).then(function(array){\n // array == [\n // { state: 'fulfilled', value: 1 },\n // { state: 'rejected', reason: Error },\n // { state: 'rejected', reason: Error }\n // ]\n // Note that for the second item, reason.message will be '2', and for the\n // third item, reason.message will be '3'.\n}, function(error) {\n // Not run. (This block would only be called if allSettled had failed,\n // for instance if passed an incorrect argument type.)\n});\n```",
4120 "itemtype": "method",
4121 "name": "allSettled",
4122 "access": "public",
4123 "tagname": "",
4124 "static": 1,
4125 "params": [
4126 {
4127 "name": "entries",
4128 "description": "",
4129 "type": "Array"
4130 },
4131 {
4132 "name": "label",
4133 "description": "- optional string that describes the promise.\nUseful for tooling.",
4134 "type": "String",
4135 "optional": true
4136 }
4137 ],
4138 "return": {
4139 "description": "promise that is fulfilled with an array of the settled\nstates of the constituent promises.",
4140 "type": "Promise"
4141 },
4142 "class": "rsvp",
4143 "module": "rsvp"
4144 },
4145 {
4146 "file": "node_modules/rsvp/lib/rsvp/all.js",
4147 "line": 3,
4148 "description": "This is a convenient alias for `Promise.all`.",
4149 "itemtype": "method",
4150 "name": "all",
4151 "access": "public",
4152 "tagname": "",
4153 "static": 1,
4154 "params": [
4155 {
4156 "name": "array",
4157 "description": "Array of promises.",
4158 "type": "Array"
4159 },
4160 {
4161 "name": "label",
4162 "description": "An optional label. This is useful\nfor tooling.",
4163 "type": "String",
4164 "optional": true
4165 }
4166 ],
4167 "class": "rsvp",
4168 "module": "rsvp"
4169 },
4170 {
4171 "file": "node_modules/rsvp/lib/rsvp/defer.js",
4172 "line": 3,
4173 "description": "`defer` returns an object similar to jQuery's `$.Deferred`.\n`defer` should be used when porting over code reliant on `$.Deferred`'s\ninterface. New code should use the `Promise` constructor instead.\n\nThe object returned from `defer` is a plain object with three properties:\n\n* promise - an `Promise`.\n* reject - a function that causes the `promise` property on this object to\n become rejected\n* resolve - a function that causes the `promise` property on this object to\n become fulfilled.\n\nExample:\n\n ```javascript\n let deferred = defer();\n\n deferred.resolve(\"Success!\");\n\n deferred.promise.then(function(value){\n // value here is \"Success!\"\n });\n ```",
4174 "itemtype": "method",
4175 "name": "defer",
4176 "access": "public",
4177 "tagname": "",
4178 "static": 1,
4179 "params": [
4180 {
4181 "name": "label",
4182 "description": "optional string for labeling the promise.\nUseful for tooling.",
4183 "type": "String",
4184 "optional": true
4185 }
4186 ],
4187 "return": {
4188 "description": "",
4189 "type": "Object"
4190 },
4191 "class": "rsvp",
4192 "module": "rsvp"
4193 },
4194 {
4195 "file": "node_modules/rsvp/lib/rsvp/events.js",
4196 "line": 19,
4197 "description": "`EventTarget.mixin` extends an object with EventTarget methods. For\nExample:\n\n```javascript\nimport EventTarget from 'rsvp';\n\nlet object = {};\n\nEventTarget.mixin(object);\n\nobject.on('finished', function(event) {\n // handle event\n});\n\nobject.trigger('finished', { detail: value });\n```\n\n`EventTarget.mixin` also works with prototypes:\n\n```javascript\nimport EventTarget from 'rsvp';\n\nlet Person = function() {};\nEventTarget.mixin(Person.prototype);\n\nlet yehuda = new Person();\nlet tom = new Person();\n\nyehuda.on('poke', function(event) {\n console.log('Yehuda says OW');\n});\n\ntom.on('poke', function(event) {\n console.log('Tom says OW');\n});\n\nyehuda.trigger('poke');\ntom.trigger('poke');\n```",
4198 "itemtype": "method",
4199 "name": "mixin",
4200 "access": "private",
4201 "tagname": "",
4202 "params": [
4203 {
4204 "name": "object",
4205 "description": "object to extend with EventTarget methods",
4206 "type": "Object"
4207 }
4208 ],
4209 "class": "rsvp",
4210 "module": "rsvp"
4211 },
4212 {
4213 "file": "node_modules/rsvp/lib/rsvp/events.js",
4214 "line": 73,
4215 "description": "Registers a callback to be executed when `eventName` is triggered\n\n```javascript\nobject.on('event', function(eventInfo){\n // handle the event\n});\n\nobject.trigger('event');\n```",
4216 "itemtype": "method",
4217 "name": "on",
4218 "access": "private",
4219 "tagname": "",
4220 "params": [
4221 {
4222 "name": "eventName",
4223 "description": "name of the event to listen for",
4224 "type": "String"
4225 },
4226 {
4227 "name": "callback",
4228 "description": "function to be called when the event is triggered.",
4229 "type": "Function"
4230 }
4231 ],
4232 "class": "EventTarget",
4233 "module": "rsvp"
4234 },
4235 {
4236 "file": "node_modules/rsvp/lib/rsvp/events.js",
4237 "line": 107,
4238 "description": "You can use `off` to stop firing a particular callback for an event:\n\n```javascript\nfunction doStuff() { // do stuff! }\nobject.on('stuff', doStuff);\n\nobject.trigger('stuff'); // doStuff will be called\n\n// Unregister ONLY the doStuff callback\nobject.off('stuff', doStuff);\nobject.trigger('stuff'); // doStuff will NOT be called\n```\n\nIf you don't pass a `callback` argument to `off`, ALL callbacks for the\nevent will not be executed when the event fires. For example:\n\n```javascript\nlet callback1 = function(){};\nlet callback2 = function(){};\n\nobject.on('stuff', callback1);\nobject.on('stuff', callback2);\n\nobject.trigger('stuff'); // callback1 and callback2 will be executed.\n\nobject.off('stuff');\nobject.trigger('stuff'); // callback1 and callback2 will not be executed!\n```",
4239 "itemtype": "method",
4240 "name": "off",
4241 "access": "private",
4242 "tagname": "",
4243 "params": [
4244 {
4245 "name": "eventName",
4246 "description": "event to stop listening to",
4247 "type": "String"
4248 },
4249 {
4250 "name": "callback",
4251 "description": "optional argument. If given, only the function\ngiven will be removed from the event's callback queue. If no `callback`\nargument is given, all callbacks will be removed from the event's callback\nqueue.",
4252 "type": "Function",
4253 "optional": true
4254 }
4255 ],
4256 "class": "rsvp",
4257 "module": "rsvp"
4258 },
4259 {
4260 "file": "node_modules/rsvp/lib/rsvp/events.js",
4261 "line": 162,
4262 "description": "Use `trigger` to fire custom events. For example:\n\n```javascript\nobject.on('foo', function(){\n console.log('foo event happened!');\n});\nobject.trigger('foo');\n// 'foo event happened!' logged to the console\n```\n\nYou can also pass a value as a second argument to `trigger` that will be\npassed as an argument to all event listeners for the event:\n\n```javascript\nobject.on('foo', function(value){\n console.log(value.name);\n});\n\nobject.trigger('foo', { name: 'bar' });\n// 'bar' logged to the console\n```",
4263 "itemtype": "method",
4264 "name": "trigger",
4265 "access": "private",
4266 "tagname": "",
4267 "params": [
4268 {
4269 "name": "eventName",
4270 "description": "name of the event to be triggered",
4271 "type": "String"
4272 },
4273 {
4274 "name": "options",
4275 "description": "optional value to be passed to any event handlers for\nthe given `eventName`",
4276 "type": "*",
4277 "optional": true
4278 }
4279 ],
4280 "class": "rsvp",
4281 "module": "rsvp"
4282 },
4283 {
4284 "file": "node_modules/rsvp/lib/rsvp/filter.js",
4285 "line": 42,
4286 "description": "`filter` is similar to JavaScript's native `filter` method.\n`filterFn` is eagerly called meaning that as soon as any promise\n resolves its value will be passed to `filterFn`. `filter` returns\n a promise that will become fulfilled with the result of running\n `filterFn` on the values the promises become fulfilled with.\n\n For example:\n\n ```javascript\n import { filter, resolve } from 'rsvp';\n\n let promise1 = resolve(1);\n let promise2 = resolve(2);\n let promise3 = resolve(3);\n\n let promises = [promise1, promise2, promise3];\n\n let filterFn = function(item){\n return item > 1;\n };\n\n filter(promises, filterFn).then(function(result){\n // result is [ 2, 3 ]\n });\n ```\n\n If any of the `promises` given to `filter` are rejected, the first promise\n that is rejected will be given as an argument to the returned promise's\n rejection handler. For example:\n\n ```javascript\n import { filter, reject, resolve } from 'rsvp';\n\n let promise1 = resolve(1);\n let promise2 = reject(new Error('2'));\n let promise3 = reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n\n let filterFn = function(item){\n return item > 1;\n };\n\n filter(promises, filterFn).then(function(array){\n // Code here never runs because there are rejected promises!\n }, function(reason) {\n // reason.message === '2'\n });\n ```\n\n `filter` will also wait for any promises returned from `filterFn`.\n For instance, you may want to fetch a list of users then return a subset\n of those users based on some asynchronous operation:\n\n ```javascript\n import { filter, resolve } from 'rsvp';\n\n let alice = { name: 'alice' };\n let bob = { name: 'bob' };\n let users = [ alice, bob ];\n\n let promises = users.map(function(user){\n return resolve(user);\n });\n\n let filterFn = function(user){\n // Here, Alice has permissions to create a blog post, but Bob does not.\n return getPrivilegesForUser(user).then(function(privs){\n return privs.can_create_blog_post === true;\n });\n };\n filter(promises, filterFn).then(function(users){\n // true, because the server told us only Alice can create a blog post.\n users.length === 1;\n // false, because Alice is the only user present in `users`\n users[0] === bob;\n });\n ```",
4287 "itemtype": "method",
4288 "name": "filter",
4289 "access": "public",
4290 "tagname": "",
4291 "static": 1,
4292 "params": [
4293 {
4294 "name": "promises",
4295 "description": "",
4296 "type": "Array"
4297 },
4298 {
4299 "name": "filterFn",
4300 "description": "- function to be called on each resolved value to\n filter the final results.",
4301 "type": "Function"
4302 },
4303 {
4304 "name": "label",
4305 "description": "optional string describing the promise. Useful for\n tooling.",
4306 "type": "String",
4307 "optional": true
4308 }
4309 ],
4310 "return": {
4311 "description": "",
4312 "type": "Promise"
4313 },
4314 "class": "rsvp",
4315 "module": "rsvp"
4316 },
4317 {
4318 "file": "node_modules/rsvp/lib/rsvp/hash-settled.js",
4319 "line": 16,
4320 "description": "`hashSettled` is similar to `allSettled`, but takes an object\ninstead of an array for its `promises` argument.\n\nUnlike `all` or `hash`, which implement a fail-fast method,\nbut like `allSettled`, `hashSettled` waits until all the\nconstituent promises have returned and then shows you all the results\nwith their states and values/reasons. This is useful if you want to\nhandle multiple promises' failure states together as a set.\n\nReturns a promise that is fulfilled when all the given promises have been\nsettled, or rejected if the passed parameters are invalid.\n\nThe returned promise is fulfilled with a hash that has the same key names as\nthe `promises` object argument. If any of the values in the object are not\npromises, they will be copied over to the fulfilled object and marked with state\n'fulfilled'.\n\nExample:\n\n```javascript\nimport { hashSettled, resolve } from 'rsvp';\n\nlet promises = {\n myPromise: resolve(1),\n yourPromise: resolve(2),\n theirPromise: resolve(3),\n notAPromise: 4\n};\n\nhashSettled(promises).then(function(hash){\n // hash here is an object that looks like:\n // {\n // myPromise: { state: 'fulfilled', value: 1 },\n // yourPromise: { state: 'fulfilled', value: 2 },\n // theirPromise: { state: 'fulfilled', value: 3 },\n // notAPromise: { state: 'fulfilled', value: 4 }\n // }\n});\n```\n\nIf any of the `promises` given to `hash` are rejected, the state will\nbe set to 'rejected' and the reason for rejection provided.\n\nExample:\n\n```javascript\nimport { hashSettled, reject, resolve } from 'rsvp';\n\nlet promises = {\n myPromise: resolve(1),\n rejectedPromise: reject(new Error('rejection')),\n anotherRejectedPromise: reject(new Error('more rejection')),\n};\n\nhashSettled(promises).then(function(hash){\n // hash here is an object that looks like:\n // {\n // myPromise: { state: 'fulfilled', value: 1 },\n // rejectedPromise: { state: 'rejected', reason: Error },\n // anotherRejectedPromise: { state: 'rejected', reason: Error },\n // }\n // Note that for rejectedPromise, reason.message == 'rejection',\n // and for anotherRejectedPromise, reason.message == 'more rejection'.\n});\n```\n\nAn important note: `hashSettled` is intended for plain JavaScript objects that\nare just a set of keys and values. `hashSettled` will NOT preserve prototype\nchains.\n\nExample:\n\n```javascript\nimport Promise, { hashSettled, resolve } from 'rsvp';\n\nfunction MyConstructor(){\n this.example = resolve('Example');\n}\n\nMyConstructor.prototype = {\n protoProperty: Promise.resolve('Proto Property')\n};\n\nlet myObject = new MyConstructor();\n\nhashSettled(myObject).then(function(hash){\n // protoProperty will not be present, instead you will just have an\n // object that looks like:\n // {\n // example: { state: 'fulfilled', value: 'Example' }\n // }\n //\n // hash.hasOwnProperty('protoProperty'); // false\n // 'undefined' === typeof hash.protoProperty\n});\n```",
4321 "itemtype": "method",
4322 "name": "hashSettled",
4323 "access": "public",
4324 "tagname": "",
4325 "params": [
4326 {
4327 "name": "object",
4328 "description": "",
4329 "type": "Object"
4330 },
4331 {
4332 "name": "label",
4333 "description": "optional string that describes the promise.\nUseful for tooling.",
4334 "type": "String",
4335 "optional": true
4336 }
4337 ],
4338 "return": {
4339 "description": "promise that is fulfilled when when all properties of `promises`\nhave been settled.",
4340 "type": "Promise"
4341 },
4342 "static": 1,
4343 "class": "rsvp",
4344 "module": "rsvp"
4345 },
4346 {
4347 "file": "node_modules/rsvp/lib/rsvp/hash.js",
4348 "line": 4,
4349 "description": "`hash` is similar to `all`, but takes an object instead of an array\nfor its `promises` argument.\n\nReturns a promise that is fulfilled when all the given promises have been\nfulfilled, or rejected if any of them become rejected. The returned promise\nis fulfilled with a hash that has the same key names as the `promises` object\nargument. If any of the values in the object are not promises, they will\nsimply be copied over to the fulfilled object.\n\nExample:\n\n```javascript\nlet promises = {\n myPromise: resolve(1),\n yourPromise: resolve(2),\n theirPromise: resolve(3),\n notAPromise: 4\n};\n\nhash(promises).then(function(hash){\n // hash here is an object that looks like:\n // {\n // myPromise: 1,\n // yourPromise: 2,\n // theirPromise: 3,\n // notAPromise: 4\n // }\n});\n```\n\nIf any of the `promises` given to `hash` are rejected, the first promise\nthat is rejected will be given as the reason to the rejection handler.\n\nExample:\n\n```javascript\nlet promises = {\n myPromise: resolve(1),\n rejectedPromise: reject(new Error('rejectedPromise')),\n anotherRejectedPromise: reject(new Error('anotherRejectedPromise')),\n};\n\nhash(promises).then(function(hash){\n // Code here never runs because there are rejected promises!\n}, function(reason) {\n // reason.message === 'rejectedPromise'\n});\n```\n\nAn important note: `hash` is intended for plain JavaScript objects that\nare just a set of keys and values. `hash` will NOT preserve prototype\nchains.\n\nExample:\n\n```javascript\nimport { hash, resolve } from 'rsvp';\nfunction MyConstructor(){\n this.example = resolve('Example');\n}\n\nMyConstructor.prototype = {\n protoProperty: resolve('Proto Property')\n};\n\nlet myObject = new MyConstructor();\n\nhash(myObject).then(function(hash){\n // protoProperty will not be present, instead you will just have an\n // object that looks like:\n // {\n // example: 'Example'\n // }\n //\n // hash.hasOwnProperty('protoProperty'); // false\n // 'undefined' === typeof hash.protoProperty\n});\n```",
4350 "itemtype": "method",
4351 "name": "hash",
4352 "access": "public",
4353 "tagname": "",
4354 "static": 1,
4355 "params": [
4356 {
4357 "name": "object",
4358 "description": "",
4359 "type": "Object"
4360 },
4361 {
4362 "name": "label",
4363 "description": "optional string that describes the promise.\nUseful for tooling.",
4364 "type": "String",
4365 "optional": true
4366 }
4367 ],
4368 "return": {
4369 "description": "promise that is fulfilled when all properties of `promises`\nhave been fulfilled, or rejected if any of them become rejected.",
4370 "type": "Promise"
4371 },
4372 "class": "rsvp",
4373 "module": "rsvp"
4374 },
4375 {
4376 "file": "node_modules/rsvp/lib/rsvp/map.js",
4377 "line": 39,
4378 "description": "`map` is similar to JavaScript's native `map` method. `mapFn` is eagerly called\n meaning that as soon as any promise resolves its value will be passed to `mapFn`.\n `map` returns a promise that will become fulfilled with the result of running\n `mapFn` on the values the promises become fulfilled with.\n\n For example:\n\n ```javascript\n import { map, resolve } from 'rsvp';\n\n let promise1 = resolve(1);\n let promise2 = resolve(2);\n let promise3 = resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n\n let mapFn = function(item){\n return item + 1;\n };\n\n map(promises, mapFn).then(function(result){\n // result is [ 2, 3, 4 ]\n });\n ```\n\n If any of the `promises` given to `map` are rejected, the first promise\n that is rejected will be given as an argument to the returned promise's\n rejection handler. For example:\n\n ```javascript\n import { map, reject, resolve } from 'rsvp';\n\n let promise1 = resolve(1);\n let promise2 = reject(new Error('2'));\n let promise3 = reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n\n let mapFn = function(item){\n return item + 1;\n };\n\n map(promises, mapFn).then(function(array){\n // Code here never runs because there are rejected promises!\n }, function(reason) {\n // reason.message === '2'\n });\n ```\n\n `map` will also wait if a promise is returned from `mapFn`. For example,\n say you want to get all comments from a set of blog posts, but you need\n the blog posts first because they contain a url to those comments.\n\n ```javscript\n import { map } from 'rsvp';\n\n let mapFn = function(blogPost){\n // getComments does some ajax and returns an Promise that is fulfilled\n // with some comments data\n return getComments(blogPost.comments_url);\n };\n\n // getBlogPosts does some ajax and returns an Promise that is fulfilled\n // with some blog post data\n map(getBlogPosts(), mapFn).then(function(comments){\n // comments is the result of asking the server for the comments\n // of all blog posts returned from getBlogPosts()\n });\n ```",
4379 "itemtype": "method",
4380 "name": "map",
4381 "access": "public",
4382 "tagname": "",
4383 "static": 1,
4384 "params": [
4385 {
4386 "name": "promises",
4387 "description": "",
4388 "type": "Array"
4389 },
4390 {
4391 "name": "mapFn",
4392 "description": "function to be called on each fulfilled promise.",
4393 "type": "Function"
4394 },
4395 {
4396 "name": "label",
4397 "description": "optional string for labeling the promise.\n Useful for tooling.",
4398 "type": "String",
4399 "optional": true
4400 }
4401 ],
4402 "return": {
4403 "description": "promise that is fulfilled with the result of calling\n `mapFn` on each fulfilled promise or value when they become fulfilled.\n The promise will be rejected if any of the given `promises` become rejected.",
4404 "type": "Promise"
4405 },
4406 "class": "rsvp",
4407 "module": "rsvp"
4408 },
4409 {
4410 "file": "node_modules/rsvp/lib/rsvp/node.js",
4411 "line": 44,
4412 "description": "`denodeify` takes a 'node-style' function and returns a function that\nwill return an `Promise`. You can use `denodeify` in Node.js or the\nbrowser when you'd prefer to use promises over using callbacks. For example,\n`denodeify` transforms the following:\n\n```javascript\nlet fs = require('fs');\n\nfs.readFile('myfile.txt', function(err, data){\n if (err) return handleError(err);\n handleData(data);\n});\n```\n\ninto:\n\n```javascript\nlet fs = require('fs');\nlet readFile = denodeify(fs.readFile);\n\nreadFile('myfile.txt').then(handleData, handleError);\n```\n\nIf the node function has multiple success parameters, then `denodeify`\njust returns the first one:\n\n```javascript\nlet request = denodeify(require('request'));\n\nrequest('http://example.com').then(function(res) {\n // ...\n});\n```\n\nHowever, if you need all success parameters, setting `denodeify`'s\nsecond parameter to `true` causes it to return all success parameters\nas an array:\n\n```javascript\nlet request = denodeify(require('request'), true);\n\nrequest('http://example.com').then(function(result) {\n // result[0] -> res\n // result[1] -> body\n});\n```\n\nOr if you pass it an array with names it returns the parameters as a hash:\n\n```javascript\nlet request = denodeify(require('request'), ['res', 'body']);\n\nrequest('http://example.com').then(function(result) {\n // result.res\n // result.body\n});\n```\n\nSometimes you need to retain the `this`:\n\n```javascript\nlet app = require('express')();\nlet render = denodeify(app.render.bind(app));\n```\n\nThe denodified function inherits from the original function. It works in all\nenvironments, except IE 10 and below. Consequently all properties of the original\nfunction are available to you. However, any properties you change on the\ndenodeified function won't be changed on the original function. Example:\n\n```javascript\nlet request = denodeify(require('request')),\n cookieJar = request.jar(); // <- Inheritance is used here\n\nrequest('http://example.com', {jar: cookieJar}).then(function(res) {\n // cookieJar.cookies holds now the cookies returned by example.com\n});\n```\n\nUsing `denodeify` makes it easier to compose asynchronous operations instead\nof using callbacks. For example, instead of:\n\n```javascript\nlet fs = require('fs');\n\nfs.readFile('myfile.txt', function(err, data){\n if (err) { ... } // Handle error\n fs.writeFile('myfile2.txt', data, function(err){\n if (err) { ... } // Handle error\n console.log('done')\n });\n});\n```\n\nyou can chain the operations together using `then` from the returned promise:\n\n```javascript\nlet fs = require('fs');\nlet readFile = denodeify(fs.readFile);\nlet writeFile = denodeify(fs.writeFile);\n\nreadFile('myfile.txt').then(function(data){\n return writeFile('myfile2.txt', data);\n}).then(function(){\n console.log('done')\n}).catch(function(error){\n // Handle error\n});\n```",
4413 "itemtype": "method",
4414 "name": "denodeify",
4415 "access": "public",
4416 "tagname": "",
4417 "static": 1,
4418 "params": [
4419 {
4420 "name": "nodeFunc",
4421 "description": "a 'node-style' function that takes a callback as\nits last argument. The callback expects an error to be passed as its first\nargument (if an error occurred, otherwise null), and the value from the\noperation as its second argument ('function(err, value){ }').",
4422 "type": "Function"
4423 },
4424 {
4425 "name": "options",
4426 "description": "An optional paramter that if set\nto `true` causes the promise to fulfill with the callback's success arguments\nas an array. This is useful if the node function has multiple success\nparamters. If you set this paramter to an array with names, the promise will\nfulfill with a hash with these names as keys and the success parameters as\nvalues.",
4427 "type": "Boolean|Array",
4428 "optional": true
4429 }
4430 ],
4431 "return": {
4432 "description": "a function that wraps `nodeFunc` to return a `Promise`",
4433 "type": "Function"
4434 },
4435 "class": "rsvp",
4436 "module": "rsvp"
4437 },
4438 {
4439 "file": "node_modules/rsvp/lib/rsvp/promise.js",
4440 "line": 155,
4441 "description": "`catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\nas the catch block of a try/catch statement.\n\n```js\nfunction findAuthor(){\n throw new Error('couldn\\'t find that author');\n}\n\n// synchronous\ntry {\n findAuthor();\n} catch(reason) {\n // something went wrong\n}\n\n// async with promises\nfindAuthor().catch(function(reason){\n // something went wrong\n});\n```",
4442 "itemtype": "method",
4443 "name": "catch",
4444 "params": [
4445 {
4446 "name": "onRejection",
4447 "description": "",
4448 "type": "Function"
4449 },
4450 {
4451 "name": "label",
4452 "description": "optional string for labeling the promise.\nUseful for tooling.",
4453 "type": "String",
4454 "optional": true
4455 }
4456 ],
4457 "return": {
4458 "description": "",
4459 "type": "Promise"
4460 },
4461 "class": "Promise",
4462 "module": "rsvp"
4463 },
4464 {
4465 "file": "node_modules/rsvp/lib/rsvp/promise.js",
4466 "line": 187,
4467 "description": "`finally` will be invoked regardless of the promise's fate just as native\ntry/catch/finally behaves\n\nSynchronous example:\n\n```js\nfindAuthor() {\n if (Math.random() > 0.5) {\n throw new Error();\n }\n return new Author();\n}\n\ntry {\n return findAuthor(); // succeed or fail\n} catch(error) {\n return findOtherAuthor();\n} finally {\n // always runs\n // doesn't affect the return value\n}\n```\n\nAsynchronous example:\n\n```js\nfindAuthor().catch(function(reason){\n return findOtherAuthor();\n}).finally(function(){\n // author was either found, or not\n});\n```",
4468 "itemtype": "method",
4469 "name": "finally",
4470 "params": [
4471 {
4472 "name": "callback",
4473 "description": "",
4474 "type": "Function"
4475 },
4476 {
4477 "name": "label",
4478 "description": "optional string for labeling the promise.\nUseful for tooling.",
4479 "type": "String",
4480 "optional": true
4481 }
4482 ],
4483 "return": {
4484 "description": "",
4485 "type": "Promise"
4486 },
4487 "class": "Promise",
4488 "module": "rsvp"
4489 },
4490 {
4491 "file": "node_modules/rsvp/lib/rsvp/promise.js",
4492 "line": 248,
4493 "description": "The primary way of interacting with a promise is through its `then` method,\nwhich registers callbacks to receive either a promise's eventual value or the\nreason why the promise cannot be fulfilled.\n\n```js\nfindUser().then(function(user){\n // user is available\n}, function(reason){\n // user is unavailable, and you are given the reason why\n});\n```\n\nChaining\n--------\n\nThe return value of `then` is itself a promise. This second, 'downstream'\npromise is resolved with the return value of the first promise's fulfillment\nor rejection handler, or rejected if the handler throws an exception.\n\n```js\nfindUser().then(function (user) {\n return user.name;\n}, function (reason) {\n return 'default name';\n}).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n});\n\nfindUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n}, function (reason) {\n throw new Error('`findUser` rejected and we\\'re unhappy');\n}).then(function (value) {\n // never reached\n}, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n});\n```\nIf the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n\n```js\nfindUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n}).then(function (value) {\n // never reached\n}).then(function (value) {\n // never reached\n}, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n});\n```\n\nAssimilation\n------------\n\nSometimes the value you want to propagate to a downstream promise can only be\nretrieved asynchronously. This can be achieved by returning a promise in the\nfulfillment or rejection handler. The downstream promise will then be pending\nuntil the returned promise is settled. This is called *assimilation*.\n\n```js\nfindUser().then(function (user) {\n return findCommentsByAuthor(user);\n}).then(function (comments) {\n // The user's comments are now available\n});\n```\n\nIf the assimliated promise rejects, then the downstream promise will also reject.\n\n```js\nfindUser().then(function (user) {\n return findCommentsByAuthor(user);\n}).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n}, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n});\n```\n\nSimple Example\n--------------\n\nSynchronous Example\n\n```javascript\nlet result;\n\ntry {\n result = findResult();\n // success\n} catch(reason) {\n // failure\n}\n```\n\nErrback Example\n\n```js\nfindResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n});\n```\n\nPromise Example;\n\n```javascript\nfindResult().then(function(result){\n // success\n}, function(reason){\n // failure\n});\n```\n\nAdvanced Example\n--------------\n\nSynchronous Example\n\n```javascript\nlet author, books;\n\ntry {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n} catch(reason) {\n // failure\n}\n```\n\nErrback Example\n\n```js\n\nfunction foundBooks(books) {\n\n}\n\nfunction failure(reason) {\n\n}\n\nfindAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n});\n```\n\nPromise Example;\n\n```javascript\nfindAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n}).catch(function(reason){\n // something went wrong\n});\n```",
4494 "itemtype": "method",
4495 "name": "then",
4496 "params": [
4497 {
4498 "name": "onFulfillment",
4499 "description": "",
4500 "type": "Function"
4501 },
4502 {
4503 "name": "onRejection",
4504 "description": "",
4505 "type": "Function"
4506 },
4507 {
4508 "name": "label",
4509 "description": "optional string for labeling the promise.\nUseful for tooling.",
4510 "type": "String",
4511 "optional": true
4512 }
4513 ],
4514 "return": {
4515 "description": "",
4516 "type": "Promise"
4517 },
4518 "class": "Promise",
4519 "module": "rsvp"
4520 },
4521 {
4522 "file": "node_modules/rsvp/lib/rsvp/race.js",
4523 "line": 3,
4524 "description": "This is a convenient alias for `Promise.race`.",
4525 "itemtype": "method",
4526 "name": "race",
4527 "access": "public",
4528 "tagname": "",
4529 "static": 1,
4530 "params": [
4531 {
4532 "name": "array",
4533 "description": "Array of promises.",
4534 "type": "Array"
4535 },
4536 {
4537 "name": "label",
4538 "description": "An optional label. This is useful\nfor tooling.",
4539 "type": "String",
4540 "optional": true
4541 }
4542 ],
4543 "class": "rsvp",
4544 "module": "rsvp"
4545 },
4546 {
4547 "file": "node_modules/rsvp/lib/rsvp/reject.js",
4548 "line": 3,
4549 "description": "This is a convenient alias for `Promise.reject`.",
4550 "itemtype": "method",
4551 "name": "reject",
4552 "access": "public",
4553 "tagname": "",
4554 "static": 1,
4555 "params": [
4556 {
4557 "name": "reason",
4558 "description": "value that the returned promise will be rejected with.",
4559 "type": "*"
4560 },
4561 {
4562 "name": "label",
4563 "description": "optional string for identifying the returned promise.\nUseful for tooling.",
4564 "type": "String",
4565 "optional": true
4566 }
4567 ],
4568 "return": {
4569 "description": "a promise rejected with the given `reason`.",
4570 "type": "Promise"
4571 },
4572 "class": "rsvp",
4573 "module": "rsvp"
4574 },
4575 {
4576 "file": "node_modules/rsvp/lib/rsvp/resolve.js",
4577 "line": 3,
4578 "description": "This is a convenient alias for `Promise.resolve`.",
4579 "itemtype": "method",
4580 "name": "resolve",
4581 "access": "public",
4582 "tagname": "",
4583 "static": 1,
4584 "params": [
4585 {
4586 "name": "value",
4587 "description": "value that the returned promise will be resolved with",
4588 "type": "*"
4589 },
4590 {
4591 "name": "label",
4592 "description": "optional string for identifying the returned promise.\nUseful for tooling.",
4593 "type": "String",
4594 "optional": true
4595 }
4596 ],
4597 "return": {
4598 "description": "a promise that will become fulfilled with the given\n`value`",
4599 "type": "Promise"
4600 },
4601 "class": "rsvp",
4602 "module": "rsvp"
4603 },
4604 {
4605 "file": "node_modules/rsvp/lib/rsvp/rethrow.js",
4606 "line": 1,
4607 "description": "`rethrow` will rethrow an error on the next turn of the JavaScript event\nloop in order to aid debugging.\n\nPromises A+ specifies that any exceptions that occur with a promise must be\ncaught by the promises implementation and bubbled to the last handler. For\nthis reason, it is recommended that you always specify a second rejection\nhandler function to `then`. However, `rethrow` will throw the exception\noutside of the promise, so it bubbles up to your console if in the browser,\nor domain/cause uncaught exception in Node. `rethrow` will also throw the\nerror again so the error can be handled by the promise per the spec.\n\n```javascript\nimport { rethrow } from 'rsvp';\n\nfunction throws(){\n throw new Error('Whoops!');\n}\n\nlet promise = new Promise(function(resolve, reject){\n throws();\n});\n\npromise.catch(rethrow).then(function(){\n // Code here doesn't run because the promise became rejected due to an\n // error!\n}, function (err){\n // handle the error here\n});\n```\n\nThe 'Whoops' error will be thrown on the next turn of the event loop\nand you can watch for it in your console. You can also handle it using a\nrejection handler given to `.then` or `.catch` on the returned promise.",
4608 "itemtype": "method",
4609 "name": "rethrow",
4610 "access": "public",
4611 "tagname": "",
4612 "static": 1,
4613 "params": [
4614 {
4615 "name": "reason",
4616 "description": "reason the promise became rejected.",
4617 "type": "Error"
4618 }
4619 ],
4620 "throws": {
4621 "description": "Error"
4622 },
4623 "class": "rsvp",
4624 "module": "rsvp"
4625 },
4626 {
4627 "file": "packages/@ember/-internals/console/index.js",
4628 "line": 28,
4629 "description": "Logs the arguments to the console.\nYou can pass as many arguments as you want and they will be joined together with a space.\n\n ```javascript\n var foo = 1;\n Ember.Logger.log('log value of foo:', foo);\n // \"log value of foo: 1\" will be printed to the console\n ```",
4630 "itemtype": "method",
4631 "name": "log",
4632 "params": [
4633 {
4634 "name": "arguments",
4635 "description": "",
4636 "type": "*"
4637 }
4638 ],
4639 "access": "public",
4640 "tagname": "",
4641 "class": "Ember.Logger",
4642 "module": "ember",
4643 "namespace": "Ember"
4644 },
4645 {
4646 "file": "packages/@ember/-internals/console/index.js",
4647 "line": 52,
4648 "description": "Prints the arguments to the console with a warning icon.\nYou can pass as many arguments as you want and they will be joined together with a space.\n\n ```javascript\n Ember.Logger.warn('Something happened!');\n // \"Something happened!\" will be printed to the console with a warning icon.\n ```",
4649 "itemtype": "method",
4650 "name": "warn",
4651 "params": [
4652 {
4653 "name": "arguments",
4654 "description": "",
4655 "type": "*"
4656 }
4657 ],
4658 "access": "public",
4659 "tagname": "",
4660 "class": "Ember.Logger",
4661 "module": "ember",
4662 "namespace": "Ember"
4663 },
4664 {
4665 "file": "packages/@ember/-internals/console/index.js",
4666 "line": 75,
4667 "description": "Prints the arguments to the console with an error icon, red text and a stack trace.\nYou can pass as many arguments as you want and they will be joined together with a space.\n\n ```javascript\n Ember.Logger.error('Danger! Danger!');\n // \"Danger! Danger!\" will be printed to the console in red text.\n ```",
4668 "itemtype": "method",
4669 "name": "error",
4670 "params": [
4671 {
4672 "name": "arguments",
4673 "description": "",
4674 "type": "*"
4675 }
4676 ],
4677 "access": "public",
4678 "tagname": "",
4679 "class": "Ember.Logger",
4680 "module": "ember",
4681 "namespace": "Ember"
4682 },
4683 {
4684 "file": "packages/@ember/-internals/console/index.js",
4685 "line": 98,
4686 "description": "Logs the arguments to the console.\nYou can pass as many arguments as you want and they will be joined together with a space.\n\n ```javascript\n var foo = 1;\n Ember.Logger.info('log value of foo:', foo);\n // \"log value of foo: 1\" will be printed to the console\n ```",
4687 "itemtype": "method",
4688 "name": "info",
4689 "params": [
4690 {
4691 "name": "arguments",
4692 "description": "",
4693 "type": "*"
4694 }
4695 ],
4696 "access": "public",
4697 "tagname": "",
4698 "class": "Ember.Logger",
4699 "module": "ember",
4700 "namespace": "Ember"
4701 },
4702 {
4703 "file": "packages/@ember/-internals/console/index.js",
4704 "line": 122,
4705 "description": "Logs the arguments to the console in blue text.\nYou can pass as many arguments as you want and they will be joined together with a space.\n\n ```javascript\n var foo = 1;\n Ember.Logger.debug('log value of foo:', foo);\n // \"log value of foo: 1\" will be printed to the console\n ```",
4706 "itemtype": "method",
4707 "name": "debug",
4708 "params": [
4709 {
4710 "name": "arguments",
4711 "description": "",
4712 "type": "*"
4713 }
4714 ],
4715 "access": "public",
4716 "tagname": "",
4717 "class": "Ember.Logger",
4718 "module": "ember",
4719 "namespace": "Ember"
4720 },
4721 {
4722 "file": "packages/@ember/-internals/console/index.js",
4723 "line": 151,
4724 "description": "If the value passed into `Ember.Logger.assert` is not truthy it will throw an error with a stack trace.\n\n ```javascript\n Ember.Logger.assert(true); // undefined\n Ember.Logger.assert(true === false); // Throws an Assertion failed error.\n Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.\n ```",
4725 "itemtype": "method",
4726 "name": "assert",
4727 "params": [
4728 {
4729 "name": "bool",
4730 "description": "Value to test",
4731 "type": "Boolean"
4732 },
4733 {
4734 "name": "message",
4735 "description": "Assertion message on failed",
4736 "type": "String"
4737 }
4738 ],
4739 "access": "public",
4740 "tagname": "",
4741 "class": "Ember.Logger",
4742 "module": "ember",
4743 "namespace": "Ember"
4744 },
4745 {
4746 "file": "packages/@ember/-internals/container/lib/container.ts",
4747 "line": 100,
4748 "access": "private",
4749 "tagname": "",
4750 "itemtype": "property",
4751 "name": "registry",
4752 "type": "Registry",
4753 "since": "1.11.0",
4754 "class": "Ember.Container",
4755 "module": "ember",
4756 "namespace": "Ember"
4757 },
4758 {
4759 "file": "packages/@ember/-internals/container/lib/container.ts",
4760 "line": 107,
4761 "access": "private",
4762 "tagname": "",
4763 "itemtype": "property",
4764 "name": "cache",
4765 "type": "InheritingDict",
4766 "class": "Ember.Container",
4767 "module": "ember",
4768 "namespace": "Ember"
4769 },
4770 {
4771 "file": "packages/@ember/-internals/container/lib/container.ts",
4772 "line": 113,
4773 "access": "private",
4774 "tagname": "",
4775 "itemtype": "property",
4776 "name": "validationCache",
4777 "type": "InheritingDict",
4778 "class": "Ember.Container",
4779 "module": "ember",
4780 "namespace": "Ember"
4781 },
4782 {
4783 "file": "packages/@ember/-internals/container/lib/container.ts",
4784 "line": 119,
4785 "description": "Given a fullName return a corresponding instance.\n The default behavior is for lookup to return a singleton instance.\nThe singleton is scoped to the container, allowing multiple containers\nto all have their own locally scoped singletons.\n ```javascript\nlet registry = new Registry();\nlet container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter');\n twitter instanceof Twitter; // => true\n // by default the container will return singletons\nlet twitter2 = container.lookup('api:twitter');\ntwitter2 instanceof Twitter; // => true\n twitter === twitter2; //=> true\n```\n If singletons are not wanted, an optional flag can be provided at lookup.\n ```javascript\nlet registry = new Registry();\nlet container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter', { singleton: false });\nlet twitter2 = container.lookup('api:twitter', { singleton: false });\n twitter === twitter2; //=> false\n```",
4786 "access": "private",
4787 "tagname": "",
4788 "itemtype": "method",
4789 "name": "lookup",
4790 "params": [
4791 {
4792 "name": "fullName",
4793 "description": "",
4794 "type": "String"
4795 },
4796 {
4797 "name": "options",
4798 "description": "",
4799 "type": "Object",
4800 "optional": true,
4801 "props": [
4802 {
4803 "name": "source",
4804 "description": "The fullname of the request source (used for local lookup)",
4805 "type": "String",
4806 "optional": true
4807 }
4808 ]
4809 }
4810 ],
4811 "return": {
4812 "description": "",
4813 "type": "Any"
4814 },
4815 "class": "Ember.Container",
4816 "module": "ember",
4817 "namespace": "Ember"
4818 },
4819 {
4820 "file": "packages/@ember/-internals/container/lib/container.ts",
4821 "line": 159,
4822 "description": "A depth first traversal, destroying the container, its descendant containers and all\ntheir managed objects.",
4823 "access": "private",
4824 "tagname": "",
4825 "itemtype": "method",
4826 "name": "destroy",
4827 "class": "Ember.Container",
4828 "module": "ember",
4829 "namespace": "Ember"
4830 },
4831 {
4832 "file": "packages/@ember/-internals/container/lib/container.ts",
4833 "line": 176,
4834 "description": "Clear either the entire cache or just the cache for a particular key.",
4835 "access": "private",
4836 "tagname": "",
4837 "itemtype": "method",
4838 "name": "reset",
4839 "params": [
4840 {
4841 "name": "fullName",
4842 "description": "optional key to reset; if missing, resets everything",
4843 "type": "String"
4844 }
4845 ],
4846 "class": "Ember.Container",
4847 "module": "ember",
4848 "namespace": "Ember"
4849 },
4850 {
4851 "file": "packages/@ember/-internals/container/lib/container.ts",
4852 "line": 193,
4853 "description": "Returns an object that can be used to provide an owner to a\nmanually created instance.",
4854 "access": "private",
4855 "tagname": "",
4856 "itemtype": "method",
4857 "name": "ownerInjection",
4858 "return": {
4859 "description": "",
4860 "type": "Object"
4861 },
4862 "class": "Ember.Container",
4863 "module": "ember",
4864 "namespace": "Ember"
4865 },
4866 {
4867 "file": "packages/@ember/-internals/container/lib/container.ts",
4868 "line": 206,
4869 "description": "Given a fullName, return the corresponding factory. The consumer of the factory\nis responsible for the destruction of any factory instances, as there is no\nway for the container to ensure instances are destroyed when it itself is\ndestroyed.",
4870 "access": "public",
4871 "tagname": "",
4872 "itemtype": "method",
4873 "name": "factoryFor",
4874 "params": [
4875 {
4876 "name": "fullName",
4877 "description": "",
4878 "type": "String"
4879 },
4880 {
4881 "name": "options",
4882 "description": "",
4883 "type": "Object",
4884 "optional": true,
4885 "props": [
4886 {
4887 "name": "source",
4888 "description": "The fullname of the request source (used for local lookup)",
4889 "type": "String",
4890 "optional": true
4891 }
4892 ]
4893 }
4894 ],
4895 "return": {
4896 "description": "",
4897 "type": "Any"
4898 },
4899 "class": "Ember.Container",
4900 "module": "ember",
4901 "namespace": "Ember"
4902 },
4903 {
4904 "file": "packages/@ember/-internals/container/lib/registry.ts",
4905 "line": 128,
4906 "description": "A backup registry for resolving registrations when no matches can be found.",
4907 "access": "private",
4908 "tagname": "",
4909 "itemtype": "property",
4910 "name": "fallback",
4911 "type": "Registry",
4912 "class": "Ember.Registry",
4913 "module": "ember",
4914 "namespace": "Ember"
4915 },
4916 {
4917 "file": "packages/@ember/-internals/container/lib/registry.ts",
4918 "line": 136,
4919 "description": "An object that has a `resolve` method that resolves a name.",
4920 "access": "private",
4921 "tagname": "",
4922 "itemtype": "property",
4923 "name": "resolver",
4924 "type": "Resolver",
4925 "class": "Ember.Registry",
4926 "module": "ember",
4927 "namespace": "Ember"
4928 },
4929 {
4930 "file": "packages/@ember/-internals/container/lib/registry.ts",
4931 "line": 144,
4932 "access": "private",
4933 "tagname": "",
4934 "itemtype": "property",
4935 "name": "registrations",
4936 "type": "InheritingDict",
4937 "class": "Ember.Registry",
4938 "module": "ember",
4939 "namespace": "Ember"
4940 },
4941 {
4942 "file": "packages/@ember/-internals/container/lib/registry.ts",
4943 "line": 150,
4944 "access": "private",
4945 "tagname": "",
4946 "itemtype": "property",
4947 "name": "_typeInjections",
4948 "type": "InheritingDict",
4949 "class": "Ember.Registry",
4950 "module": "ember",
4951 "namespace": "Ember"
4952 },
4953 {
4954 "file": "packages/@ember/-internals/container/lib/registry.ts",
4955 "line": 157,
4956 "access": "private",
4957 "tagname": "",
4958 "itemtype": "property",
4959 "name": "_injections",
4960 "type": "InheritingDict",
4961 "class": "Ember.Registry",
4962 "module": "ember",
4963 "namespace": "Ember"
4964 },
4965 {
4966 "file": "packages/@ember/-internals/container/lib/registry.ts",
4967 "line": 164,
4968 "access": "private",
4969 "tagname": "",
4970 "itemtype": "property",
4971 "name": "_normalizeCache",
4972 "type": "InheritingDict",
4973 "class": "Ember.Registry",
4974 "module": "ember",
4975 "namespace": "Ember"
4976 },
4977 {
4978 "file": "packages/@ember/-internals/container/lib/registry.ts",
4979 "line": 171,
4980 "access": "private",
4981 "tagname": "",
4982 "itemtype": "property",
4983 "name": "_resolveCache",
4984 "type": "InheritingDict",
4985 "class": "Ember.Registry",
4986 "module": "ember",
4987 "namespace": "Ember"
4988 },
4989 {
4990 "file": "packages/@ember/-internals/container/lib/registry.ts",
4991 "line": 178,
4992 "access": "private",
4993 "tagname": "",
4994 "itemtype": "property",
4995 "name": "_options",
4996 "type": "InheritingDict",
4997 "class": "Ember.Registry",
4998 "module": "ember",
4999 "namespace": "Ember"
5000 },
5001 {
5002 "file": "packages/@ember/-internals/container/lib/registry.ts",
5003 "line": 185,
5004 "access": "private",
5005 "tagname": "",
5006 "itemtype": "property",
5007 "name": "_typeOptions",
5008 "type": "InheritingDict",
5009 "class": "Ember.Registry",
5010 "module": "ember",
5011 "namespace": "Ember"
5012 },
5013 {
5014 "file": "packages/@ember/-internals/container/lib/registry.ts",
5015 "line": 192,
5016 "description": "Creates a container based on this registry.",
5017 "access": "private",
5018 "tagname": "",
5019 "itemtype": "method",
5020 "name": "container",
5021 "params": [
5022 {
5023 "name": "options",
5024 "description": "",
5025 "type": "Object"
5026 }
5027 ],
5028 "return": {
5029 "description": "created container",
5030 "type": "Container"
5031 },
5032 "class": "Ember.Registry",
5033 "module": "ember",
5034 "namespace": "Ember"
5035 },
5036 {
5037 "file": "packages/@ember/-internals/container/lib/registry.ts",
5038 "line": 204,
5039 "description": "Registers a factory for later injection.\n\nExample:\n\n```javascript\nlet registry = new Registry();\n\nregistry.register('model:user', Person, {singleton: false });\nregistry.register('fruit:favorite', Orange);\nregistry.register('communication:main', Email, {singleton: false});\n```",
5040 "access": "private",
5041 "tagname": "",
5042 "itemtype": "method",
5043 "name": "register",
5044 "params": [
5045 {
5046 "name": "fullName",
5047 "description": "",
5048 "type": "String"
5049 },
5050 {
5051 "name": "factory",
5052 "description": "",
5053 "type": "Function"
5054 },
5055 {
5056 "name": "options",
5057 "description": "",
5058 "type": "Object"
5059 }
5060 ],
5061 "class": "Ember.Registry",
5062 "module": "ember",
5063 "namespace": "Ember"
5064 },
5065 {
5066 "file": "packages/@ember/-internals/container/lib/registry.ts",
5067 "line": 238,
5068 "description": "Unregister a fullName\n\n```javascript\nlet registry = new Registry();\nregistry.register('model:user', User);\n\nregistry.resolve('model:user').create() instanceof User //=> true\n\nregistry.unregister('model:user')\nregistry.resolve('model:user') === undefined //=> true\n```",
5069 "access": "private",
5070 "tagname": "",
5071 "itemtype": "method",
5072 "name": "unregister",
5073 "params": [
5074 {
5075 "name": "fullName",
5076 "description": "",
5077 "type": "String"
5078 }
5079 ],
5080 "class": "Ember.Registry",
5081 "module": "ember",
5082 "namespace": "Ember"
5083 },
5084 {
5085 "file": "packages/@ember/-internals/container/lib/registry.ts",
5086 "line": 268,
5087 "description": "Given a fullName return the corresponding factory.\n\nBy default `resolve` will retrieve the factory from\nthe registry.\n\n```javascript\nlet registry = new Registry();\nregistry.register('api:twitter', Twitter);\n\nregistry.resolve('api:twitter') // => Twitter\n```\n\nOptionally the registry can be provided with a custom resolver.\nIf provided, `resolve` will first provide the custom resolver\nthe opportunity to resolve the fullName, otherwise it will fallback\nto the registry.\n\n```javascript\nlet registry = new Registry();\nregistry.resolver = function(fullName) {\n // lookup via the module system of choice\n };\n\n// the twitter factory is added to the module system\nregistry.resolve('api:twitter') // => Twitter\n```",
5088 "access": "private",
5089 "tagname": "",
5090 "itemtype": "method",
5091 "name": "resolve",
5092 "params": [
5093 {
5094 "name": "fullName",
5095 "description": "",
5096 "type": "String"
5097 },
5098 {
5099 "name": "options",
5100 "description": "",
5101 "type": "Object",
5102 "optional": true,
5103 "props": [
5104 {
5105 "name": "source",
5106 "description": "the fullname of the request source (used for local lookups)",
5107 "type": "String",
5108 "optional": true
5109 }
5110 ]
5111 }
5112 ],
5113 "return": {
5114 "description": "fullName's factory",
5115 "type": "Function"
5116 },
5117 "class": "Ember.Registry",
5118 "module": "ember",
5119 "namespace": "Ember"
5120 },
5121 {
5122 "file": "packages/@ember/-internals/container/lib/registry.ts",
5123 "line": 311,
5124 "description": "A hook that can be used to describe how the resolver will\nattempt to find the factory.\n\nFor example, the default Ember `.describe` returns the full\nclass name (including namespace) where Ember's resolver expects\nto find the `fullName`.",
5125 "access": "private",
5126 "tagname": "",
5127 "itemtype": "method",
5128 "name": "describe",
5129 "params": [
5130 {
5131 "name": "fullName",
5132 "description": "",
5133 "type": "String"
5134 }
5135 ],
5136 "return": {
5137 "description": "described fullName",
5138 "type": "String"
5139 },
5140 "class": "Ember.Registry",
5141 "module": "ember",
5142 "namespace": "Ember"
5143 },
5144 {
5145 "file": "packages/@ember/-internals/container/lib/registry.ts",
5146 "line": 334,
5147 "description": "A hook to enable custom fullName normalization behavior",
5148 "access": "private",
5149 "tagname": "",
5150 "itemtype": "method",
5151 "name": "normalizeFullName",
5152 "params": [
5153 {
5154 "name": "fullName",
5155 "description": "",
5156 "type": "String"
5157 }
5158 ],
5159 "return": {
5160 "description": "normalized fullName",
5161 "type": "String"
5162 },
5163 "class": "Ember.Registry",
5164 "module": "ember",
5165 "namespace": "Ember"
5166 },
5167 {
5168 "file": "packages/@ember/-internals/container/lib/registry.ts",
5169 "line": 352,
5170 "description": "Normalize a fullName based on the application's conventions",
5171 "access": "private",
5172 "tagname": "",
5173 "itemtype": "method",
5174 "name": "normalize",
5175 "params": [
5176 {
5177 "name": "fullName",
5178 "description": "",
5179 "type": "String"
5180 }
5181 ],
5182 "return": {
5183 "description": "normalized fullName",
5184 "type": "String"
5185 },
5186 "class": "Ember.Registry",
5187 "module": "ember",
5188 "namespace": "Ember"
5189 },
5190 {
5191 "file": "packages/@ember/-internals/container/lib/registry.ts",
5192 "line": 367,
5193 "itemtype": "method",
5194 "name": "makeToString",
5195 "access": "private",
5196 "tagname": "",
5197 "params": [
5198 {
5199 "name": "factory",
5200 "description": "",
5201 "type": "Any"
5202 },
5203 {
5204 "name": "fullName",
5205 "description": "",
5206 "type": "String"
5207 }
5208 ],
5209 "return": {
5210 "description": "toString function",
5211 "type": "Function"
5212 },
5213 "class": "Ember.Registry",
5214 "module": "ember",
5215 "namespace": "Ember"
5216 },
5217 {
5218 "file": "packages/@ember/-internals/container/lib/registry.ts",
5219 "line": 385,
5220 "description": "Given a fullName check if the container is aware of its factory\nor singleton instance.",
5221 "access": "private",
5222 "tagname": "",
5223 "itemtype": "method",
5224 "name": "has",
5225 "params": [
5226 {
5227 "name": "fullName",
5228 "description": "",
5229 "type": "String"
5230 },
5231 {
5232 "name": "options",
5233 "description": "",
5234 "type": "Object",
5235 "optional": true,
5236 "props": [
5237 {
5238 "name": "source",
5239 "description": "the fullname of the request source (used for local lookups)",
5240 "type": "String",
5241 "optional": true
5242 }
5243 ]
5244 }
5245 ],
5246 "return": {
5247 "description": "",
5248 "type": "Boolean"
5249 },
5250 "class": "Ember.Registry",
5251 "module": "ember",
5252 "namespace": "Ember"
5253 },
5254 {
5255 "file": "packages/@ember/-internals/container/lib/registry.ts",
5256 "line": 407,
5257 "description": "Allow registering options for all factories of a type.\n\n```javascript\nlet registry = new Registry();\nlet container = registry.container();\n\n// if all of type `connection` must not be singletons\nregistry.optionsForType('connection', { singleton: false });\n\nregistry.register('connection:twitter', TwitterConnection);\nregistry.register('connection:facebook', FacebookConnection);\n\nlet twitter = container.lookup('connection:twitter');\nlet twitter2 = container.lookup('connection:twitter');\n\ntwitter === twitter2; // => false\n\nlet facebook = container.lookup('connection:facebook');\nlet facebook2 = container.lookup('connection:facebook');\n\nfacebook === facebook2; // => false\n```",
5258 "access": "private",
5259 "tagname": "",
5260 "itemtype": "method",
5261 "name": "optionsForType",
5262 "params": [
5263 {
5264 "name": "type",
5265 "description": "",
5266 "type": "String"
5267 },
5268 {
5269 "name": "options",
5270 "description": "",
5271 "type": "Object"
5272 }
5273 ],
5274 "class": "Ember.Registry",
5275 "module": "ember",
5276 "namespace": "Ember"
5277 },
5278 {
5279 "file": "packages/@ember/-internals/container/lib/registry.ts",
5280 "line": 448,
5281 "access": "private",
5282 "tagname": "",
5283 "itemtype": "method",
5284 "name": "options",
5285 "params": [
5286 {
5287 "name": "fullName",
5288 "description": "",
5289 "type": "String"
5290 },
5291 {
5292 "name": "options",
5293 "description": "",
5294 "type": "Object"
5295 }
5296 ],
5297 "class": "Ember.Registry",
5298 "module": "ember",
5299 "namespace": "Ember"
5300 },
5301 {
5302 "file": "packages/@ember/-internals/container/lib/registry.ts",
5303 "line": 490,
5304 "description": "Used only via `injection`.\n\nProvides a specialized form of injection, specifically enabling\nall objects of one type to be injected with a reference to another\nobject.\n\nFor example, provided each object of type `controller` needed a `router`.\none would do the following:\n\n```javascript\nlet registry = new Registry();\nlet container = registry.container();\n\nregistry.register('router:main', Router);\nregistry.register('controller:user', UserController);\nregistry.register('controller:post', PostController);\n\nregistry.typeInjection('controller', 'router', 'router:main');\n\nlet user = container.lookup('controller:user');\nlet post = container.lookup('controller:post');\n\nuser.router instanceof Router; //=> true\npost.router instanceof Router; //=> true\n\n// both controllers share the same router\nuser.router === post.router; //=> true\n```",
5305 "access": "private",
5306 "tagname": "",
5307 "itemtype": "method",
5308 "name": "typeInjection",
5309 "params": [
5310 {
5311 "name": "type",
5312 "description": "",
5313 "type": "String"
5314 },
5315 {
5316 "name": "property",
5317 "description": "",
5318 "type": "String"
5319 },
5320 {
5321 "name": "fullName",
5322 "description": "",
5323 "type": "String"
5324 }
5325 ],
5326 "class": "Ember.Registry",
5327 "module": "ember",
5328 "namespace": "Ember"
5329 },
5330 {
5331 "file": "packages/@ember/-internals/container/lib/registry.ts",
5332 "line": 537,
5333 "description": "Defines injection rules.\n\nThese rules are used to inject dependencies onto objects when they\nare instantiated.\n\nTwo forms of injections are possible:\n\n* Injecting one fullName on another fullName\n* Injecting one fullName on a type\n\nExample:\n\n```javascript\nlet registry = new Registry();\nlet container = registry.container();\n\nregistry.register('source:main', Source);\nregistry.register('model:user', User);\nregistry.register('model:post', Post);\n\n// injecting one fullName on another fullName\n// eg. each user model gets a post model\nregistry.injection('model:user', 'post', 'model:post');\n\n// injecting one fullName on another type\nregistry.injection('model', 'source', 'source:main');\n\nlet user = container.lookup('model:user');\nlet post = container.lookup('model:post');\n\nuser.source instanceof Source; //=> true\npost.source instanceof Source; //=> true\n\nuser.post instanceof Post; //=> true\n\n// and both models share the same source\nuser.source === post.source; //=> true\n```",
5334 "access": "private",
5335 "tagname": "",
5336 "itemtype": "method",
5337 "name": "injection",
5338 "params": [
5339 {
5340 "name": "factoryName",
5341 "description": "",
5342 "type": "String"
5343 },
5344 {
5345 "name": "property",
5346 "description": "",
5347 "type": "String"
5348 },
5349 {
5350 "name": "injectionName",
5351 "description": "",
5352 "type": "String"
5353 }
5354 ],
5355 "class": "Ember.Registry",
5356 "module": "ember",
5357 "namespace": "Ember"
5358 },
5359 {
5360 "file": "packages/@ember/-internals/container/lib/registry.ts",
5361 "line": 603,
5362 "access": "private",
5363 "tagname": "",
5364 "itemtype": "method",
5365 "name": "knownForType",
5366 "params": [
5367 {
5368 "name": "type",
5369 "description": "the type to iterate over",
5370 "type": "String"
5371 }
5372 ],
5373 "class": "Ember.Registry",
5374 "module": "ember",
5375 "namespace": "Ember"
5376 },
5377 {
5378 "file": "packages/@ember/-internals/container/lib/registry.ts",
5379 "line": 664,
5380 "description": "Given a fullName and a source fullName returns the fully resolved\nfullName. Used to allow for local lookup.\n\n```javascript\nlet registry = new Registry();\n\n// the twitter factory is added to the module system\nregistry.expandLocalLookup('component:post-title', { source: 'template:post' }) // => component:post/post-title\n```",
5381 "access": "private",
5382 "tagname": "",
5383 "itemtype": "method",
5384 "name": "expandLocalLookup",
5385 "params": [
5386 {
5387 "name": "fullName",
5388 "description": "",
5389 "type": "String"
5390 },
5391 {
5392 "name": "options",
5393 "description": "",
5394 "type": "Object",
5395 "optional": true,
5396 "props": [
5397 {
5398 "name": "source",
5399 "description": "the fullname of the request source (used for local lookups)",
5400 "type": "String",
5401 "optional": true
5402 }
5403 ]
5404 }
5405 ],
5406 "return": {
5407 "description": "fullName",
5408 "type": "String"
5409 },
5410 "class": "Ember.Registry",
5411 "module": "ember",
5412 "namespace": "Ember"
5413 },
5414 {
5415 "file": "packages/@ember/-internals/environment/lib/env.ts",
5416 "line": 19,
5417 "description": "Determines whether Ember should add to `Array`, `Function`, and `String`\nnative object prototypes, a few extra methods in order to provide a more\nfriendly API.\n\nWe generally recommend leaving this option set to true however, if you need\nto turn it off, you can add the configuration property\n`EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.\n\nNote, when disabled (the default configuration for Ember Addons), you will\ninstead have to access all methods and functions from the Ember\nnamespace.",
5418 "itemtype": "property",
5419 "name": "EXTEND_PROTOTYPES",
5420 "type": "Boolean",
5421 "default": "true",
5422 "access": "public",
5423 "tagname": "",
5424 "class": "Ember.EmberENV",
5425 "module": "ember",
5426 "namespace": "Ember"
5427 },
5428 {
5429 "file": "packages/@ember/-internals/environment/lib/env.ts",
5430 "line": 44,
5431 "description": "The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\na full stack trace during deprecation warnings.",
5432 "itemtype": "property",
5433 "name": "LOG_STACKTRACE_ON_DEPRECATION",
5434 "type": "Boolean",
5435 "default": "true",
5436 "access": "public",
5437 "tagname": "",
5438 "class": "Ember.EmberENV",
5439 "module": "ember",
5440 "namespace": "Ember"
5441 },
5442 {
5443 "file": "packages/@ember/-internals/environment/lib/env.ts",
5444 "line": 56,
5445 "description": "The `LOG_VERSION` property, when true, tells Ember to log versions of all\ndependent libraries in use.",
5446 "itemtype": "property",
5447 "name": "LOG_VERSION",
5448 "type": "Boolean",
5449 "default": "true",
5450 "access": "public",
5451 "tagname": "",
5452 "class": "Ember.EmberENV",
5453 "module": "ember",
5454 "namespace": "Ember"
5455 },
5456 {
5457 "file": "packages/@ember/-internals/environment/lib/env.ts",
5458 "line": 72,
5459 "description": "Whether to insert a `<div class=\"ember-view\" />` wrapper around the\napplication template. See RFC #280.\n\nThis is not intended to be set directly, as the implementation may change in\nthe future. Use `@ember/optional-features` instead.",
5460 "itemtype": "property",
5461 "name": "_APPLICATION_TEMPLATE_WRAPPER",
5462 "type": "Boolean",
5463 "default": "true",
5464 "access": "private",
5465 "tagname": "",
5466 "class": "Ember.EmberENV",
5467 "module": "ember",
5468 "namespace": "Ember"
5469 },
5470 {
5471 "file": "packages/@ember/-internals/environment/lib/env.ts",
5472 "line": 87,
5473 "description": "Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\ncomponents semantics) for template-only components. See RFC #278.\n\nThis is not intended to be set directly, as the implementation may change in\nthe future. Use `@ember/optional-features` instead.",
5474 "itemtype": "property",
5475 "name": "_TEMPLATE_ONLY_GLIMMER_COMPONENTS",
5476 "type": "Boolean",
5477 "default": "false",
5478 "access": "private",
5479 "tagname": "",
5480 "class": "Ember.EmberENV",
5481 "module": "ember",
5482 "namespace": "Ember"
5483 },
5484 {
5485 "file": "packages/@ember/-internals/environment/lib/env.ts",
5486 "line": 102,
5487 "description": "Whether to perform extra bookkeeping needed to make the `captureRenderTree`\nAPI work.\n\nThis has to be set before the ember JavaScript code is evaluated. This is\nusually done by setting `window.EmberENV = { _DEBUG_RENDER_TREE: true };`\nbefore the \"vendor\" `<script>` tag in `index.html`.\n\nSetting the flag after Ember is already loaded will not work correctly. It\nmay appear to work somewhat, but fundamentally broken.\n\nThis is not intended to be set directly. Ember Inspector will enable the\nflag on behalf of the user as needed.\n\nThis flag is always on in development mode.\n\nThe flag is off by default in production mode, due to the cost associated\nwith the the bookkeeping work.\n\nThe expected flow is that Ember Inspector will ask the user to refresh the\npage after enabling the feature. It could also offer a feature where the\nuser add some domains to the \"always on\" list. In either case, Ember\nInspector will inject the code on the page to set the flag if needed.",
5488 "itemtype": "property",
5489 "name": "_DEBUG_RENDER_TREE",
5490 "type": "Boolean",
5491 "default": "false",
5492 "access": "private",
5493 "tagname": "",
5494 "class": "Ember.EmberENV",
5495 "module": "ember",
5496 "namespace": "Ember"
5497 },
5498 {
5499 "file": "packages/@ember/-internals/environment/lib/env.ts",
5500 "line": 134,
5501 "description": "Whether the app is using jQuery. See RFC #294.\n\nThis is not intended to be set directly, as the implementation may change in\nthe future. Use `@ember/optional-features` instead.",
5502 "itemtype": "property",
5503 "name": "_JQUERY_INTEGRATION",
5504 "type": "Boolean",
5505 "default": "true",
5506 "access": "private",
5507 "tagname": "",
5508 "class": "Ember.EmberENV",
5509 "module": "ember",
5510 "namespace": "Ember"
5511 },
5512 {
5513 "file": "packages/@ember/-internals/environment/lib/env.ts",
5514 "line": 148,
5515 "description": "Whether the app defaults to using async observers.\n\nThis is not intended to be set directly, as the implementation may change in\nthe future. Use `@ember/optional-features` instead.",
5516 "itemtype": "property",
5517 "name": "_DEFAULT_ASYNC_OBSERVERS",
5518 "type": "Boolean",
5519 "default": "false",
5520 "access": "private",
5521 "tagname": "",
5522 "class": "Ember.EmberENV",
5523 "module": "ember",
5524 "namespace": "Ember"
5525 },
5526 {
5527 "file": "packages/@ember/-internals/environment/lib/env.ts",
5528 "line": 162,
5529 "description": "Controls the maximum number of scheduled rerenders without \"settling\". In general,\napplications should not need to modify this environment variable, but please\nopen an issue so that we can determine if a better default value is needed.",
5530 "itemtype": "property",
5531 "name": "_RERENDER_LOOP_LIMIT",
5532 "type": "number",
5533 "default": "1000",
5534 "access": "private",
5535 "tagname": "",
5536 "class": "Ember.EmberENV",
5537 "module": "ember",
5538 "namespace": "Ember"
5539 },
5540 {
5541 "file": "packages/@ember/-internals/extension-support/lib/container_debug_adapter.js",
5542 "line": 43,
5543 "description": "The resolver instance of the application\nbeing debugged. This property will be injected\non creation.",
5544 "itemtype": "property",
5545 "name": "resolver",
5546 "default": "null",
5547 "access": "public",
5548 "tagname": "",
5549 "class": "ContainerDebugAdapter",
5550 "module": "@ember/debug"
5551 },
5552 {
5553 "file": "packages/@ember/-internals/extension-support/lib/container_debug_adapter.js",
5554 "line": 54,
5555 "description": "Returns true if it is possible to catalog a list of available\nclasses in the resolver for a given type.",
5556 "itemtype": "method",
5557 "name": "canCatalogEntriesByType",
5558 "params": [
5559 {
5560 "name": "type",
5561 "description": "The type. e.g. \"model\", \"controller\", \"route\".",
5562 "type": "String"
5563 }
5564 ],
5565 "return": {
5566 "description": "whether a list is available for this type.",
5567 "type": "Boolean"
5568 },
5569 "access": "public",
5570 "tagname": "",
5571 "class": "ContainerDebugAdapter",
5572 "module": "@ember/debug"
5573 },
5574 {
5575 "file": "packages/@ember/-internals/extension-support/lib/container_debug_adapter.js",
5576 "line": 71,
5577 "description": "Returns the available classes a given type.",
5578 "itemtype": "method",
5579 "name": "catalogEntriesByType",
5580 "params": [
5581 {
5582 "name": "type",
5583 "description": "The type. e.g. \"model\", \"controller\", \"route\".",
5584 "type": "String"
5585 }
5586 ],
5587 "return": {
5588 "description": "An array of strings.",
5589 "type": "Array"
5590 },
5591 "access": "public",
5592 "tagname": "",
5593 "class": "ContainerDebugAdapter",
5594 "module": "@ember/debug"
5595 },
5596 {
5597 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5598 "line": 58,
5599 "description": "The container-debug-adapter which is used\nto list all models.",
5600 "itemtype": "property",
5601 "name": "containerDebugAdapter",
5602 "default": "undefined",
5603 "since": "1.5.0",
5604 "access": "public",
5605 "tagname": "",
5606 "class": "DataAdapter",
5607 "module": "@ember/debug"
5608 },
5609 {
5610 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5611 "line": 69,
5612 "description": "The number of attributes to send\nas columns. (Enough to make the record\nidentifiable).",
5613 "access": "private",
5614 "tagname": "",
5615 "itemtype": "property",
5616 "name": "attributeLimit",
5617 "default": "3",
5618 "since": "1.3.0",
5619 "class": "DataAdapter",
5620 "module": "@ember/debug"
5621 },
5622 {
5623 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5624 "line": 81,
5625 "description": "Ember Data > v1.0.0-beta.18\nrequires string model names to be passed\naround instead of the actual factories.\n\nThis is a stamp for the Ember Inspector\nto differentiate between the versions\nto be able to support older versions too.",
5626 "access": "public",
5627 "tagname": "",
5628 "itemtype": "property",
5629 "name": "acceptsModelName",
5630 "class": "DataAdapter",
5631 "module": "@ember/debug"
5632 },
5633 {
5634 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5635 "line": 95,
5636 "description": "Stores all methods that clear observers.\nThese methods will be called on destruction.",
5637 "access": "private",
5638 "tagname": "",
5639 "itemtype": "property",
5640 "name": "releaseMethods",
5641 "since": "1.3.0",
5642 "class": "DataAdapter",
5643 "module": "@ember/debug"
5644 },
5645 {
5646 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5647 "line": 105,
5648 "description": "Specifies how records can be filtered.\nRecords returned will need to have a `filterValues`\nproperty with a key for every name in the returned array.",
5649 "access": "public",
5650 "tagname": "",
5651 "itemtype": "method",
5652 "name": "getFilters",
5653 "return": {
5654 "description": "List of objects defining filters.\n The object should have a `name` and `desc` property.",
5655 "type": "Array"
5656 },
5657 "class": "DataAdapter",
5658 "module": "@ember/debug"
5659 },
5660 {
5661 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5662 "line": 119,
5663 "description": "Fetch the model types and observe them for changes.",
5664 "access": "public",
5665 "tagname": "",
5666 "itemtype": "method",
5667 "name": "watchModelTypes",
5668 "params": [
5669 {
5670 "name": "typesAdded",
5671 "description": "Callback to call to add types.\nTakes an array of objects containing wrapped types (returned from `wrapModelType`).",
5672 "type": "Function"
5673 },
5674 {
5675 "name": "typesUpdated",
5676 "description": "Callback to call when a type has changed.\nTakes an array of objects containing wrapped types.",
5677 "type": "Function"
5678 }
5679 ],
5680 "return": {
5681 "description": "Method to call to remove all observers",
5682 "type": "Function"
5683 },
5684 "class": "DataAdapter",
5685 "module": "@ember/debug"
5686 },
5687 {
5688 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5689 "line": 164,
5690 "description": "Fetch the records of a given type and observe them for changes.",
5691 "access": "public",
5692 "tagname": "",
5693 "itemtype": "method",
5694 "name": "watchRecords",
5695 "params": [
5696 {
5697 "name": "modelName",
5698 "description": "The model name.",
5699 "type": "String"
5700 },
5701 {
5702 "name": "recordsAdded",
5703 "description": "Callback to call to add records.\nTakes an array of objects containing wrapped records.\nThe object should have the following properties:\n columnValues: {Object} The key and value of a table cell.\n object: {Object} The actual record object.",
5704 "type": "Function"
5705 },
5706 {
5707 "name": "recordsUpdated",
5708 "description": "Callback to call when a record has changed.\nTakes an array of objects containing wrapped records.",
5709 "type": "Function"
5710 },
5711 {
5712 "name": "recordsRemoved",
5713 "description": "Callback to call when a record has removed.\nTakes the following parameters:\n index: The array index where the records were removed.\n count: The number of records removed.",
5714 "type": "Function"
5715 }
5716 ],
5717 "return": {
5718 "description": "Method to call to remove all observers.",
5719 "type": "Function"
5720 },
5721 "class": "DataAdapter",
5722 "module": "@ember/debug"
5723 },
5724 {
5725 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5726 "line": 236,
5727 "description": "Clear all observers before destruction",
5728 "access": "private",
5729 "tagname": "",
5730 "itemtype": "method",
5731 "name": "willDestroy",
5732 "class": "DataAdapter",
5733 "module": "@ember/debug"
5734 },
5735 {
5736 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5737 "line": 246,
5738 "description": "Detect whether a class is a model.\n\nTest that against the model class\nof your persistence library.",
5739 "access": "public",
5740 "tagname": "",
5741 "itemtype": "method",
5742 "name": "detect",
5743 "return": {
5744 "description": "boolean Whether the class is a model class or not."
5745 },
5746 "class": "DataAdapter",
5747 "module": "@ember/debug"
5748 },
5749 {
5750 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5751 "line": 260,
5752 "description": "Get the columns for a given model type.",
5753 "access": "public",
5754 "tagname": "",
5755 "itemtype": "method",
5756 "name": "columnsForType",
5757 "return": {
5758 "description": "An array of columns of the following format:\n name: {String} The name of the column.\n desc: {String} Humanized description (what would show in a table column name).",
5759 "type": "Array"
5760 },
5761 "class": "DataAdapter",
5762 "module": "@ember/debug"
5763 },
5764 {
5765 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5766 "line": 273,
5767 "description": "Adds observers to a model type class.",
5768 "access": "private",
5769 "tagname": "",
5770 "itemtype": "method",
5771 "name": "observeModelType",
5772 "params": [
5773 {
5774 "name": "modelName",
5775 "description": "The model type name.",
5776 "type": "String"
5777 },
5778 {
5779 "name": "typesUpdated",
5780 "description": "Called when a type is modified.",
5781 "type": "Function"
5782 }
5783 ],
5784 "return": {
5785 "description": "The function to call to remove observers.",
5786 "type": "Function"
5787 },
5788 "class": "DataAdapter",
5789 "module": "@ember/debug"
5790 },
5791 {
5792 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5793 "line": 311,
5794 "description": "Wraps a given model type and observes changes to it.",
5795 "access": "private",
5796 "tagname": "",
5797 "itemtype": "method",
5798 "name": "wrapModelType",
5799 "params": [
5800 {
5801 "name": "klass",
5802 "description": "A model class.",
5803 "type": "Class"
5804 },
5805 {
5806 "name": "modelName",
5807 "description": "Name of the class.",
5808 "type": "String"
5809 }
5810 ],
5811 "return": {
5812 "description": "Contains the wrapped type and the function to remove observers\nFormat:\n type: {Object} The wrapped type.\n The wrapped type has the following format:\n name: {String} The name of the type.\n count: {Integer} The number of records available.\n columns: {Columns} An array of columns to describe the record.\n object: {Class} The actual Model type class.\n release: {Function} The function to remove observers.",
5813 "type": "Object"
5814 },
5815 "class": "DataAdapter",
5816 "module": "@ember/debug"
5817 },
5818 {
5819 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5820 "line": 342,
5821 "description": "Fetches all models defined in the application.",
5822 "access": "private",
5823 "tagname": "",
5824 "itemtype": "method",
5825 "name": "getModelTypes",
5826 "return": {
5827 "description": "Array of model types.",
5828 "type": "Array"
5829 },
5830 "class": "DataAdapter",
5831 "module": "@ember/debug"
5832 },
5833 {
5834 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5835 "line": 371,
5836 "description": "Loops over all namespaces and all objects\nattached to them.",
5837 "access": "private",
5838 "tagname": "",
5839 "itemtype": "method",
5840 "name": "_getObjectsOnNamespaces",
5841 "return": {
5842 "description": "Array of model type strings.",
5843 "type": "Array"
5844 },
5845 "class": "DataAdapter",
5846 "module": "@ember/debug"
5847 },
5848 {
5849 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5850 "line": 400,
5851 "description": "Fetches all loaded records for a given type.",
5852 "access": "public",
5853 "tagname": "",
5854 "itemtype": "method",
5855 "name": "getRecords",
5856 "return": {
5857 "description": "An array of records.\n This array will be observed for changes,\n so it should update when new records are added/removed.",
5858 "type": "Array"
5859 },
5860 "class": "DataAdapter",
5861 "module": "@ember/debug"
5862 },
5863 {
5864 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5865 "line": 413,
5866 "description": "Wraps a record and observers changes to it.",
5867 "access": "private",
5868 "tagname": "",
5869 "itemtype": "method",
5870 "name": "wrapRecord",
5871 "params": [
5872 {
5873 "name": "record",
5874 "description": "The record instance.",
5875 "type": "Object"
5876 }
5877 ],
5878 "return": {
5879 "description": "The wrapped record. Format:\ncolumnValues: {Array}\nsearchKeywords: {Array}",
5880 "type": "Object"
5881 },
5882 "class": "DataAdapter",
5883 "module": "@ember/debug"
5884 },
5885 {
5886 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5887 "line": 434,
5888 "description": "Gets the values for each column.",
5889 "access": "public",
5890 "tagname": "",
5891 "itemtype": "method",
5892 "name": "getRecordColumnValues",
5893 "return": {
5894 "description": "Keys should match column names defined\nby the model type.",
5895 "type": "Object"
5896 },
5897 "class": "DataAdapter",
5898 "module": "@ember/debug"
5899 },
5900 {
5901 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5902 "line": 446,
5903 "description": "Returns keywords to match when searching records.",
5904 "access": "public",
5905 "tagname": "",
5906 "itemtype": "method",
5907 "name": "getRecordKeywords",
5908 "return": {
5909 "description": "Relevant keywords for search.",
5910 "type": "Array"
5911 },
5912 "class": "DataAdapter",
5913 "module": "@ember/debug"
5914 },
5915 {
5916 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5917 "line": 457,
5918 "description": "Returns the values of filters defined by `getFilters`.",
5919 "access": "public",
5920 "tagname": "",
5921 "itemtype": "method",
5922 "name": "getRecordFilterValues",
5923 "params": [
5924 {
5925 "name": "record",
5926 "description": "The record instance.",
5927 "type": "Object"
5928 }
5929 ],
5930 "return": {
5931 "description": "The filter values.",
5932 "type": "Object"
5933 },
5934 "class": "DataAdapter",
5935 "module": "@ember/debug"
5936 },
5937 {
5938 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5939 "line": 469,
5940 "description": "Each record can have a color that represents its state.",
5941 "access": "public",
5942 "tagname": "",
5943 "itemtype": "method",
5944 "name": "getRecordColor",
5945 "params": [
5946 {
5947 "name": "record",
5948 "description": "The record instance",
5949 "type": "Object"
5950 }
5951 ],
5952 "return": {
5953 "description": "The records color.\n Possible options: black, red, blue, green.",
5954 "type": "String"
5955 },
5956 "class": "DataAdapter",
5957 "module": "@ember/debug"
5958 },
5959 {
5960 "file": "packages/@ember/-internals/extension-support/lib/data_adapter.js",
5961 "line": 482,
5962 "description": "Observes all relevant properties and re-sends the wrapped record\nwhen a change occurs.",
5963 "access": "public",
5964 "tagname": "",
5965 "itemtype": "method",
5966 "name": "observerRecord",
5967 "return": {
5968 "description": "The function to call to remove all observers.",
5969 "type": "Function"
5970 },
5971 "class": "DataAdapter",
5972 "module": "@ember/debug"
5973 },
5974 {
5975 "file": "packages/@ember/-internals/glimmer/lib/component-managers/custom.ts",
5976 "line": 147,
5977 "description": "The CustomComponentManager allows addons to provide custom component\nimplementations that integrate seamlessly into Ember. This is accomplished\nthrough a delegate, registered with the custom component manager, which\nimplements a set of hooks that determine component behavior.\n\nTo create a custom component manager, instantiate a new CustomComponentManager\nclass and pass the delegate as the first argument:\n\n```js\nlet manager = new CustomComponentManager({\n // ...delegate implementation...\n});\n```\n\n## Delegate Hooks\n\nThroughout the lifecycle of a component, the component manager will invoke\ndelegate hooks that are responsible for surfacing those lifecycle changes to\nthe end developer.\n\n* `create()` - invoked when a new instance of a component should be created\n* `update()` - invoked when the arguments passed to a component change\n* `getContext()` - returns the object that should be",
5978 "class": "Checkbox",
5979 "module": "@ember/debug"
5980 },
5981 {
5982 "file": "packages/@ember/-internals/glimmer/lib/component-managers/custom.ts",
5983 "line": 383,
5984 "description": "Stores internal state about a component instance after it's been created.",
5985 "class": "Checkbox",
5986 "module": "@ember/debug"
5987 },
5988 {
5989 "file": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
5990 "line": 37,
5991 "description": "By default, this component will add the `ember-checkbox` class to the component's element.",
5992 "itemtype": "property",
5993 "name": "classNames",
5994 "type": "Array | String",
5995 "default": "['ember-checkbox']",
5996 "access": "public",
5997 "tagname": "",
5998 "class": "Checkbox",
5999 "module": "@ember/component"
6000 },
6001 {
6002 "file": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
6003 "line": 49,
6004 "description": "By default this component will forward a number of arguments to attributes on the the\ncomponent's element:\n\n* indeterminate\n* disabled\n* tabindex\n* name\n* autofocus\n* required\n* form\n\nWhen invoked with curly braces, this is the exhaustive list of HTML attributes you can\ncustomize (i.e. `{{input type=\"checkbox\" disabled=true}}`).\n\nWhen invoked with angle bracket invocation, this list is irrelevant, because you can use HTML\nattribute syntax to customize the element (i.e.\n`<Input @type=\"checkbox\" disabled data-custom=\"custom value\" />`). However, `@type` and\n`@checked` must be passed as named arguments, not attributes.",
6005 "itemtype": "property",
6006 "name": "attributeBindings",
6007 "type": "Array | String",
6008 "default": "['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form']",
6009 "access": "public",
6010 "tagname": "",
6011 "class": "Checkbox",
6012 "module": "@ember/component"
6013 },
6014 {
6015 "file": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
6016 "line": 86,
6017 "description": "Sets the `type` attribute of the `Checkbox`'s element",
6018 "itemtype": "property",
6019 "name": "disabled",
6020 "default": "false",
6021 "access": "private",
6022 "tagname": "",
6023 "class": "Checkbox",
6024 "module": "@ember/component"
6025 },
6026 {
6027 "file": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
6028 "line": 95,
6029 "description": "Sets the `disabled` attribute of the `Checkbox`'s element",
6030 "itemtype": "property",
6031 "name": "disabled",
6032 "default": "false",
6033 "access": "public",
6034 "tagname": "",
6035 "class": "Checkbox",
6036 "module": "@ember/component"
6037 },
6038 {
6039 "file": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
6040 "line": 104,
6041 "description": "Corresponds to the `indeterminate` property of the `Checkbox`'s element",
6042 "itemtype": "property",
6043 "name": "disabled",
6044 "default": "false",
6045 "access": "public",
6046 "tagname": "",
6047 "class": "Checkbox",
6048 "module": "@ember/component"
6049 },
6050 {
6051 "file": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
6052 "line": 113,
6053 "description": "Whenever the checkbox is inserted into the DOM, perform initialization steps, which include\nsetting the indeterminate property if needed.\n\nIf this method is overridden, `super` must be called.",
6054 "itemtype": "method",
6055 "name": "",
6056 "access": "public",
6057 "tagname": "",
6058 "class": "Checkbox",
6059 "module": "@ember/component"
6060 },
6061 {
6062 "file": "packages/@ember/-internals/glimmer/lib/components/checkbox.ts",
6063 "line": 127,
6064 "description": "Whenever the `change` event is fired on the checkbox, update its `checked` property to reflect\nwhether the checkbox is checked.\n\nIf this method is overridden, `super` must be called.",
6065 "itemtype": "method",
6066 "name": "",
6067 "access": "public",
6068 "tagname": "",
6069 "class": "Checkbox",
6070 "module": "@ember/component"
6071 },
6072 {
6073 "file": "packages/@ember/-internals/glimmer/lib/components/input.ts",
6074 "line": 9,
6075 "description": "See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).",
6076 "itemtype": "method",
6077 "name": "input",
6078 "params": [
6079 {
6080 "name": "options",
6081 "description": "",
6082 "type": "Hash"
6083 }
6084 ],
6085 "access": "public",
6086 "tagname": "",
6087 "class": "Ember.Templates.helpers",
6088 "module": "@ember/component"
6089 },
6090 {
6091 "file": "packages/@ember/-internals/glimmer/lib/components/input.ts",
6092 "line": 18,
6093 "description": "The `Input` component lets you create an HTML `<input>` element.\n\n```handlebars\n<Input @value=\"987\" />\n```\n\ncreates an `<input>` element with `type=\"text\"` and value set to 987.\n\n### Text field\n\nIf no `type` argument is specified, a default of type 'text' is used.\n\n```handlebars\nSearch:\n<Input @value={{this.searchWord}} />\n```\n\nIn this example, the initial value in the `<input>` will be set to the value of\n`this.searchWord`. If the user changes the text, the value of `this.searchWord` will also be\nupdated.\n\n### Actions\n\nThe `Input` component takes a number of arguments with callbacks that are invoked in response to\nuser events.\n\n* `enter`\n* `insert-newline`\n* `escape-press`\n* `focus-in`\n* `focus-out`\n* `key-down`\n* `key-press`\n* `key-up`\n\nThese callbacks are passed to `Input` like this:\n\n```handlebars\n<Input @value={{this.searchWord}} @enter={{this.query}} />\n```\n\n### `<input>` HTML Attributes to Avoid\n\nIn most cases, if you want to pass an attribute to the underlying HTML `<input>` element, you\ncan pass the attribute directly, just like any other Ember component.\n\n```handlebars\n<Input @type=\"text\" size=\"10\" />\n```\n\nIn this example, the `size` attribute will be applied to the underlying `<input>` element in the\noutputted HTML.\n\nHowever, there are a few attributes where you **must** use the `@` version.\n\n* `@type`: This argument is used to control which Ember component is used under the hood\n* `@value`: The `@value` argument installs a two-way binding onto the element. If you wanted a\n one-way binding, use `<input>` with the `value` property and the `input` event instead.\n* `@checked` (for checkboxes): like `@value`, the `@checked` argument installs a two-way binding\n onto the element. If you wanted a one-way binding, use `<input type=\"checkbox\">` with\n `checked` and the `input` event instead.\n\n### Extending `TextField`\n\nInternally, `<Input @type=\"text\" />` creates an instance of `TextField`, passing arguments from\nthe helper to `TextField`'s `create` method. Subclassing `TextField` is supported but not\nrecommended.\n\nSee [TextField](/ember/release/classes/TextField)\n\n### Checkbox\n\nTo create an `<input type=\"checkbox\">`:\n\n```handlebars\nEmberize Everything:\n<Input @type=\"checkbox\" @checked={{this.isEmberized}} name=\"isEmberized\" />\n```\n\nThis will bind the checked state of this checkbox to the value of `isEmberized` -- if either one\nchanges, it will be reflected in the other.\n\n### Extending `Checkbox`\n\nInternally, `<Input @type=\"checkbox\" />` creates an instance of `Checkbox`. Subclassing\n`TextField` is supported but not recommended.\n\nSee [Checkbox](/ember/release/classes/Checkbox)",
6094 "itemtype": "method",
6095 "name": "Input",
6096 "see": [
6097 "{TextField}",
6098 "{Checkbox}"
6099 ],
6100 "params": [
6101 {
6102 "name": "options",
6103 "description": "",
6104 "type": "Hash"
6105 }
6106 ],
6107 "access": "public",
6108 "tagname": "",
6109 "class": "Ember.Templates.components",
6110 "module": "@ember/component"
6111 },
6112 {
6113 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6114 "line": 14,
6115 "description": "The `LinkTo` component renders a link to the supplied `routeName` passing an optionally\nsupplied model to the route as its `model` context of the route. The block for `LinkTo`\nbecomes the contents of the rendered element:\n\n```handlebars\n<LinkTo @route='photoGallery'>\n Great Hamster Photos\n</LinkTo>\n```\n\nThis will result in:\n\n```html\n<a href=\"/hamster-photos\">\n Great Hamster Photos\n</a>\n```\n\n### Disabling the `LinkTo` component\n\nThe `LinkTo` component can be disabled by using the `disabled` argument. A disabled link\ndoesn't result in a transition when activated, and adds the `disabled` class to the `<a>`\nelement.\n\n(The class name to apply to the element can be overridden by using the `disabledClass`\nargument)\n\n```handlebars\n<LinkTo @route='photoGallery' @disabled={{true}}>\n Great Hamster Photos\n</LinkTo>\n```\n\n### Handling `href`\n\n`<LinkTo>` will use your application's Router to fill the element's `href` property with a URL\nthat matches the path to the supplied `routeName`.\n\n### Handling current route\n\nThe `LinkTo` component will apply a CSS class name of 'active' when the application's current\nroute matches the supplied routeName. For example, if the application's current route is\n'photoGallery.recent', then the following invocation of `LinkTo`:\n\n```handlebars\n<LinkTo @route='photoGallery.recent'>\n Great Hamster Photos\n</LinkTo>\n```\n\nwill result in\n\n```html\n<a href=\"/hamster-photos/this-week\" class=\"active\">\n Great Hamster Photos\n</a>\n```\n\nThe CSS class used for active classes can be customized by passing an `activeClass` argument:\n\n```handlebars\n<LinkTo @route='photoGallery.recent' @activeClass=\"current-url\">\n Great Hamster Photos\n</LinkTo>\n```\n\n```html\n<a href=\"/hamster-photos/this-week\" class=\"current-url\">\n Great Hamster Photos\n</a>\n```\n\n### Keeping a link active for other routes\n\nIf you need a link to be 'active' even when it doesn't match the current route, you can use the\n`current-when` argument.\n\n```handlebars\n<LinkTo @route='photoGallery' @current-when='photos'>\n Photo Gallery\n</LinkTo>\n```\n\nThis may be helpful for keeping links active for:\n\n* non-nested routes that are logically related\n* some secondary menu approaches\n* 'top navigation' with 'sub navigation' scenarios\n\nA link will be active if `current-when` is `true` or the current\nroute is the route this link would transition to.\n\nTo match multiple routes 'space-separate' the routes:\n\n```handlebars\n<LinkTo @route='gallery' @current-when='photos drawings paintings'>\n Art Gallery\n</LinkTo>\n```\n\n### Supplying a model\n\nAn optional `model` argument can be used for routes whose\npaths contain dynamic segments. This argument will become\nthe model context of the linked route:\n\n```javascript\nRouter.map(function() {\n this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n});\n```\n\n```handlebars\n<LinkTo @route='photoGallery' @model={{this.aPhoto}}>\n {{aPhoto.title}}\n</LinkTo>\n```\n\n```html\n<a href=\"/hamster-photos/42\">\n Tomster\n</a>\n```\n\n### Supplying multiple models\n\nFor deep-linking to route paths that contain multiple\ndynamic segments, the `models` argument can be used.\n\nAs the router transitions through the route path, each\nsupplied model argument will become the context for the\nroute with the dynamic segments:\n\n```javascript\nRouter.map(function() {\n this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" }, function() {\n this.route(\"comment\", {path: \"comments/:comment_id\"});\n });\n});\n```\n\nThis argument will become the model context of the linked route:\n\n```handlebars\n<LinkTo @route='photoGallery.comment' @models={{array this.aPhoto this.comment}}>\n {{comment.body}}\n</LinkTo>\n```\n\n```html\n<a href=\"/hamster-photos/42/comments/718\">\n A+++ would snuggle again.\n</a>\n```\n\n### Supplying an explicit dynamic segment value\n\nIf you don't have a model object available to pass to `LinkTo`,\nan optional string or integer argument can be passed for routes whose\npaths contain dynamic segments. This argument will become the value\nof the dynamic segment:\n\n```javascript\nRouter.map(function() {\n this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n});\n```\n\n```handlebars\n<LinkTo @route='photoGallery' @model={{aPhotoId}}>\n {{this.aPhoto.title}}\n</LinkTo>\n```\n\n```html\n<a href=\"/hamster-photos/42\">\n Tomster\n</a>\n```\n\nWhen transitioning into the linked route, the `model` hook will\nbe triggered with parameters including this passed identifier.\n\n### Allowing Default Action\n\nBy default the `<LinkTo>` component prevents the default browser action by calling\n`preventDefault()` to avoid reloading the browser page.\n\nIf you need to trigger a full browser reload pass `@preventDefault={{false}}`:\n\n```handlebars\n<LinkTo @route='photoGallery' @model={{this.aPhotoId}} @preventDefault={{false}}>\n {{this.aPhotoId.title}}\n</LinkTo>\n```\n\n### Supplying a `tagName`\n\nBy default `<LinkTo>` renders an `<a>` element. This can be overridden for a single use of\n`<LinkTo>` by supplying a `tagName` argument:\n\n```handlebars\n<LinkTo @route='photoGallery' @tagName='li'>\n Great Hamster Photos\n</LinkTo>\n```\n\nThis produces:\n\n```html\n<li>\n Great Hamster Photos\n</li>\n```\n\nIn general, this is not recommended. Instead, you can use the `transition-to` helper together\nwith a click event handler on the HTML tag of your choosing.",
6116 "itemtype": "method",
6117 "name": "LinkTo",
6118 "see": [
6119 "{LinkComponent}"
6120 ],
6121 "access": "public",
6122 "tagname": "",
6123 "class": "Ember.Templates.components",
6124 "module": "ember"
6125 },
6126 {
6127 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6128 "line": 243,
6129 "description": "See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).",
6130 "itemtype": "method",
6131 "name": "link-to",
6132 "see": [
6133 "{Ember.Templates.components.LinkTo}"
6134 ],
6135 "access": "public",
6136 "tagname": "",
6137 "class": "Ember.Templates.helpers",
6138 "module": "@ember/routing"
6139 },
6140 {
6141 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6142 "line": 274,
6143 "itemtype": "property",
6144 "name": "route",
6145 "access": "public",
6146 "tagname": "",
6147 "class": "LinkComponent",
6148 "module": "@ember/routing"
6149 },
6150 {
6151 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6152 "line": 280,
6153 "itemtype": "property",
6154 "name": "model",
6155 "access": "public",
6156 "tagname": "",
6157 "class": "LinkComponent",
6158 "module": "@ember/routing"
6159 },
6160 {
6161 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6162 "line": 286,
6163 "itemtype": "property",
6164 "name": "models",
6165 "access": "public",
6166 "tagname": "",
6167 "class": "LinkComponent",
6168 "module": "@ember/routing"
6169 },
6170 {
6171 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6172 "line": 292,
6173 "itemtype": "property",
6174 "name": "query",
6175 "access": "public",
6176 "tagname": "",
6177 "class": "LinkComponent",
6178 "module": "@ember/routing"
6179 },
6180 {
6181 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6182 "line": 298,
6183 "description": "Used to determine when this `LinkComponent` is active.",
6184 "itemtype": "property",
6185 "name": "current-when",
6186 "access": "public",
6187 "tagname": "",
6188 "class": "LinkComponent",
6189 "module": "@ember/routing"
6190 },
6191 {
6192 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6193 "line": 306,
6194 "description": "Sets the `title` attribute of the `LinkComponent`'s HTML element.",
6195 "itemtype": "property",
6196 "name": "title",
6197 "default": "null",
6198 "access": "public",
6199 "tagname": "",
6200 "class": "LinkComponent",
6201 "module": "@ember/routing"
6202 },
6203 {
6204 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6205 "line": 315,
6206 "description": "Sets the `rel` attribute of the `LinkComponent`'s HTML element.",
6207 "itemtype": "property",
6208 "name": "rel",
6209 "default": "null",
6210 "access": "public",
6211 "tagname": "",
6212 "class": "LinkComponent",
6213 "module": "@ember/routing"
6214 },
6215 {
6216 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6217 "line": 324,
6218 "description": "Sets the `tabindex` attribute of the `LinkComponent`'s HTML element.",
6219 "itemtype": "property",
6220 "name": "tabindex",
6221 "default": "null",
6222 "access": "public",
6223 "tagname": "",
6224 "class": "LinkComponent",
6225 "module": "@ember/routing"
6226 },
6227 {
6228 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6229 "line": 333,
6230 "description": "Sets the `target` attribute of the `LinkComponent`'s HTML element.",
6231 "since": "1.8.0",
6232 "itemtype": "property",
6233 "name": "target",
6234 "default": "null",
6235 "access": "public",
6236 "tagname": "",
6237 "class": "LinkComponent",
6238 "module": "@ember/routing"
6239 },
6240 {
6241 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6242 "line": 343,
6243 "description": "The CSS class to apply to `LinkComponent`'s element when its `active`\nproperty is `true`.",
6244 "itemtype": "property",
6245 "name": "activeClass",
6246 "type": "String",
6247 "default": "active",
6248 "access": "public",
6249 "tagname": "",
6250 "class": "LinkComponent",
6251 "module": "@ember/routing"
6252 },
6253 {
6254 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6255 "line": 354,
6256 "description": "The CSS class to apply to `LinkComponent`'s element when its `loading`\nproperty is `true`.",
6257 "itemtype": "property",
6258 "name": "loadingClass",
6259 "type": "String",
6260 "default": "loading",
6261 "access": "private",
6262 "tagname": "",
6263 "class": "LinkComponent",
6264 "module": "@ember/routing"
6265 },
6266 {
6267 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6268 "line": 365,
6269 "description": "The CSS class to apply to a `LinkComponent`'s element when its `disabled`\nproperty is `true`.",
6270 "itemtype": "property",
6271 "name": "disabledClass",
6272 "type": "String",
6273 "default": "disabled",
6274 "access": "private",
6275 "tagname": "",
6276 "class": "LinkComponent",
6277 "module": "@ember/routing"
6278 },
6279 {
6280 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6281 "line": 376,
6282 "description": "Determines whether the `LinkComponent` will trigger routing via\nthe `replaceWith` routing strategy.",
6283 "itemtype": "property",
6284 "name": "replace",
6285 "type": "Boolean",
6286 "default": "false",
6287 "access": "public",
6288 "tagname": "",
6289 "class": "LinkComponent",
6290 "module": "@ember/routing"
6291 },
6292 {
6293 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6294 "line": 387,
6295 "description": "By default this component will forward `href`, `title`, `rel`, `tabindex`, and `target`\narguments to attributes on the component's element. When invoked with `{{link-to}}`, you can\nonly customize these attributes. When invoked with `<LinkTo>`, you can just use HTML\nattributes directly.",
6296 "itemtype": "property",
6297 "name": "attributeBindings",
6298 "type": "Array | String",
6299 "default": "['title', 'rel', 'tabindex', 'target']",
6300 "access": "public",
6301 "tagname": "",
6302 "class": "LinkComponent",
6303 "module": "@ember/routing"
6304 },
6305 {
6306 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6307 "line": 400,
6308 "description": "By default this component will set classes on its element when any of the following arguments\nare truthy:\n\n* active\n* loading\n* disabled\n\nWhen these arguments are truthy, a class with the same name will be set on the element. When\nfalsy, the associated class will not be on the element.",
6309 "itemtype": "property",
6310 "name": "classNameBindings",
6311 "type": "Array",
6312 "default": "['active', 'loading', 'disabled', 'ember-transitioning-in', 'ember-transitioning-out']",
6313 "access": "public",
6314 "tagname": "",
6315 "class": "LinkComponent",
6316 "module": "@ember/routing"
6317 },
6318 {
6319 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6320 "line": 418,
6321 "description": "By default this component responds to the `click` event. When the component element is an\n`<a>` element, activating the link in another way, such as using the keyboard, triggers the\nclick event.",
6322 "itemtype": "property",
6323 "name": "eventName",
6324 "type": "String",
6325 "default": "click",
6326 "access": "private",
6327 "tagname": "",
6328 "class": "LinkComponent",
6329 "module": "@ember/routing"
6330 },
6331 {
6332 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6333 "line": 433,
6334 "description": "Triggers the `LinkComponent`'s routing behavior. If\n`eventName` is changed to a value other than `click`\nthe routing behavior will trigger on that custom event\ninstead.",
6335 "itemtype": "event",
6336 "name": "click",
6337 "access": "private",
6338 "tagname": "",
6339 "class": "LinkComponent",
6340 "module": "@ember/routing"
6341 },
6342 {
6343 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6344 "line": 443,
6345 "description": "An overridable method called when `LinkComponent` objects are instantiated.\n\nExample:\n\n```app/components/my-link.js\nimport LinkComponent from '@ember/routing/link-component';\n\nexport default LinkComponent.extend({\n init() {\n this._super(...arguments);\n console.log('Event is ' + this.get('eventName'));\n }\n});\n```\n\nNOTE: If you do override `init` for a framework class like `Component`,\nbe sure to call `this._super(...arguments)` in your\n`init` declaration! If you don't, Ember may not have an opportunity to\ndo important setup work, and you'll see strange behavior in your\napplication.",
6346 "itemtype": "method",
6347 "name": "init",
6348 "access": "private",
6349 "tagname": "",
6350 "class": "LinkComponent",
6351 "module": "@ember/routing"
6352 },
6353 {
6354 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6355 "line": 514,
6356 "description": "Accessed as a classname binding to apply the component's `disabledClass`\nCSS `class` to the element when the link is disabled.\n\nWhen `true`, interactions with the element will not trigger route changes.",
6357 "itemtype": "property",
6358 "name": "disabled",
6359 "access": "private",
6360 "tagname": "",
6361 "class": "LinkComponent",
6362 "module": "@ember/routing"
6363 },
6364 {
6365 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6366 "line": 537,
6367 "description": "Accessed as a classname binding to apply the component's `activeClass`\nCSS `class` to the element when the link is active.\n\nThis component is considered active when its `currentWhen` property is `true`\nor the application's current route is the route this component would trigger\ntransitions into.\n\nThe `currentWhen` property can match against multiple routes by separating\nroute names using the ` ` (space) character.",
6368 "itemtype": "property",
6369 "name": "active",
6370 "access": "private",
6371 "tagname": "",
6372 "class": "LinkComponent",
6373 "module": "@ember/routing"
6374 },
6375 {
6376 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6377 "line": 648,
6378 "description": "Event handler that invokes the link, activating the associated route.",
6379 "itemtype": "method",
6380 "name": "_invoke",
6381 "params": [
6382 {
6383 "name": "event",
6384 "description": "",
6385 "type": "Event"
6386 }
6387 ],
6388 "access": "private",
6389 "tagname": "",
6390 "class": "LinkComponent",
6391 "module": "@ember/routing"
6392 },
6393 {
6394 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6395 "line": 727,
6396 "description": "Sets the element's `href` attribute to the url for\nthe `LinkComponent`'s targeted route.\n\nIf the `LinkComponent`'s `tagName` is changed to a value other\nthan `a`, this property will be ignored.",
6397 "itemtype": "property",
6398 "name": "href",
6399 "access": "private",
6400 "tagname": "",
6401 "class": "LinkComponent",
6402 "module": "@ember/routing"
6403 },
6404 {
6405 "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
6406 "line": 810,
6407 "description": "The default href value to use while a link-to is loading.\nOnly applies when tagName is 'a'",
6408 "itemtype": "property",
6409 "name": "loadingHref",
6410 "type": "String",
6411 "default": "#",
6412 "access": "private",
6413 "tagname": "",
6414 "class": "LinkComponent",
6415 "module": "@ember/routing"
6416 },
6417 {
6418 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
6419 "line": 51,
6420 "description": "By default, this component will add the `ember-text-field` class to the component's element.",
6421 "itemtype": "property",
6422 "name": "classNames",
6423 "type": "Array | String",
6424 "default": "['ember-text-field']",
6425 "access": "public",
6426 "tagname": "",
6427 "class": "TextField",
6428 "module": "@ember/component"
6429 },
6430 {
6431 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
6432 "line": 62,
6433 "description": "By default this component will forward a number of arguments to attributes on the the\ncomponent's element:\n\n* accept\n* autocomplete\n* autosave\n* dir\n* formaction\n* formenctype\n* formmethod\n* formnovalidate\n* formtarget\n* height\n* inputmode\n* lang\n* list\n* type\n* max\n* min\n* multiple\n* name\n* pattern\n* size\n* step\n* value\n* width\n\nWhen invoked with `{{input type=\"text\"}}`, you can only customize these attributes. When invoked\nwith `<Input @type=\"text\" />`, you can just use HTML attributes directly.",
6434 "itemtype": "property",
6435 "name": "attributeBindings",
6436 "type": "Array | String",
6437 "default": "['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width']",
6438 "access": "public",
6439 "tagname": "",
6440 "class": "TextField",
6441 "module": "@ember/component"
6442 },
6443 {
6444 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
6445 "line": 124,
6446 "description": "As the user inputs text, this property is updated to reflect the `value` property of the HTML\nelement.",
6447 "itemtype": "property",
6448 "name": "value",
6449 "type": "String",
6450 "default": "\"\"",
6451 "access": "public",
6452 "tagname": "",
6453 "class": "TextField",
6454 "module": "@ember/component"
6455 },
6456 {
6457 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
6458 "line": 135,
6459 "description": "The `type` attribute of the input element.",
6460 "itemtype": "property",
6461 "name": "type",
6462 "type": "String",
6463 "default": "\"text\"",
6464 "access": "public",
6465 "tagname": "",
6466 "class": "TextField",
6467 "module": "@ember/component"
6468 },
6469 {
6470 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
6471 "line": 159,
6472 "description": "The `size` of the text field in characters.",
6473 "itemtype": "property",
6474 "name": "size",
6475 "type": "String",
6476 "default": "null",
6477 "access": "public",
6478 "tagname": "",
6479 "class": "TextField",
6480 "module": "@ember/component"
6481 },
6482 {
6483 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
6484 "line": 169,
6485 "description": "The `pattern` attribute of input element.",
6486 "itemtype": "property",
6487 "name": "pattern",
6488 "type": "String",
6489 "default": "null",
6490 "access": "public",
6491 "tagname": "",
6492 "class": "TextField",
6493 "module": "@ember/component"
6494 },
6495 {
6496 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
6497 "line": 179,
6498 "description": "The `min` attribute of input element used with `type=\"number\"` or `type=\"range\"`.",
6499 "itemtype": "property",
6500 "name": "min",
6501 "type": "String",
6502 "default": "null",
6503 "since": "1.4.0",
6504 "access": "public",
6505 "tagname": "",
6506 "class": "TextField",
6507 "module": "@ember/component"
6508 },
6509 {
6510 "file": "packages/@ember/-internals/glimmer/lib/components/text-field.ts",
6511 "line": 190,
6512 "description": "The `max` attribute of input element used with `type=\"number\"` or `type=\"range\"`.",
6513 "itemtype": "property",
6514 "name": "max",
6515 "type": "String",
6516 "default": "null",
6517 "since": "1.4.0",
6518 "access": "public",
6519 "tagname": "",
6520 "class": "TextField",
6521 "module": "@ember/component"
6522 },
6523 {
6524 "file": "packages/@ember/-internals/glimmer/lib/components/textarea.ts",
6525 "line": 8,
6526 "description": "The `Textarea` component inserts a new instance of `<textarea>` tag into the template.\n\nThe `@value` argument provides the content of the `<textarea>`.\n\nThis template:\n\n```handlebars\n<Textarea @value=\"A bunch of text\" />\n```\n\nWould result in the following HTML:\n\n```html\n<textarea class=\"ember-text-area\">\n A bunch of text\n</textarea>\n```\n\nThe `@value` argument is two-way bound. If the user types text into the textarea, the `@value`\nargument is updated. If the `@value` argument is updated, the text in the textarea is updated.\n\nIn the following example, the `writtenWords` property on the component will be updated as the user\ntypes 'Lots of text' into the text area of their browser's window.\n\n```app/components/word-editor.js\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class WordEditorComponent extends Component {\n @tracked writtenWords = \"Lots of text that IS bound\";\n}\n```\n\n```handlebars\n<Textarea @value={{writtenWords}} />\n```\n\nWould result in the following HTML:\n\n```html\n<textarea class=\"ember-text-area\">\n Lots of text that IS bound\n</textarea>\n```\n\nIf you wanted a one way binding, you could use the `<textarea>` element directly, and use the\n`value` DOM property and the `input` event.\n\n### Actions\n\nThe `Textarea` component takes a number of arguments with callbacks that are invoked in\nresponse to user events.\n\n* `enter`\n* `insert-newline`\n* `escape-press`\n* `focus-in`\n* `focus-out`\n* `key-press`\n\nThese callbacks are passed to `Textarea` like this:\n\n```handlebars\n<Textarea @value={{this.searchWord}} @enter={{this.query}} />\n```\n\n## Classic Invocation Syntax\n\nThe `Textarea` component can also be invoked using curly braces, just like any other Ember\ncomponent.\n\nFor example, this is an invocation using angle-bracket notation:\n\n```handlebars\n<Textarea @value={{this.searchWord}} @enter={{this.query}} />\n```\n\nYou could accomplish the same thing using classic invocation:\n\n```handlebars\n{{textarea value=this.searchWord enter=this.query}}\n```\n\nThe main difference is that angle-bracket invocation supports any HTML attribute using HTML\nattribute syntax, because attributes and arguments have different syntax when using angle-bracket\ninvocation. Curly brace invocation, on the other hand, only has a single syntax for arguments,\nand components must manually map attributes onto component arguments.\n\nWhen using classic invocation with `{{textarea}}`, only the following attributes are mapped onto\narguments:\n\n* rows\n* cols\n* name\n* selectionEnd\n* selectionStart\n* autocomplete\n* wrap\n* lang\n* dir\n* value\n\n## Classic `layout` and `layoutName` properties\n\nBecause HTML `textarea` elements do not contain inner HTML the `layout` and\n`layoutName` properties will not be applied.",
6527 "itemtype": "method",
6528 "name": "Textarea",
6529 "see": [
6530 "{TextArea}"
6531 ],
6532 "access": "public",
6533 "tagname": "",
6534 "class": "Ember.Templates.components",
6535 "module": "@ember/component"
6536 },
6537 {
6538 "file": "packages/@ember/-internals/glimmer/lib/components/textarea.ts",
6539 "line": 122,
6540 "description": "See Ember.Templates.components.Textarea.",
6541 "itemtype": "method",
6542 "name": "textarea",
6543 "see": [
6544 "{Ember.Templates.components.textarea}"
6545 ],
6546 "access": "public",
6547 "tagname": "",
6548 "class": "Ember.Templates.helpers",
6549 "module": "@ember/component"
6550 },
6551 {
6552 "file": "packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts",
6553 "line": 10,
6554 "description": "This reference is used to get the `[]` tag of iterables, so we can trigger\nupdates to `{{each}}` when it changes. It is put into place by a template\ntransform at build time, similar to the (-each-in) helper",
6555 "class": "Ember.Templates.helpers",
6556 "module": "ember"
6557 },
6558 {
6559 "file": "packages/@ember/-internals/glimmer/lib/helpers/action.ts",
6560 "line": 18,
6561 "description": "The `{{action}}` helper provides a way to pass triggers for behavior (usually\njust a function) between components, and into components from controllers.\n\n### Passing functions with the action helper\n\nThere are three contexts an action helper can be used in. The first two\ncontexts to discuss are attribute context, and Handlebars value context.\n\n```handlebars\n{{! An example of attribute context }}\n<div onclick={{action \"save\"}}></div>\n{{! Examples of Handlebars value context }}\n{{input on-input=(action \"save\")}}\n{{yield (action \"refreshData\") andAnotherParam}}\n```\n\nIn these contexts,\nthe helper is called a \"closure action\" helper. Its behavior is simple:\nIf passed a function name, read that function off the `actions` property\nof the current context. Once that function is read, or immediately if a function was\npassed, create a closure over that function and any arguments.\nThe resulting value of an action helper used this way is simply a function.\n\nFor example, in the attribute context:\n\n```handlebars\n{{! An example of attribute context }}\n<div onclick={{action \"save\"}}></div>\n```\n\nThe resulting template render logic would be:\n\n```js\nvar div = document.createElement('div');\nvar actionFunction = (function(context){\n return function() {\n return context.actions.save.apply(context, arguments);\n };\n})(context);\ndiv.onclick = actionFunction;\n```\n\nThus when the div is clicked, the action on that context is called.\nBecause the `actionFunction` is just a function, closure actions can be\npassed between components and still execute in the correct context.\n\nHere is an example action handler on a component:\n\n```app/components/my-component.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class extends Component {\n @action\n save() {\n this.model.save();\n }\n}\n```\n\nActions are always looked up on the `actions` property of the current context.\nThis avoids collisions in the naming of common actions, such as `destroy`.\nTwo options can be passed to the `action` helper when it is used in this way.\n\n* `target=someProperty` will look to `someProperty` instead of the current\n context for the `actions` hash. This can be useful when targeting a\n service for actions.\n* `value=\"target.value\"` will read the path `target.value` off the first\n argument to the action when it is called and rewrite the first argument\n to be that value. This is useful when attaching actions to event listeners.\n\n### Invoking an action\n\nClosure actions curry both their scope and any arguments. When invoked, any\nadditional arguments are added to the already curried list.\nActions should be invoked using the [sendAction](/ember/release/classes/Component/methods/sendAction?anchor=sendAction)\nmethod. The first argument to `sendAction` is the action to be called, and\nadditional arguments are passed to the action function. This has interesting\nproperties combined with currying of arguments. For example:\n\n```app/components/update-name.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class extends Component {\n @action\n setName(model, name) {\n model.set('name', name);\n }\n}\n```\n\n```app/components/update-name.hbs\n{{input on-input=(action (action 'setName' @model) value=\"target.value\")}}\n```\n\nThe first argument (`@model`) was curried over, and the run-time argument (`event`)\nbecomes a second argument. Action calls can be nested this way because each simply\nreturns a function. Any function can be passed to the `{{action}}` helper, including\nother actions.\n\nActions invoked with `sendAction` have the same currying behavior as demonstrated\nwith `on-input` above. For example:\n\n```app/components/my-input.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class extends Component {\n @action\n setName(model, name) {\n model.set('name', name);\n }\n}\n```\n\n```handlebars\n<MyInput @submit={{action 'setName' @model}} />\n```\n\nor\n\n```handlebars\n{{my-input submit=(action 'setName' @model)}}\n```\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n click() {\n // Note that model is not passed, it was curried in the template\n this.sendAction('submit', 'bob');\n }\n});\n```\n\n### Attaching actions to DOM elements\n\nThe third context of the `{{action}}` helper can be called \"element space\".\nFor example:\n\n```handlebars\n{{! An example of element space }}\n<div {{action \"save\"}}></div>\n```\n\nUsed this way, the `{{action}}` helper provides a useful shortcut for\nregistering an HTML element in a template for a single DOM event and\nforwarding that interaction to the template's context (controller or component).\nIf the context of a template is a controller, actions used this way will\nbubble to routes when the controller does not implement the specified action.\nOnce an action hits a route, it will bubble through the route hierarchy.\n\n### Event Propagation\n\n`{{action}}` helpers called in element space can control event bubbling. Note\nthat the closure style actions cannot.\n\nEvents triggered through the action helper will automatically have\n`.preventDefault()` called on them. You do not need to do so in your event\nhandlers. If you need to allow event propagation (to handle file inputs for\nexample) you can supply the `preventDefault=false` option to the `{{action}}` helper:\n\n```handlebars\n<div {{action \"sayHello\" preventDefault=false}}>\n <input type=\"file\" />\n <input type=\"checkbox\" />\n</div>\n```\n\nTo disable bubbling, pass `bubbles=false` to the helper:\n\n```handlebars\n<button {{action 'edit' post bubbles=false}}>Edit</button>\n```\n\nTo disable bubbling with closure style actions you must create your own\nwrapper helper that makes use of `event.stopPropagation()`:\n\n```handlebars\n<div onclick={{disable-bubbling (action \"sayHello\")}}>Hello</div>\n```\n\n```app/helpers/disable-bubbling.js\nimport { helper } from '@ember/component/helper';\n\nexport function disableBubbling([action]) {\n return function(event) {\n event.stopPropagation();\n return action(event);\n };\n}\nexport default helper(disableBubbling);\n```\n\nIf you need the default handler to trigger you should either register your\nown event handler, or use event methods on your view class. See\n[\"Responding to Browser Events\"](/ember/release/classes/Component)\nin the documentation for `Component` for more information.\n\n### Specifying DOM event type\n\n`{{action}}` helpers called in element space can specify an event type.\nBy default the `{{action}}` helper registers for DOM `click` events. You can\nsupply an `on` option to the helper to specify a different DOM event name:\n\n```handlebars\n<div {{action \"anActionName\" on=\"doubleClick\"}}>\n click me\n</div>\n```\n\nSee [\"Event Names\"](/ember/release/classes/Component) for a list of\nacceptable DOM event names.\n\n### Specifying whitelisted modifier keys\n\n`{{action}}` helpers called in element space can specify modifier keys.\nBy default the `{{action}}` helper will ignore click events with pressed modifier\nkeys. You can supply an `allowedKeys` option to specify which keys should not be ignored.\n\n```handlebars\n<div {{action \"anActionName\" allowedKeys=\"alt\"}}>\n click me\n</div>\n```\n\nThis way the action will fire when clicking with the alt key pressed down.\nAlternatively, supply \"any\" to the `allowedKeys` option to accept any combination of modifier keys.\n\n```handlebars\n<div {{action \"anActionName\" allowedKeys=\"any\"}}>\n click me with any key pressed\n</div>\n```\n\n### Specifying a Target\n\nA `target` option can be provided to the helper to change\nwhich object will receive the method call. This option must be a path\nto an object, accessible in the current context:\n\n```app/templates/application.hbs\n<div {{action \"anActionName\" target=someService}}>\n click me\n</div>\n```\n\n```app/controllers/application.js\nimport Controller from '@ember/controller';\nimport { inject as service } from '@ember/service';\n\nexport default class extends Controller {\n @service someService;\n}\n```",
6562 "itemtype": "method",
6563 "name": "action",
6564 "access": "public",
6565 "tagname": "",
6566 "class": "Ember.Templates.helpers",
6567 "module": "ember"
6568 },
6569 {
6570 "file": "packages/@ember/-internals/glimmer/lib/helpers/array.ts",
6571 "line": 8,
6572 "description": "Use the `{{array}}` helper to create an array to pass as an option to your\ncomponents.\n\n```handlebars\n<MyComponent @people={{array\n 'Tom Dade'\n 'Yehuda Katz'\n this.myOtherPerson}}\n/>\n```\n or\n```handlebars\n{{my-component people=(array\n 'Tom Dade'\n 'Yehuda Katz'\n this.myOtherPerson)\n}}\n```\n\nWould result in an object such as:\n\n```js\n['Tom Date', 'Yehuda Katz', this.get('myOtherPerson')]\n```\n\nWhere the 3rd item in the array is bound to updates of the `myOtherPerson` property.",
6573 "itemtype": "method",
6574 "name": "array",
6575 "params": [
6576 {
6577 "name": "options",
6578 "description": "",
6579 "type": "Array"
6580 }
6581 ],
6582 "return": {
6583 "description": "Array",
6584 "type": "Array"
6585 },
6586 "since": "3.8.0",
6587 "access": "public",
6588 "tagname": "",
6589 "class": "Ember.Templates.helpers",
6590 "module": "ember"
6591 },
6592 {
6593 "file": "packages/@ember/-internals/glimmer/lib/helpers/component.ts",
6594 "line": 5,
6595 "description": "The `{{component}}` helper lets you add instances of `Component` to a\ntemplate. See [Component](/ember/release/classes/Component) for\nadditional information on how a `Component` functions.\n`{{component}}`'s primary use is for cases where you want to dynamically\nchange which type of component is rendered as the state of your application\nchanges. This helper has three modes: inline, block, and nested.\n\n### Inline Form\n\nGiven the following template:\n\n```app/application.hbs\n{{component this.infographicComponentName}}\n```\n\nAnd the following application code:\n\n```app/controllers/application.js\nimport Controller from '@ember/controller';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ApplicationController extends Controller {\n @tracked isMarketOpen = 'live-updating-chart'\n\n get infographicComponentName() {\n return this.isMarketOpen ? 'live-updating-chart' : 'market-close-summary';\n }\n}\n```\n\nThe `live-updating-chart` component will be appended when `isMarketOpen` is\n`true`, and the `market-close-summary` component will be appended when\n`isMarketOpen` is `false`. If the value changes while the app is running,\nthe component will be automatically swapped out accordingly.\nNote: You should not use this helper when you are consistently rendering the same\ncomponent. In that case, use standard component syntax, for example:\n\n```app/templates/application.hbs\n<LiveUpdatingChart />\n```\n\nor\n\n```app/templates/application.hbs\n{{live-updating-chart}}\n```\n\n### Block Form\n\nUsing the block form of this helper is similar to using the block form\nof a component. Given the following application template:\n\n```app/templates/application.hbs\n{{#component this.infographicComponentName}}\n Last update: {{this.lastUpdateTimestamp}}\n{{/component}}\n```\n\nThe following controller code:\n\n```app/controllers/application.js\nimport Controller from '@ember/controller';\nimport { computed } from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class ApplicationController extends Controller {\n @tracked isMarketOpen = 'live-updating-chart'\n\n get lastUpdateTimestamp() {\n return new Date();\n }\n\n get infographicComponentName() {\n return this.isMarketOpen ? 'live-updating-chart' : 'market-close-summary';\n }\n}\n```\n\nAnd the following component template:\n\n```app/templates/components/live-updating-chart.hbs\n{{! chart }}\n{{yield}}\n```\n\nThe `Last Update: {{this.lastUpdateTimestamp}}` will be rendered in place of the `{{yield}}`.\n\n### Nested Usage\n\nThe `component` helper can be used to package a component path with initial attrs.\nThe included attrs can then be merged during the final invocation.\nFor example, given a `person-form` component with the following template:\n\n```app/templates/components/person-form.hbs\n{{yield (hash\n nameInput=(component \"my-input-component\" value=@model.name placeholder=\"First Name\")\n)}}\n```\n\nWhen yielding the component via the `hash` helper, the component is invoked directly.\nSee the following snippet:\n\n```\n<PersonForm as |form|>\n <form.nameInput @placeholder=\"Username\" />\n</PersonForm>\n```\n\nor\n```\n{{#person-form as |form|}}\n {{form.nameInput placeholder=\"Username\"}}\n{{/person-form}}\n```\n\nWhich outputs an input whose value is already bound to `model.name` and `placeholder`\nis \"Username\".\n\nWhen yielding the component without the `hash` helper use the `component` helper.\nFor example, below is a `full-name` component template:\n\n```handlebars\n{{yield (component \"my-input-component\" value=@model.name placeholder=\"Name\")}}\n```\n\n```\n<FullName as |field|>\n {{component field placeholder=\"Full name\"}}\n</FullName>\n```\nor\n```\n{{#full-name as |field|}}\n {{component field placeholder=\"Full name\"}}\n{{/full-name}}\n```",
6596 "itemtype": "method",
6597 "name": "component",
6598 "since": "1.11.0",
6599 "access": "public",
6600 "tagname": "",
6601 "class": "Ember.Templates.helpers",
6602 "module": "ember"
6603 },
6604 {
6605 "file": "packages/@ember/-internals/glimmer/lib/helpers/concat.ts",
6606 "line": 19,
6607 "description": "Concatenates the given arguments into a string.\n\nExample:\n\n```handlebars\n{{some-component name=(concat firstName \" \" lastName)}}\n\n{{! would pass name=\"<first name value> <last name value>\" to the component}}\n```\n\nor for angle bracket invocation, you actually don't need concat at all.\n\n```handlebars\n<SomeComponent @name=\"{{firstName}} {{lastName}}\" />\n```",
6608 "access": "public",
6609 "tagname": "",
6610 "itemtype": "method",
6611 "name": "concat",
6612 "since": "1.13.0",
6613 "class": "Ember.Templates.helpers",
6614 "module": "ember"
6615 },
6616 {
6617 "file": "packages/@ember/-internals/glimmer/lib/helpers/each-in.ts",
6618 "line": 11,
6619 "description": "The `{{#each}}` helper loops over elements in a collection. It is an extension\nof the base Handlebars `{{#each}}` helper.\n\nThe default behavior of `{{#each}}` is to yield its inner block once for every\nitem in an array passing the item as the first block parameter.\n\nAssuming the `@developers` argument contains this array:\n\n```javascript\n[{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n```\n\n```handlebars\n<ul>\n {{#each @developers as |person|}}\n <li>Hello, {{person.name}}!</li>\n {{/each}}\n</ul>\n```\n\nThe same rules apply to arrays of primitives.\n\n```javascript\n['Yehuda', 'Tom', 'Paul']\n```\n\n```handlebars\n<ul>\n {{#each @developerNames as |name|}}\n <li>Hello, {{name}}!</li>\n {{/each}}\n</ul>\n```\n\nDuring iteration, the index of each item in the array is provided as a second block\nparameter.\n\n```handlebars\n<ul>\n {{#each @developers as |person index|}}\n <li>Hello, {{person.name}}! You're number {{index}} in line</li>\n {{/each}}\n</ul>\n```\n\n### Specifying Keys\n\nIn order to improve rendering speed, Ember will try to reuse the DOM elements\nwhere possible. Specifically, if the same item is present in the array both\nbefore and after the change, its DOM output will be reused.\n\nThe `key` option is used to tell Ember how to determine if the items in the\narray being iterated over with `{{#each}}` has changed between renders. By\ndefault the item's object identity is used.\n\nThis is usually sufficient, so in most cases, the `key` option is simply not\nneeded. However, in some rare cases, the objects' identities may change even\nthough they represent the same underlying data.\n\nFor example:\n\n```javascript\npeople.map(person => {\n return { ...person, type: 'developer' };\n});\n```\n\nIn this case, each time the `people` array is `map`-ed over, it will produce\nan new array with completely different objects between renders. In these cases,\nyou can help Ember determine how these objects related to each other with the\n`key` option:\n\n```handlebars\n<ul>\n {{#each @developers key=\"name\" as |person|}}\n <li>Hello, {{person.name}}!</li>\n {{/each}}\n</ul>\n```\n\nBy doing so, Ember will use the value of the property specified (`person.name`\nin the example) to find a \"match\" from the previous render. That is, if Ember\nhas previously seen an object from the `@developers` array with a matching\nname, its DOM elements will be re-used.\n\nThere are two special values for `key`:\n\n * `@index` - The index of the item in the array.\n * `@identity` - The item in the array itself.\n\n### {{else}} condition\n\n`{{#each}}` can have a matching `{{else}}`. The contents of this block will render\nif the collection is empty.\n\n```handlebars\n<ul>\n {{#each @developers as |person|}}\n <li>{{person.name}} is available!</li>\n {{else}}\n <li>Sorry, nobody is available for this task.</li>\n {{/each}}\n</ul>\n```",
6620 "itemtype": "method",
6621 "name": "each",
6622 "access": "public",
6623 "tagname": "",
6624 "class": "Ember.Templates.helpers",
6625 "module": "ember"
6626 },
6627 {
6628 "file": "packages/@ember/-internals/glimmer/lib/helpers/each-in.ts",
6629 "line": 122,
6630 "description": "The `{{each-in}}` helper loops over properties on an object.\n\nFor example, given this component definition:\n\n```app/components/developer-details.js\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class extends Component {\n @tracked developer = {\n \"name\": \"Shelly Sails\",\n \"age\": 42\n };\n}\n```\n\nThis template would display all properties on the `developer`\nobject in a list:\n\n```app/components/developer-details.hbs\n<ul>\n {{#each-in this.developer as |key value|}}\n <li>{{key}}: {{value}}</li>\n {{/each-in}}\n</ul>\n```\n\nOutputting their name and age.",
6631 "itemtype": "method",
6632 "name": "each-in",
6633 "access": "public",
6634 "tagname": "",
6635 "since": "2.1.0",
6636 "class": "Ember.Templates.helpers",
6637 "module": "ember"
6638 },
6639 {
6640 "file": "packages/@ember/-internals/glimmer/lib/helpers/fn.ts",
6641 "line": 14,
6642 "description": "The `fn` helper allows you to ensure a function that you are passing off\nto another component, helper, or modifier has access to arguments that are\navailable in the template.\n\nFor example, if you have an `each` helper looping over a number of items, you\nmay need to pass a function that expects to receive the item as an argument\nto a component invoked within the loop. Here's how you could use the `fn`\nhelper to pass both the function and its arguments together:\n\n ```app/templates/components/items-listing.hbs\n{{#each @items as |item|}}\n <DisplayItem @item=item @select={{fn this.handleSelected item}} />\n{{/each}}\n```\n\n```app/components/items-list.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class ItemsList extends Component {\n @action\n handleSelected(item) {\n // ...snip...\n }\n}\n```\n\nIn this case the `display-item` component will receive a normal function\nthat it can invoke. When it invokes the function, the `handleSelected`\nfunction will receive the `item` and any arguments passed, thanks to the\n`fn` helper.\n\nLet's take look at what that means in a couple circumstances:\n\n- When invoked as `this.args.select()` the `handleSelected` function will\n receive the `item` from the loop as its first and only argument.\n- When invoked as `this.args.select('foo')` the `handleSelected` function\n will receive the `item` from the loop as its first argument and the\n string `'foo'` as its second argument.\n\nIn the example above, we used `@action` to ensure that `handleSelected` is\nproperly bound to the `items-list`, but let's explore what happens if we\nleft out `@action`:\n\n```app/components/items-list.js\nimport Component from '@glimmer/component';\n\nexport default class ItemsList extends Component {\n handleSelected(item) {\n // ...snip...\n }\n}\n```\n\nIn this example, when `handleSelected` is invoked inside the `display-item`\ncomponent, it will **not** have access to the component instance. In other\nwords, it will have no `this` context, so please make sure your functions\nare bound (via `@action` or other means) before passing into `fn`!\n\nSee also [partial application](https://en.wikipedia.org/wiki/Partial_application).",
6643 "itemtype": "method",
6644 "name": "fn",
6645 "access": "public",
6646 "tagname": "",
6647 "since": "3.11.0",
6648 "class": "Ember.Templates.helpers",
6649 "module": "ember"
6650 },
6651 {
6652 "file": "packages/@ember/-internals/glimmer/lib/helpers/get.ts",
6653 "line": 17,
6654 "description": "Dynamically look up a property on an object. The second argument to `{{get}}`\nshould have a string value, although it can be bound.\n\nFor example, these two usages are equivalent:\n\n```app/components/developer-detail.js\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class extends Component {\n @tracked developer = {\n name: \"Sandi Metz\",\n language: \"Ruby\"\n }\n}\n```\n\n```handlebars\n{{this.developer.name}}\n{{get this.developer \"name\"}}\n```\n\nIf there were several facts about a person, the `{{get}}` helper can dynamically\npick one:\n\n```app/templates/application.hbs\n<DeveloperDetail @factName=\"language\" />\n```\n\n```handlebars\n{{get this.developer @factName}}\n```\n\nFor a more complex example, this template would allow the user to switch\nbetween showing the user's height and weight with a click:\n\n```app/components/developer-detail.js\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class extends Component {\n @tracked developer = {\n name: \"Sandi Metz\",\n language: \"Ruby\"\n }\n\n @tracked currentFact = 'name'\n\n @action\n showFact(fact) {\n this.currentFact = fact;\n }\n}\n```\n\n```app/components/developer-detail.js\n{{get this.developer this.currentFact}}\n\n<button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n<button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n```\n\nThe `{{get}}` helper can also respect mutable values itself. For example:\n\n```app/components/developer-detail.js\n<Input @value={{mut (get this.person this.currentFact)}} />\n\n<button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n<button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n```\n\nWould allow the user to swap what fact is being displayed, and also edit\nthat fact via a two-way mutable binding.",
6655 "access": "public",
6656 "tagname": "",
6657 "itemtype": "method",
6658 "name": "get",
6659 "since": "2.1.0",
6660 "class": "Ember.Templates.helpers",
6661 "module": "ember"
6662 },
6663 {
6664 "file": "packages/@ember/-internals/glimmer/lib/helpers/hash.ts",
6665 "line": 8,
6666 "description": "Use the `{{hash}}` helper to create a hash to pass as an option to your\ncomponents. This is specially useful for contextual components where you can\njust yield a hash:\n\n```handlebars\n{{yield (hash\n name='Sarah'\n title=office\n)}}\n```\n\nWould result in an object such as:\n\n```js\n{ name: 'Sarah', title: this.get('office') }\n```\n\nWhere the `title` is bound to updates of the `office` property.\n\nNote that the hash is an empty object with no prototype chain, therefore\ncommon methods like `toString` are not available in the resulting hash.\nIf you need to use such a method, you can use the `call` or `apply`\napproach:\n\n```js\nfunction toString(obj) {\n return Object.prototype.toString.apply(obj);\n}\n```",
6667 "itemtype": "method",
6668 "name": "hash",
6669 "params": [
6670 {
6671 "name": "options",
6672 "description": "",
6673 "type": "Object"
6674 }
6675 ],
6676 "return": {
6677 "description": "Hash",
6678 "type": "Object"
6679 },
6680 "since": "2.3.0",
6681 "access": "public",
6682 "tagname": "",
6683 "class": "Ember.Templates.helpers",
6684 "module": "ember"
6685 },
6686 {
6687 "file": "packages/@ember/-internals/glimmer/lib/helpers/if-unless.ts",
6688 "line": 44,
6689 "description": "The `if` helper allows you to conditionally render one of two branches,\ndepending on the \"truthiness\" of a property.\nFor example the following values are all falsey: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n\nThis helper has two forms, block and inline.\n\n## Block form\n\nYou can use the block form of `if` to conditionally render a section of the template.\n\nTo use it, pass the conditional value to the `if` helper,\nusing the block form to wrap the section of template you want to conditionally render.\nLike so:\n\n```app/templates/application.hbs\n<Weather />\n```\n\n```app/components/weather.hbs\n{{! will not render because greeting is undefined}}\n{{#if @isRaining}}\n Yes, grab an umbrella!\n{{/if}}\n```\n\nYou can also define what to show if the property is falsey by using\nthe `else` helper.\n\n```app/components/weather.hbs\n{{#if @isRaining}}\n Yes, grab an umbrella!\n{{else}}\n No, it's lovely outside!\n{{/if}}\n```\n\nYou are also able to combine `else` and `if` helpers to create more complex\nconditional logic.\n\nFor the following template:\n\n ```app/components/weather.hbs\n{{#if @isRaining}}\n Yes, grab an umbrella!\n{{else if @isCold}}\n Grab a coat, it's chilly!\n{{else}}\n No, it's lovely outside!\n{{/if}}\n```\n\nIf you call it by saying `isCold` is true:\n\n```app/templates/application.hbs\n<Weather @isCold={{true}} />\n```\n\nThen `Grab a coat, it's chilly!` will be rendered.\n\n## Inline form\n\nThe inline `if` helper conditionally renders a single property or string.\n\nIn this form, the `if` helper receives three arguments, the conditional value,\nthe value to render when truthy, and the value to render when falsey.\n\nFor example, if `useLongGreeting` is truthy, the following:\n\n```app/templates/application.hbs\n<Greeting @useLongGreeting={{true}} />\n```\n\n```app/components/greeting.hbs\n{{if @useLongGreeting \"Hello\" \"Hi\"}} Alex\n```\n\nWill render:\n\n```html\nHello Alex\n```\n\nOne detail to keep in mind is that both branches of the `if` helper will be evaluated,\nso if you have `{{if condition \"foo\" (expensive-operation \"bar\")`,\n`expensive-operation` will always calculate.",
6690 "itemtype": "method",
6691 "name": "if",
6692 "access": "public",
6693 "tagname": "",
6694 "class": "Ember.Templates.helpers",
6695 "module": "ember"
6696 },
6697 {
6698 "file": "packages/@ember/-internals/glimmer/lib/helpers/if-unless.ts",
6699 "line": 139,
6700 "description": "The `unless` helper is the inverse of the `if` helper. It displays if a value\nis falsey (\"not true\" or \"is false\"). Example values that will display with\n`unless`: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n\n## Inline form\n\nThe inline `unless` helper conditionally renders a single property or string.\nThis helper acts like a ternary operator. If the first property is falsy,\nthe second argument will be displayed, otherwise, the third argument will be\ndisplayed\n\nFor example, if you pass a falsey `useLongGreeting` to the `Greeting` component:\n\n```app/templates/application.hbs\n<Greeting @useLongGreeting={{false}} />\n```\n\n```app/components/greeting.hbs\n{{unless @useLongGreeting \"Hi\" \"Hello\"}} Ben\n```\n\nThen it will display:\n\n```html\nHi Ben\n```\n\n## Block form\n\nLike the `if` helper, the `unless` helper also has a block form.\n\nThe following will not render anything:\n\n```app/templates/application.hbs\n<Greeting />\n```\n\n```app/components/greeting.hbs\n{{#unless @greeting}}\n No greeting was found. Why not set one?\n{{/unless}}\n```\n\nYou can also use an `else` helper with the `unless` block. The\n`else` will display if the value is truthy.\n\nIf you have the following component:\n\n```app/components/logged-in.hbs\n{{#unless @userData}}\n Please login.\n{{else}}\n Welcome back!\n{{/unless}}\n```\n\nCalling it with a truthy `userData`:\n\n```app/templates/application.hbs\n<LoggedIn @userData={{hash username=\"Zoey\"}} />\n```\n\nWill render:\n\n```html\nWelcome back!\n```\n\nand calling it with a falsey `userData`:\n\n```app/templates/application.hbs\n<LoggedIn @userData={{false}} />\n```\n\nWill render:\n\n```html\nPlease login.\n```",
6701 "itemtype": "method",
6702 "name": "unless",
6703 "access": "public",
6704 "tagname": "",
6705 "class": "Ember.Templates.helpers",
6706 "module": "ember"
6707 },
6708 {
6709 "file": "packages/@ember/-internals/glimmer/lib/helpers/loc.ts",
6710 "line": 8,
6711 "description": "Calls [String.loc](/ember/release/classes/String/methods/loc?anchor=loc) with the\nprovided string. This is a convenient way to localize text within a template.\nFor example:\n\n```javascript\nEmber.STRINGS = {\n '_welcome_': 'Bonjour'\n};\n```\n\n```handlebars\n<div class='message'>\n {{loc '_welcome_'}}\n</div>\n```\n\n```html\n<div class='message'>\n Bonjour\n</div>\n```\n\nSee [String.loc](/ember/release/classes/String/methods/loc?anchor=loc) for how to\nset up localized string references.",
6712 "itemtype": "method",
6713 "name": "loc",
6714 "params": [
6715 {
6716 "name": "str",
6717 "description": "The string to format.",
6718 "type": "String"
6719 }
6720 ],
6721 "see": [
6722 "{String#loc}"
6723 ],
6724 "access": "public",
6725 "tagname": "",
6726 "class": "Ember.Templates.helpers",
6727 "module": "ember"
6728 },
6729 {
6730 "file": "packages/@ember/-internals/glimmer/lib/helpers/log.ts",
6731 "line": 7,
6732 "description": "`log` allows you to output the value of variables in the current rendering\ncontext. `log` also accepts primitive types such as strings or numbers.\n\n```handlebars\n{{log \"myVariable:\" myVariable }}\n```",
6733 "itemtype": "method",
6734 "name": "log",
6735 "params": [
6736 {
6737 "name": "params",
6738 "description": "",
6739 "type": "Array"
6740 }
6741 ],
6742 "access": "public",
6743 "tagname": "",
6744 "class": "Ember.Templates.helpers",
6745 "module": "ember"
6746 },
6747 {
6748 "file": "packages/@ember/-internals/glimmer/lib/helpers/mut.ts",
6749 "line": 10,
6750 "description": "The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n(mutable) value passed to it, which will __change the value of the parent component__.\n\nTo specify that a parameter is mutable, when invoking the child `Component`:\n\n```handlebars\n<MyChild @childClickCount={{fn (mut totalClicks)}} />\n```\n\n or\n\n```handlebars\n{{my-child childClickCount=(mut totalClicks)}}\n```\n\nThe child `Component` can then modify the parent's value just by modifying its own\nproperty:\n\n```javascript\n// my-child.js\nexport default Component.extend({\n click() {\n this.incrementProperty('childClickCount');\n }\n});\n```\n\nNote that for curly components (`{{my-component}}`) the bindings are already mutable,\nmaking the `mut` unnecessary.\n\nAdditionally, the `mut` helper can be combined with the `fn` helper to\nmutate a value. For example:\n\n```handlebars\n<MyChild @childClickCount={{this.totalClicks}} @click-count-change={{fn (mut totalClicks))}} />\n```\n\nor\n\n```handlebars\n{{my-child childClickCount=totalClicks click-count-change=(fn (mut totalClicks))}}\n```\n\nThe child `Component` would invoke the function with the new click value:\n\n```javascript\n// my-child.js\nexport default Component.extend({\n click() {\n this.get('click-count-change')(this.get('childClickCount') + 1);\n }\n});\n```\n\nThe `mut` helper changes the `totalClicks` value to what was provided as the `fn` argument.\n\nThe `mut` helper, when used with `fn`, will return a function that\nsets the value passed to `mut` to its first argument. As an example, we can create a\nbutton that increments a value passing the value directly to the `fn`:\n\n```handlebars\n{{! inc helper is not provided by Ember }}\n<button onclick={{fn (mut count) (inc count)}}>\n Increment count\n</button>\n```",
6751 "itemtype": "method",
6752 "name": "mut",
6753 "params": [
6754 {
6755 "name": "attr",
6756 "description": "the \"two-way\" attribute that can be modified.",
6757 "type": "Object",
6758 "optional": true
6759 }
6760 ],
6761 "access": "public",
6762 "tagname": "",
6763 "class": "Ember.Templates.helpers",
6764 "module": "ember"
6765 },
6766 {
6767 "file": "packages/@ember/-internals/glimmer/lib/helpers/query-param.ts",
6768 "line": 10,
6769 "description": "This is a helper to be used in conjunction with the link-to helper.\nIt will supply url query parameters to the target route.",
6770 "example": [
6771 " In this example we are setting the `direction` query param to the value `\"asc\"`\n\n```app/templates/application.hbs\n<LinkTo\n @route=\"posts\"\n {{query-params direction=\"asc\"}}\n>\n Sort\n</LinkTo>\n```"
6772 ],
6773 "itemtype": "method",
6774 "name": "query-params",
6775 "params": [
6776 {
6777 "name": "hash",
6778 "description": "takes a hash of query parameters",
6779 "type": "Object"
6780 }
6781 ],
6782 "return": {
6783 "description": "A `QueryParams` object for `{{link-to}}`",
6784 "type": "Object"
6785 },
6786 "access": "public",
6787 "tagname": "",
6788 "class": "Ember.Templates.helpers",
6789 "module": "ember"
6790 },
6791 {
6792 "file": "packages/@ember/-internals/glimmer/lib/helpers/readonly.ts",
6793 "line": 9,
6794 "description": "The `readonly` helper let's you specify that a binding is one-way only,\ninstead of two-way.\nWhen you pass a `readonly` binding from an outer context (e.g. parent component),\nto to an inner context (e.g. child component), you are saying that changing that\nproperty in the inner context does not change the value in the outer context.\n\nTo specify that a binding is read-only, when invoking the child `Component`:\n\n```app/components/my-parent.js\nexport default Component.extend({\n totalClicks: 3\n});\n```\n\n```app/templates/components/my-parent.hbs\n{{log totalClicks}} // -> 3\n<MyChild @childClickCount={{readonly totalClicks}} />\n```\n```\n{{my-child childClickCount=(readonly totalClicks)}}\n```\n\nNow, when you update `childClickCount`:\n\n```app/components/my-child.js\nexport default Component.extend({\n click() {\n this.incrementProperty('childClickCount');\n }\n});\n```\n\nThe value updates in the child component, but not the parent component:\n\n```app/templates/components/my-child.hbs\n{{log childClickCount}} //-> 4\n```\n\n```app/templates/components/my-parent.hbs\n{{log totalClicks}} //-> 3\n<MyChild @childClickCount={{readonly totalClicks}} />\n```\nor\n```app/templates/components/my-parent.hbs\n{{log totalClicks}} //-> 3\n{{my-child childClickCount=(readonly totalClicks)}}\n```\n\n### Objects and Arrays\n\nWhen passing a property that is a complex object (e.g. object, array) instead of a primitive object (e.g. number, string),\nonly the reference to the object is protected using the readonly helper.\nThis means that you can change properties of the object both on the parent component, as well as the child component.\nThe `readonly` binding behaves similar to the `const` keyword in JavaScript.\n\nLet's look at an example:\n\nFirst let's set up the parent component:\n\n```app/components/my-parent.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n clicks: null,\n\n init() {\n this._super(...arguments);\n this.set('clicks', { total: 3 });\n }\n});\n```\n\n```app/templates/components/my-parent.hbs\n{{log clicks.total}} //-> 3\n<MyChild @childClicks={{readonly clicks}} />\n```\n```app/templates/components/my-parent.hbs\n{{log clicks.total}} //-> 3\n{{my-child childClicks=(readonly clicks)}}\n```\n\nNow, if you update the `total` property of `childClicks`:\n\n```app/components/my-child.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n click() {\n this.get('clicks').incrementProperty('total');\n }\n});\n```\n\nYou will see the following happen:\n\n```app/templates/components/my-parent.hbs\n{{log clicks.total}} //-> 4\n<MyChild @childClicks={{readonly clicks}} />\n```\nor\n```app/templates/components/my-parent.hbs\n{{log clicks.total}} //-> 4\n{{my-child childClicks=(readonly clicks)}}\n```\n\n```app/templates/components/my-child.hbs\n{{log childClicks.total}} //-> 4\n```",
6795 "itemtype": "method",
6796 "name": "readonly",
6797 "params": [
6798 {
6799 "name": "attr",
6800 "description": "the read-only attribute.",
6801 "type": "Object",
6802 "optional": true
6803 }
6804 ],
6805 "access": "private",
6806 "tagname": "",
6807 "class": "Ember.Templates.helpers",
6808 "module": "ember"
6809 },
6810 {
6811 "file": "packages/@ember/-internals/glimmer/lib/helpers/unbound.ts",
6812 "line": 9,
6813 "description": "The `{{unbound}}` helper disconnects the one-way binding of a property,\nessentially freezing its value at the moment of rendering. For example,\nin this example the display of the variable `name` will not change even\nif it is set with a new value:\n\n```handlebars\n{{unbound this.name}}\n```\n\nLike any helper, the `unbound` helper can accept a nested helper expression.\nThis allows for custom helpers to be rendered unbound:\n\n```handlebars\n{{unbound (some-custom-helper)}}\n{{unbound (capitalize this.name)}}\n{{! You can use any helper, including unbound, in a nested expression }}\n{{capitalize (unbound this.name)}}\n```\n\nThe `unbound` helper only accepts a single argument, and it return an\nunbound value.",
6814 "itemtype": "method",
6815 "name": "unbound",
6816 "access": "public",
6817 "tagname": "",
6818 "class": "Ember.Templates.helpers",
6819 "module": "ember"
6820 },
6821 {
6822 "file": "packages/@ember/-internals/glimmer/lib/modifiers/custom.ts",
6823 "line": 93,
6824 "description": "The CustomModifierManager allows addons to provide custom modifier\nimplementations that integrate seamlessly into Ember. This is accomplished\nthrough a delegate, registered with the custom modifier manager, which\nimplements a set of hooks that determine modifier behavior.\nTo create a custom modifier manager, instantiate a new CustomModifierManager\nclass and pass the delegate as the first argument:\n\n```js\nlet manager = new CustomModifierManager({\n // ...delegate implementation...\n});\n```\n\n## Delegate Hooks\n\nThroughout the lifecycle of a modifier, the modifier manager will invoke\ndelegate hooks that are responsible for surfacing those lifecycle changes to\nthe end developer.\n* `createModifier()` - invoked when a new instance of a modifier should be created\n* `installModifier()` - invoked when the modifier is installed on the element\n* `updateModifier()` - invoked when the arguments passed to a modifier change\n* `destroyModifier()` - invoked when the modifier is about to be destroyed",
6825 "class": "Ember.Templates.helpers",
6826 "module": "ember"
6827 },
6828 {
6829 "file": "packages/@ember/-internals/glimmer/lib/modifiers/on.ts",
6830 "line": 234,
6831 "description": "The `{{on}}` modifier lets you easily add event listeners (it uses\n[EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\ninternally).\n\nFor example, if you'd like to run a function on your component when a `<button>`\nin the components template is clicked you might do something like:\n\n```app/components/like-post.hbs\n<button {{on 'click' this.saveLike}}>Like this post!</button>\n```\n\n```app/components/like-post.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class LikePostComponent extends Component {\n @action\n saveLike() {\n // someone likes your post!\n // better send a request off to your server...\n }\n}\n```\n\n### Arguments\n\n`{{on}}` accepts two positional arguments, and a few named arguments.\n\nThe positional arguments are:\n\n- `event` -- the name to use when calling `addEventListener`\n- `callback` -- the function to be passed to `addEventListener`\n\nThe named arguments are:\n\n- capture -- a `true` value indicates that events of this type will be dispatched\n to the registered listener before being dispatched to any EventTarget beneath it\n in the DOM tree.\n- once -- indicates that the listener should be invoked at most once after being\n added. If true, the listener would be automatically removed when invoked.\n- passive -- if `true`, indicates that the function specified by listener will never\n call preventDefault(). If a passive listener does call preventDefault(), the user\n agent will do nothing other than generate a console warning. See\n [Improving scrolling performance with passive listeners](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners)\n to learn more.\n\nThe callback function passed to `{{on}}` will receive any arguments that are passed\nto the event handler. Most commonly this would be the `event` itself.\n\nIf you would like to pass additional arguments to the function you should use\nthe `{{fn}}` helper.\n\nFor example, in our example case above if you'd like to pass in the post that\nwas being liked when the button is clicked you could do something like:\n\n```app/components/like-post.hbs\n<button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>\n```\n\nIn this case, the `saveLike` function will receive two arguments: the click event\nand the value of `@post`.\n\n### Function Context\n\nIn the example above, we used `@action` to ensure that `likePost` is\nproperly bound to the `items-list`, but let's explore what happens if we\nleft out `@action`:\n\n```app/components/like-post.js\nimport Component from '@glimmer/component';\n\nexport default class LikePostComponent extends Component {\n saveLike() {\n // ...snip...\n }\n}\n```\n\nIn this example, when the button is clicked `saveLike` will be invoked,\nit will **not** have access to the component instance. In other\nwords, it will have no `this` context, so please make sure your functions\nare bound (via `@action` or other means) before passing into `on`!",
6832 "itemtype": "method",
6833 "name": "on",
6834 "access": "public",
6835 "tagname": "",
6836 "since": "3.11.0",
6837 "class": "Ember.Templates.helpers",
6838 "module": "ember"
6839 },
6840 {
6841 "file": "packages/@ember/-internals/glimmer/lib/syntax/in-element.ts",
6842 "line": 5,
6843 "description": "The `in-element` helper renders its block content outside of the regular flow,\ninto a DOM element given by its `destinationElement` positional argument.\n\nCommon use cases - often referred to as \"portals\" or \"wormholes\" - are rendering\ndropdowns, modals or tooltips close to the root of the page to bypass CSS overflow\nrules, or to render content to parts of the page that are outside of the control\nof the Ember app itself (e.g. embedded into a static or server rendered HTML page).\n\n```handlebars\n{{#in-element this.destinationElement}}\n <div>Some content</div>\n{{/in-element}}\n```\n\n### Arguments\n\n`{{in-element}}` requires a single positional argument:\n\n- `destinationElement` -- the DOM element to render into. It must exist at the time\nof rendering.\n\nIt also supports an optional named argument:\n\n- `insertBefore` -- by default the DOM element's content is replaced when used as\n`destinationElement`. Passing `null` changes the behaviour to appended at the end\nof any existing content. Any other value than `null` is currently not supported.",
6844 "itemtype": "method",
6845 "name": "in-element",
6846 "access": "public",
6847 "tagname": "",
6848 "class": "Ember.Templates.helpers",
6849 "module": "ember"
6850 },
6851 {
6852 "file": "packages/@ember/-internals/glimmer/lib/syntax/let.ts",
6853 "line": 5,
6854 "description": "The `let` helper receives one or more positional arguments and yields\nthem out as block params.\n\nThis allows the developer to introduce shorter names for certain computations\nin the template.\n\nThis is especially useful if you are passing properties to a component\nthat receives a lot of options and you want to clean up the invocation.\n\nFor the following example, the template receives a `post` object with\n`content` and `title` properties.\n\nWe are going to call the `my-post` component, passing a title which is\nthe title of the post suffixed with the name of the blog, the content\nof the post, and a series of options defined in-place.\n\n```handlebars\n{{#let\n (concat post.title ' | The Ember.js Blog')\n post.content\n (hash\n theme=\"high-contrast\"\n enableComments=true\n )\n as |title content options|\n}}\n <MyPost @title={{title}} @content={{content}} @options={{options}} />\n{{/let}}\n ```\n or\n ```handlebars\n{{#let\n (concat post.title ' | The Ember.js Blog')\n post.content\n (hash\n theme=\"high-contrast\"\n enableComments=true\n )\n as |title content options|\n}}\n {{my-post title=title content=content options=options}}\n{{/let}}\n ```",
6855 "itemtype": "method",
6856 "name": "let",
6857 "access": "public",
6858 "tagname": "",
6859 "class": "Ember.Templates.helpers",
6860 "module": "ember"
6861 },
6862 {
6863 "file": "packages/@ember/-internals/glimmer/lib/syntax/mount.ts",
6864 "line": 75,
6865 "description": "The `{{mount}}` helper lets you embed a routeless engine in a template.\nMounting an engine will cause an instance to be booted and its `application`\ntemplate to be rendered.\n\nFor example, the following template mounts the `ember-chat` engine:\n\n```handlebars\n{{! application.hbs }}\n{{mount \"ember-chat\"}}\n```\n\nAdditionally, you can also pass in a `model` argument that will be\nset as the engines model. This can be an existing object:\n\n```\n<div>\n {{mount 'admin' model=userSettings}}\n</div>\n```\n\nOr an inline `hash`, and you can even pass components:\n\n```\n<div>\n <h1>Application template!</h1>\n {{mount 'admin' model=(hash\n title='Secret Admin'\n signInButton=(component 'sign-in-button')\n )}}\n</div>\n```",
6866 "itemtype": "method",
6867 "name": "mount",
6868 "params": [
6869 {
6870 "name": "name",
6871 "description": "Name of the engine to mount.",
6872 "type": "String"
6873 },
6874 {
6875 "name": "model",
6876 "description": "Object that will be set as\n the model of the engine.",
6877 "type": "Object",
6878 "optional": true
6879 }
6880 ],
6881 "access": "public",
6882 "tagname": "",
6883 "class": "Ember.Templates.helpers",
6884 "module": "ember"
6885 },
6886 {
6887 "file": "packages/@ember/-internals/glimmer/lib/syntax/outlet.ts",
6888 "line": 24,
6889 "description": "The `{{outlet}}` helper lets you specify where a child route will render in\nyour template. An important use of the `{{outlet}}` helper is in your\napplication's `application.hbs` file:\n\n```app/templates/application.hbs\n<MyHeader />\n\n<div class=\"my-dynamic-content\">\n <!-- this content will change based on the current route, which depends on the current URL -->\n {{outlet}}\n</div>\n\n<MyFooter />\n```\n\nYou may also specify a name for the `{{outlet}}`, which is useful when using more than one\n`{{outlet}}` in a template:\n\n```app/templates/application.hbs\n{{outlet \"menu\"}}\n{{outlet \"sidebar\"}}\n{{outlet \"main\"}}\n```\n\nYour routes can then render into a specific one of these `outlet`s by specifying the `outlet`\nattribute in your `renderTemplate` function:\n\n```app/routes/menu.js\nimport Route from '@ember/routing/route';\n\nexport default class MenuRoute extends Route {\n renderTemplate() {\n this.render({ outlet: 'menu' });\n }\n}\n```\n\nSee the [routing guide](https://guides.emberjs.com/release/routing/rendering-a-template/) for more\ninformation on how your `route` interacts with the `{{outlet}}` helper.\nNote: Your content __will not render__ if there isn't an `{{outlet}}` for it.",
6890 "itemtype": "method",
6891 "name": "outlet",
6892 "params": [
6893 {
6894 "name": "name",
6895 "description": "",
6896 "type": "String",
6897 "optional": true
6898 }
6899 ],
6900 "access": "public",
6901 "tagname": "",
6902 "class": "Ember.Templates.helpers",
6903 "module": "ember"
6904 },
6905 {
6906 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6907 "line": 7,
6908 "description": "Not sure why this is here, we use the owner of the template for lookups.\n\nMaybe this is for the render helper?",
6909 "class": "@ember/template",
6910 "module": "ember"
6911 },
6912 {
6913 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6914 "line": 14,
6915 "description": "The name of the parent outlet state.",
6916 "class": "@ember/template",
6917 "module": "ember"
6918 },
6919 {
6920 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6921 "line": 24,
6922 "description": "The name of the route/template",
6923 "class": "@ember/template",
6924 "module": "ember"
6925 },
6926 {
6927 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6928 "line": 29,
6929 "description": "The controller (the self of the outlet component)",
6930 "class": "@ember/template",
6931 "module": "ember"
6932 },
6933 {
6934 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6935 "line": 34,
6936 "description": "The model (the resolved value of the model hook)",
6937 "class": "@ember/template",
6938 "module": "ember"
6939 },
6940 {
6941 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6942 "line": 39,
6943 "description": "template (the layout of the outlet component)",
6944 "class": "@ember/template",
6945 "module": "ember"
6946 },
6947 {
6948 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6949 "line": 50,
6950 "description": "Nested outlet connections.",
6951 "class": "@ember/template",
6952 "module": "ember"
6953 },
6954 {
6955 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6956 "line": 55,
6957 "description": "Represents what was rendered into this outlet.",
6958 "class": "@ember/template",
6959 "module": "ember"
6960 },
6961 {
6962 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6963 "line": 60,
6964 "description": "Has to do with render helper and orphan outlets.\nWhether outlet state was rendered.",
6965 "class": "@ember/template",
6966 "module": "ember"
6967 },
6968 {
6969 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6970 "line": 67,
6971 "description": "Represents the root outlet.",
6972 "class": "@ember/template",
6973 "module": "ember"
6974 },
6975 {
6976 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6977 "line": 89,
6978 "description": "Represents the connected outlet.",
6979 "class": "@ember/template",
6980 "module": "ember"
6981 },
6982 {
6983 "file": "packages/@ember/-internals/glimmer/lib/utils/outlet.ts",
6984 "line": 113,
6985 "description": "Outlet state is dirtied from root.\nThis just using the parent tag for dirtiness.",
6986 "class": "@ember/template",
6987 "module": "ember"
6988 },
6989 {
6990 "file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
6991 "line": 61,
6992 "description": "Mark a string as safe for unescaped output with Ember templates. If you\nreturn HTML from a helper, use this function to\nensure Ember's rendering layer does not escape the HTML.\n\n```javascript\nimport { htmlSafe } from '@ember/template';\n\nhtmlSafe('<div>someString</div>')\n```",
6993 "itemtype": "method",
6994 "name": "htmlSafe",
6995 "static": 1,
6996 "return": {
6997 "description": "A string that will not be HTML escaped by Handlebars.",
6998 "type": "SafeString"
6999 },
7000 "access": "public",
7001 "tagname": "",
7002 "class": "@ember/template",
7003 "module": "@ember/template"
7004 },
7005 {
7006 "file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
7007 "line": 87,
7008 "description": "Detects if a string was decorated using `htmlSafe`.\n\n```javascript\nimport { htmlSafe, isHTMLSafe } from '@ember/template';\n\nvar plainString = 'plain string',\n safeString = htmlSafe('<div>someValue</div>');\n\nisHTMLSafe(plainString); // false\nisHTMLSafe(safeString); // true\n```",
7009 "itemtype": "method",
7010 "name": "isHTMLSafe",
7011 "static": 1,
7012 "return": {
7013 "description": "`true` if the string was decorated with `htmlSafe`, `false` otherwise.",
7014 "type": "Boolean"
7015 },
7016 "access": "public",
7017 "tagname": "",
7018 "class": "@ember/template",
7019 "module": "@ember/template"
7020 },
7021 {
7022 "file": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
7023 "line": 87,
7024 "class": "Component",
7025 "module": "@ember/template"
7026 },
7027 {
7028 "file": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
7029 "line": 95,
7030 "class": "Component",
7031 "module": "@ember/template"
7032 },
7033 {
7034 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7035 "line": 800,
7036 "description": "Normally, Ember's component model is \"write-only\". The component takes a\nbunch of attributes that it got passed in, and uses them to render its\ntemplate.\n\nOne nice thing about this model is that if you try to set a value to the\nsame thing as last time, Ember (through HTMLBars) will avoid doing any\nwork on the DOM.\n\nThis is not just a performance optimization. If an attribute has not\nchanged, it is important not to clobber the element's \"hidden state\".\nFor example, if you set an input's `value` to the same value as before,\nit will clobber selection state and cursor position. In other words,\nsetting an attribute is not **always** idempotent.\n\nThis method provides a way to read an element's attribute and also\nupdate the last value Ember knows about at the same time. This makes\nsetting an attribute idempotent.\n\nIn particular, what this means is that if you get an `<input>` element's\n`value` attribute and then re-render the template with the same value,\nit will avoid clobbering the cursor and selection position.\nSince most attribute sets are idempotent in the browser, you typically\ncan get away with reading attributes using jQuery, but the most reliable\nway to do so is through this method.",
7037 "itemtype": "method",
7038 "name": "readDOMAttr",
7039 "params": [
7040 {
7041 "name": "name",
7042 "description": "the name of the attribute",
7043 "type": "String"
7044 }
7045 ],
7046 "return": {
7047 "description": "String"
7048 },
7049 "access": "public",
7050 "tagname": "",
7051 "class": "Component",
7052 "module": "@ember/component"
7053 },
7054 {
7055 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7056 "line": 851,
7057 "description": "The WAI-ARIA role of the control represented by this view. For example, a\nbutton may have a role of type 'button', or a pane may have a role of\ntype 'alertdialog'. This property is used by assistive software to help\nvisually challenged users navigate rich web applications.\n\nThe full list of valid WAI-ARIA roles is available at:\n[https://www.w3.org/TR/wai-aria/#roles_categorization](https://www.w3.org/TR/wai-aria/#roles_categorization)",
7058 "itemtype": "property",
7059 "name": "ariaRole",
7060 "type": "String",
7061 "default": "null",
7062 "access": "public",
7063 "tagname": "",
7064 "class": "Component",
7065 "module": "@ember/component"
7066 },
7067 {
7068 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7069 "line": 866,
7070 "description": "Enables components to take a list of parameters as arguments.\nFor example, a component that takes two parameters with the names\n`name` and `age`:\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nlet MyComponent = Component.extend();\n\nMyComponent.reopenClass({\n positionalParams: ['name', 'age']\n});\n\nexport default MyComponent;\n```\n\nIt can then be invoked like this:\n\n```hbs\n{{my-component \"John\" 38}}\n```\n\nThe parameters can be referred to just like named parameters:\n\n```hbs\nName: {{name}}, Age: {{age}}.\n```\n\nUsing a string instead of an array allows for an arbitrary number of\nparameters:\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nlet MyComponent = Component.extend();\n\nMyComponent.reopenClass({\n positionalParams: 'names'\n});\n\nexport default MyComponent;\n```\n\nIt can then be invoked like this:\n\n```hbs\n{{my-component \"John\" \"Michael\" \"Scott\"}}\n```\nThe parameters can then be referred to by enumerating over the list:\n\n```hbs\n{{#each names as |name|}}{{name}}{{/each}}\n```",
7071 "static": 1,
7072 "access": "public",
7073 "tagname": "",
7074 "itemtype": "property",
7075 "name": "positionalParams",
7076 "since": "1.13.0",
7077 "class": "Component",
7078 "module": "@ember/component"
7079 },
7080 {
7081 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7082 "line": 927,
7083 "description": "Called when the attributes passed into the component have been updated.\nCalled both during the initial render of a container and during a rerender.\nCan be used in place of an observer; code placed here will be executed\nevery time any attribute updates.",
7084 "itemtype": "method",
7085 "name": "didReceiveAttrs",
7086 "access": "public",
7087 "tagname": "",
7088 "since": "1.13.0",
7089 "class": "Component",
7090 "module": "@ember/component"
7091 },
7092 {
7093 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7094 "line": 938,
7095 "description": "Called when the attributes passed into the component have been updated.\nCalled both during the initial render of a container and during a rerender.\nCan be used in place of an observer; code placed here will be executed\nevery time any attribute updates.",
7096 "itemtype": "event",
7097 "name": "didReceiveAttrs",
7098 "access": "public",
7099 "tagname": "",
7100 "since": "1.13.0",
7101 "class": "Component",
7102 "module": "@ember/component"
7103 },
7104 {
7105 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7106 "line": 948,
7107 "description": "Called after a component has been rendered, both on initial render and\nin subsequent rerenders.",
7108 "itemtype": "method",
7109 "name": "didRender",
7110 "access": "public",
7111 "tagname": "",
7112 "since": "1.13.0",
7113 "class": "Component",
7114 "module": "@ember/component"
7115 },
7116 {
7117 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7118 "line": 957,
7119 "description": "Called after a component has been rendered, both on initial render and\nin subsequent rerenders.",
7120 "itemtype": "event",
7121 "name": "didRender",
7122 "access": "public",
7123 "tagname": "",
7124 "since": "1.13.0",
7125 "class": "Component",
7126 "module": "@ember/component"
7127 },
7128 {
7129 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7130 "line": 965,
7131 "description": "Called before a component has been rendered, both on initial render and\nin subsequent rerenders.",
7132 "itemtype": "method",
7133 "name": "willRender",
7134 "access": "public",
7135 "tagname": "",
7136 "since": "1.13.0",
7137 "class": "Component",
7138 "module": "@ember/component"
7139 },
7140 {
7141 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7142 "line": 974,
7143 "description": "Called before a component has been rendered, both on initial render and\nin subsequent rerenders.",
7144 "itemtype": "event",
7145 "name": "willRender",
7146 "access": "public",
7147 "tagname": "",
7148 "since": "1.13.0",
7149 "class": "Component",
7150 "module": "@ember/component"
7151 },
7152 {
7153 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7154 "line": 982,
7155 "description": "Called when the attributes passed into the component have been changed.\nCalled only during a rerender, not during an initial render.",
7156 "itemtype": "method",
7157 "name": "didUpdateAttrs",
7158 "access": "public",
7159 "tagname": "",
7160 "since": "1.13.0",
7161 "class": "Component",
7162 "module": "@ember/component"
7163 },
7164 {
7165 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7166 "line": 991,
7167 "description": "Called when the attributes passed into the component have been changed.\nCalled only during a rerender, not during an initial render.",
7168 "itemtype": "event",
7169 "name": "didUpdateAttrs",
7170 "access": "public",
7171 "tagname": "",
7172 "since": "1.13.0",
7173 "class": "Component",
7174 "module": "@ember/component"
7175 },
7176 {
7177 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7178 "line": 999,
7179 "description": "Called when the component is about to update and rerender itself.\nCalled only during a rerender, not during an initial render.",
7180 "itemtype": "method",
7181 "name": "willUpdate",
7182 "access": "public",
7183 "tagname": "",
7184 "since": "1.13.0",
7185 "class": "Component",
7186 "module": "@ember/component"
7187 },
7188 {
7189 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7190 "line": 1008,
7191 "description": "Called when the component is about to update and rerender itself.\nCalled only during a rerender, not during an initial render.",
7192 "itemtype": "event",
7193 "name": "willUpdate",
7194 "access": "public",
7195 "tagname": "",
7196 "since": "1.13.0",
7197 "class": "Component",
7198 "module": "@ember/component"
7199 },
7200 {
7201 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7202 "line": 1016,
7203 "description": "Called when the component has updated and rerendered itself.\nCalled only during a rerender, not during an initial render.",
7204 "itemtype": "method",
7205 "name": "didUpdate",
7206 "access": "public",
7207 "tagname": "",
7208 "since": "1.13.0",
7209 "class": "Component",
7210 "module": "@ember/component"
7211 },
7212 {
7213 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7214 "line": 1025,
7215 "description": "Called when the component has updated and rerendered itself.\nCalled only during a rerender, not during an initial render.",
7216 "itemtype": "event",
7217 "name": "didUpdate",
7218 "access": "public",
7219 "tagname": "",
7220 "since": "1.13.0",
7221 "class": "Component",
7222 "module": "@ember/component"
7223 },
7224 {
7225 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7226 "line": 1033,
7227 "description": "Layout can be used to wrap content in a component.",
7228 "itemtype": "property",
7229 "name": "layout",
7230 "type": "Function",
7231 "access": "public",
7232 "tagname": "",
7233 "class": "Component",
7234 "module": "@ember/component"
7235 },
7236 {
7237 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7238 "line": 1040,
7239 "description": "The name of the layout to lookup if no layout is provided.\nBy default `Component` will lookup a template with this name in\n`Ember.TEMPLATES` (a shared global object).",
7240 "itemtype": "property",
7241 "name": "layoutName",
7242 "type": "String",
7243 "default": "null",
7244 "access": "private",
7245 "tagname": "",
7246 "class": "Component",
7247 "module": "@ember/component"
7248 },
7249 {
7250 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7251 "line": 1050,
7252 "description": "Returns a jQuery object for this component's element. If you pass in a selector\nstring, this method will return a jQuery object, using the current element\nas its buffer.\n\nFor example, calling `component.$('li')` will return a jQuery object containing\nall of the `li` elements inside the DOM element of this component.\n\nPlease note that jQuery integration is off by default and this feature will\nnot work properly. To enable this feature, you can read the instructions in\nthe [jquery-integration optional feature guide](https://guides.emberjs.com/release/configuring-ember/optional-features/#toc_jquery-integration).",
7253 "itemtype": "method",
7254 "name": "$",
7255 "params": [
7256 {
7257 "name": "selector",
7258 "description": "a jQuery-compatible selector string",
7259 "type": "String",
7260 "optional": true
7261 }
7262 ],
7263 "return": {
7264 "description": "the jQuery object for the DOM node",
7265 "type": "JQuery"
7266 },
7267 "access": "public",
7268 "tagname": "",
7269 "class": "Component",
7270 "module": "@ember/component"
7271 },
7272 {
7273 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7274 "line": 1067,
7275 "description": "The HTML `id` of the component's element in the DOM. You can provide this\nvalue yourself but it must be unique (just as in HTML):\n\n```handlebars\n{{my-component elementId=\"a-really-cool-id\"}}\n```\n\n```handlebars\n<MyComponent @elementId=\"a-really-cool-id\" />\n```\nIf not manually set a default value will be provided by the framework.\nOnce rendered an element's `elementId` is considered immutable and you\nshould never change it. If you need to compute a dynamic value for the\n`elementId`, you should do this when the component or element is being\ninstantiated:\n\n```javascript\nexport default Component.extend({\n init() {\n this._super(...arguments);\n\n var index = this.get('index');\n this.set('elementId', `component-id${index}`);\n }\n});\n```",
7276 "itemtype": "property",
7277 "name": "elementId",
7278 "type": "String",
7279 "access": "public",
7280 "tagname": "",
7281 "class": "Component",
7282 "module": "@ember/component"
7283 },
7284 {
7285 "file": "packages/@ember/-internals/glimmer/lib/component.ts",
7286 "line": 1100,
7287 "description": "If `false`, the view will appear hidden in DOM.",
7288 "itemtype": "property",
7289 "name": "isVisible",
7290 "type": "Boolean",
7291 "default": "null",
7292 "deprecated": true,
7293 "deprecationMessage": "Use `<div hidden={{this.isHidden}}>` or `{{#if this.showComponent}} <MyComponent /> {{/if}}`",
7294 "access": "public",
7295 "tagname": "",
7296 "class": "Component",
7297 "module": "@ember/component"
7298 },
7299 {
7300 "file": "packages/@ember/-internals/glimmer/lib/glimmer-tracking-docs.ts",
7301 "line": 14,
7302 "description": "Marks a property as tracked. By default, values that are rendered in Ember app\ntemplates are _static_, meaning that updates to them won't cause the\napplication to rerender. Marking a property as tracked means that when that\nproperty changes, any templates that used that property, directly or\nindirectly, will rerender. For instance, consider this component:\n\n```handlebars\n<div>Count: {{this.count}}</div>\n<div>Times Ten: {{this.timesTen}}</div>\n<div>\n <button {{on \"click\" this.plusOne}}>\n Plus One\n </button>\n</div>\n```\n\n```javascript\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class CounterComponent extends Component {\n @tracked count = 0;\n\n get timesTen() {\n return this.count * 10;\n }\n\n @action\n plusOne() {\n this.count += 1;\n }\n}\n```\n\nBoth the `{{this.count}}` and the `{{this.timesTen}}` properties in the\ntemplate will update whenever the button is clicked. Any tracked properties\nthat are used in any way to calculate a value that is used in the template\nwill cause a rerender when updated - this includes through method calls and\nother means:\n\n```javascript\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nclass Entry {\n @tracked name;\n @tracked phoneNumber;\n\n constructor(name, phoneNumber) {\n this.name = name;\n this.phoneNumber = phoneNumber;\n }\n}\n\nexport default class PhoneBookComponent extends Component {\n entries = [\n new Entry('Pizza Palace', 5551234),\n new Entry('1st Street Cleaners', 5554321),\n new Entry('Plants R Us', 5552468),\n ];\n\n // Any usage of this property will update whenever any of the names in the\n // entries arrays are updated\n get names() {\n return this.entries.map(e => e.name);\n }\n\n // Any usage of this property will update whenever any of the numbers in the\n // entries arrays are updated\n get numbers() {\n return this.getFormattedNumbers();\n }\n\n getFormattedNumbers() {\n return this.entries\n .map(e => e.phoneNumber)\n .map(number => {\n let numberString = '' + number;\n\n return numberString.slice(0, 3) + '-' + numberString.slice(3);\n });\n }\n}\n```\n\nIt's important to note that setting tracked properties will always trigger an\nupdate, even if the property is set to the same value as it was before.\n\n```js\nlet entry = new Entry('Pizza Palace', 5551234);\n\n// if entry was used when rendering, this would cause a rerender, even though\n// the name is being set to the same value as it was before\nentry.name = entry.name;\n```\n\n`tracked` can also be used with the classic Ember object model in a similar\nmanner to classic computed properties:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nconst Entry = EmberObject.extend({\n name: tracked(),\n phoneNumber: tracked()\n});\n```\n\nOften this is unnecessary, but to ensure robust auto-tracking behavior it is\nadvisable to mark tracked state appropriately wherever possible.\n\nThis form of `tracked` also accepts an optional configuration object\ncontaining either an initial `value` or an `initializer` function (but not\nboth).\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nconst Entry = EmberObject.extend({\n name: tracked({ value: 'Zoey' }),\n favoriteSongs: tracked({\n initializer: () => ['Raspberry Beret', 'Time After Time']\n })\n});\n```",
7303 "itemtype": "method",
7304 "name": "tracked",
7305 "static": 1,
7306 "access": "public",
7307 "tagname": "",
7308 "class": "@glimmer/tracking",
7309 "module": "@glimmer/tracking"
7310 },
7311 {
7312 "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
7313 "line": 95,
7314 "description": "On a class-based helper, it may be useful to force a recomputation of that\nhelpers value. This is akin to `rerender` on a component.\n\nFor example, this component will rerender when the `currentUser` on a\nsession service changes:\n\n```app/helpers/current-user-email.js\nimport Helper from '@ember/component/helper'\nimport { inject as service } from '@ember/service'\nimport { observer } from '@ember/object'\n\nexport default Helper.extend({\n session: service(),\n\n onNewUser: observer('session.currentUser', function() {\n this.recompute();\n }),\n\n compute() {\n return this.get('session.currentUser.email');\n }\n});\n```",
7315 "itemtype": "method",
7316 "name": "recompute",
7317 "access": "public",
7318 "tagname": "",
7319 "since": "1.13.0",
7320 "class": "Helper",
7321 "module": "@ember/component"
7322 },
7323 {
7324 "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
7325 "line": 128,
7326 "description": "Override this function when writing a class-based helper.",
7327 "itemtype": "method",
7328 "name": "compute",
7329 "params": [
7330 {
7331 "name": "params",
7332 "description": "The positional arguments to the helper",
7333 "type": "Array"
7334 },
7335 {
7336 "name": "hash",
7337 "description": "The named arguments to the helper",
7338 "type": "Object"
7339 }
7340 ],
7341 "access": "public",
7342 "tagname": "",
7343 "since": "1.13.0",
7344 "class": "Helper",
7345 "module": "@ember/component"
7346 },
7347 {
7348 "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
7349 "line": 154,
7350 "description": "In many cases it is not necessary to use the full `Helper` class.\nThe `helper` method create pure-function helpers without instances.\nFor example:\n\n```app/helpers/format-currency.js\nimport { helper } from '@ember/component/helper';\n\nexport default helper(function([cents], {currency}) {\n return `${currency}${cents * 0.01}`;\n});\n```",
7351 "static": 1,
7352 "params": [
7353 {
7354 "name": "helper",
7355 "description": "The helper function",
7356 "type": "Function"
7357 }
7358 ],
7359 "itemtype": "method",
7360 "name": "helper",
7361 "access": "public",
7362 "tagname": "",
7363 "since": "1.13.0",
7364 "class": "@ember/component/helper",
7365 "module": "@ember/component"
7366 },
7367 {
7368 "file": "packages/@ember/-internals/glimmer/lib/resolver.ts",
7369 "line": 301,
7370 "class": "Ember.Templates.helpers",
7371 "module": "@ember/component"
7372 },
7373 {
7374 "file": "packages/@ember/-internals/glimmer/lib/resolver.ts",
7375 "line": 303,
7376 "description": "public componentDefHandleCount = 0;\nCalled while executing Append Op.PushDynamicComponentManager if string",
7377 "class": "Ember.Templates.helpers",
7378 "module": "@ember/component"
7379 },
7380 {
7381 "file": "packages/@ember/-internals/glimmer/lib/resolver.ts",
7382 "line": 333,
7383 "description": "Called by RuntimeConstants to lookup unresolved handles.",
7384 "class": "Ember.Templates.helpers",
7385 "module": "@ember/component"
7386 },
7387 {
7388 "file": "packages/@ember/-internals/glimmer/lib/resolver.ts",
7389 "line": 341,
7390 "description": "Called by CompileTimeLookup compiling Unknown or Helper OpCode",
7391 "class": "Ember.Templates.helpers",
7392 "module": "@ember/component"
7393 },
7394 {
7395 "file": "packages/@ember/-internals/glimmer/lib/resolver.ts",
7396 "line": 358,
7397 "description": "Called by CompileTimeLookup compiling the",
7398 "class": "Ember.Templates.helpers",
7399 "module": "@ember/component"
7400 },
7401 {
7402 "file": "packages/@ember/-internals/glimmer/lib/resolver.ts",
7403 "line": 365,
7404 "description": "Called by CompileTimeLookup to lookup partial",
7405 "class": "Ember.Templates.helpers",
7406 "module": "@ember/component"
7407 },
7408 {
7409 "file": "packages/@ember/-internals/glimmer/index.ts",
7410 "line": 91,
7411 "description": "Use the `{{with}}` helper when you want to alias a property to a new name. This is helpful\nfor semantic clarity as it allows you to retain default scope or to reference a property from another\n`{{with}}` block.\n\nIf the aliased property is \"falsey\", for example: `false`, `undefined` `null`, `\"\"`, `0`, `NaN` or\nan empty array, the block will not be rendered.\n\n```app/templates/application.hbs\n{{! Will only render if user.posts contains items}}\n{{#with @model.posts as |blogPosts|}}\n <div class=\"notice\">\n There are {{blogPosts.length}} blog posts written by {{@model.name}}.\n </div>\n {{#each blogPosts as |post|}}\n <li>{{post.title}}</li>\n {{/each}}\n{{/with}}\n```",
7412 "itemtype": "method",
7413 "name": "with",
7414 "params": [
7415 {
7416 "name": "options",
7417 "description": "",
7418 "type": "Object"
7419 }
7420 ],
7421 "return": {
7422 "description": "HTML string",
7423 "type": "String"
7424 },
7425 "access": "public",
7426 "tagname": "",
7427 "class": "Ember.Templates.helpers",
7428 "module": "ember"
7429 },
7430 {
7431 "file": "packages/@ember/-internals/glimmer/index.ts",
7432 "line": 118,
7433 "description": "`{{yield}}` denotes an area of a template that will be rendered inside\nof another template.\n\n### Use with `Component`\n\nWhen designing components `{{yield}}` is used to denote where, inside the component's\ntemplate, an optional block passed to the component should render:\n\n```app/templates/application.hbs\n<LabeledTextfield @value={{@model.name}}>\n First name:\n</LabeledTextfield>\n```\n\n```app/components/labeled-textfield.hbs\n<label>\n {{yield}} <Input @value={{@value}} />\n</label>\n```\n\nResult:\n\n```html\n<label>\n First name: <input type=\"text\" />\n</label>\n```\n\nAdditionally you can `yield` properties into the context for use by the consumer:\n\n```app/templates/application.hbs\n<LabeledTextfield @value={{@model.validation}} @validator={{this.firstNameValidator}} as |validationError|>\n {{#if validationError}}\n <p class=\"error\">{{validationError}}</p>\n {{/if}}\n First name:\n{{/labeled-textfield}}\n```\n\n```app/components/labeled-textfield.hbs\n<label>\n {{yield this.validationError}} <Input @value={{@value}} />\n</label>\n```\n\nResult:\n\n```html\n<label>\n <p class=\"error\">First Name must be at least 3 characters long.</p>\n First name: <input type=\"text\" />\n</label>\n```",
7434 "itemtype": "method",
7435 "name": "yield",
7436 "params": [
7437 {
7438 "name": "options",
7439 "description": "",
7440 "type": "Hash"
7441 }
7442 ],
7443 "return": {
7444 "description": "HTML string",
7445 "type": "String"
7446 },
7447 "access": "public",
7448 "tagname": "",
7449 "class": "Ember.Templates.helpers",
7450 "module": "ember"
7451 },
7452 {
7453 "file": "packages/@ember/-internals/glimmer/index.ts",
7454 "line": 179,
7455 "description": "`{{has-block}}` indicates if the component was invoked with a block.\n\nThis component is invoked with a block:\n\n```handlebars\n{{#my-component}}\n Hi Jen!\n{{/my-component}}\n```\n\nThis component is invoked without a block:\n\n```handlebars\n{{my-component}}\n```\n\nUsing angle bracket invocation, this looks like:\n\n```html\n<MyComponent>Hi Jen!</MyComponent> {{! with a block}}\n```\n\n```html\n<MyComponent/> {{! without a block}}\n```\n\nThis is useful when you want to create a component that can optionally take a block\nand then render a default template when it is not invoked with a block.\n\n```app/templates/components/my-component.hbs\n{{#if (has-block)}}\n Welcome {{yield}}, we are happy you're here!\n{{else}}\n Hey you! You're great!\n{{/if}}\n```",
7456 "itemtype": "method",
7457 "name": "hasBlock",
7458 "params": [
7459 {
7460 "name": "the",
7461 "description": "name of the block. The name (at the moment) is either \"main\" or \"inverse\" (though only curly components support inverse)",
7462 "type": "String"
7463 }
7464 ],
7465 "return": {
7466 "description": "`true` if the component was invoked with a block",
7467 "type": "Boolean"
7468 },
7469 "access": "public",
7470 "tagname": "",
7471 "class": "Ember.Templates.helpers",
7472 "module": "ember"
7473 },
7474 {
7475 "file": "packages/@ember/-internals/glimmer/index.ts",
7476 "line": 224,
7477 "description": "`{{has-block-params}}` indicates if the component was invoked with block params.\n\nThis component is invoked with block params:\n\n```handlebars\n{{#my-component as |favoriteFlavor|}}\n Hi Jen!\n{{/my-component}}\n```\n\nThis component is invoked without block params:\n\n```handlebars\n{{#my-component}}\n Hi Jenn!\n{{/my-component}}\n```\n\nWith angle bracket syntax, block params look like this:\n\n ```handlebars\n<MyComponent as |favoriteFlavor|>\n Hi Jen!\n</MyComponent>\n```\n\nAnd without block params:\n\n```handlebars\n<MyComponent>\n Hi Jen!\n</MyComponent>\n```\n\nThis is useful when you want to create a component that can render itself\ndifferently when it is not invoked with block params.\n\n```app/templates/components/my-component.hbs\n{{#if (has-block-params)}}\n Welcome {{yield this.favoriteFlavor}}, we're happy you're here and hope you\n enjoy your favorite ice cream flavor.\n{{else}}\n Welcome {{yield}}, we're happy you're here, but we're unsure what\n flavor ice cream you would enjoy.\n{{/if}}\n```",
7478 "itemtype": "method",
7479 "name": "hasBlockParams",
7480 "params": [
7481 {
7482 "name": "the",
7483 "description": "name of the block. The name (at the moment) is either \"main\" or \"inverse\" (though only curly components support inverse)",
7484 "type": "String"
7485 }
7486 ],
7487 "return": {
7488 "description": "`true` if the component was invoked with block params",
7489 "type": "Boolean"
7490 },
7491 "access": "public",
7492 "tagname": "",
7493 "class": "Ember.Templates.helpers",
7494 "module": "ember"
7495 },
7496 {
7497 "file": "packages/@ember/-internals/glimmer/index.ts",
7498 "line": 279,
7499 "description": "Execute the `debugger` statement in the current template's context.\n\n```handlebars\n{{debugger}}\n```\n\nWhen using the debugger helper you will have access to a `get` function. This\nfunction retrieves values available in the context of the template.\nFor example, if you're wondering why a value `{{foo}}` isn't rendering as\nexpected within a template, you could place a `{{debugger}}` statement and,\nwhen the `debugger;` breakpoint is hit, you can attempt to retrieve this value:\n\n```\n> get('foo')\n```\n\n`get` is also aware of keywords. So in this situation\n\n```handlebars\n{{#each this.items as |item|}}\n {{debugger}}\n{{/each}}\n```\n\nYou'll be able to get values from the current item:\n\n```\n> get('item.name')\n```\n\nYou can also access the context of the view to make sure it is the object that\nyou expect:\n\n```\n> context\n```",
7500 "itemtype": "method",
7501 "name": "debugger",
7502 "access": "public",
7503 "tagname": "",
7504 "class": "Ember.Templates.helpers",
7505 "module": "ember"
7506 },
7507 {
7508 "file": "packages/@ember/-internals/glimmer/index.ts",
7509 "line": 322,
7510 "description": "The `partial` helper renders another template without\nchanging the template context:\n\n```handlebars\n{{foo}}\n{{partial \"nav\"}}\n```\n\nThe above example template will render a template named\n\"-nav\", which has the same context as the parent template\nit's rendered into, so if the \"-nav\" template also referenced\n`{{foo}}`, it would print the same thing as the `{{foo}}`\nin the above example.\n\nIf a \"-nav\" template isn't found, the `partial` helper will\nfall back to a template named \"nav\".\n\n### Bound template names\n\nThe parameter supplied to `partial` can also be a path\nto a property containing a template name, e.g.:\n\n```handlebars\n{{partial someTemplateName}}\n```\n\nThe above example will look up the value of `someTemplateName`\non the template context (e.g. a controller) and use that\nvalue as the name of the template to render. If the resolved\nvalue is falsy, nothing will be rendered. If `someTemplateName`\nchanges, the partial will be re-rendered using the new template\nname.",
7511 "itemtype": "method",
7512 "name": "partial",
7513 "params": [
7514 {
7515 "name": "partialName",
7516 "description": "The name of the template to render minus the leading underscore.",
7517 "type": "String"
7518 }
7519 ],
7520 "deprecated": true,
7521 "deprecationMessage": "Use a component instead",
7522 "access": "public",
7523 "tagname": "",
7524 "class": "Ember.Templates.helpers",
7525 "module": "ember"
7526 },
7527 {
7528 "file": "packages/@ember/-internals/meta/lib/meta.ts",
7529 "line": 487,
7530 "description": "Flattening is based on a global revision counter. If the revision has\nbumped it means that somewhere in a class inheritance chain something has\nchanged, so we need to reflatten everything. This can only happen if:\n\n1. A meta has been flattened (listener has been called)\n2. The meta is a prototype meta with children who have inherited its\n listeners\n3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n\nThis is a very rare occurrence, so while the counter is global it shouldn't\nbe updated very often in practice.",
7531 "class": "Ember",
7532 "module": "ember"
7533 },
7534 {
7535 "file": "packages/@ember/-internals/meta/lib/meta.ts",
7536 "line": 687,
7537 "description": "Retrieves the meta hash for an object. If `writable` is true ensures the\nhash is writable for this object as well.\n\nThe meta object contains information about computed property descriptors as\nwell as any watched properties and other information. You generally will\nnot access this information directly but instead work with higher level\nmethods that manipulate this hash indirectly.",
7538 "itemtype": "method",
7539 "name": "meta",
7540 "access": "private",
7541 "tagname": "",
7542 "params": [
7543 {
7544 "name": "obj",
7545 "description": "The object to retrieve meta for",
7546 "type": "Object"
7547 },
7548 {
7549 "name": "writable",
7550 "description": "Pass `false` if you do not intend to modify\n the meta hash, allowing the method to avoid making an unnecessary copy.",
7551 "type": "Boolean",
7552 "optional": true,
7553 "optdefault": "true"
7554 }
7555 ],
7556 "return": {
7557 "description": "the meta hash for an object",
7558 "type": "Object"
7559 },
7560 "class": "Ember",
7561 "module": "ember"
7562 },
7563 {
7564 "file": "packages/@ember/-internals/metal/lib/cache.ts",
7565 "line": 15,
7566 "description": "Receives a function, and returns a wrapped version of it that memoizes based on\n_autotracking_. The function will only rerun whenever any tracked values used\nwithin it have changed. Otherwise, it will return the previous value.\n\n```js\nimport { tracked } from '@glimmer/tracking';\nimport { createCache, getValue } from '@glimmer/tracking/primitives/cache';\n\nclass State {\n @tracked value;\n}\n\nlet state = new State();\nlet computeCount = 0;\n\nlet counter = createCache(() => {\n // consume the state. Now, `counter` will\n // only rerun if `state.value` changes.\n state.value;\n\n return ++computeCount;\n});\n\ngetValue(counter); // 1\n\n// returns the same value because no tracked state has changed\ngetValue(counter); // 1\n\nstate.value = 'foo';\n\n// reruns because a tracked value used in the function has changed,\n// incermenting the counter\ngetValue(counter); // 2\n```",
7567 "itemtype": "method",
7568 "name": "createCache",
7569 "category": [
7570 "EMBER_CACHE_API"
7571 ],
7572 "static": 1,
7573 "access": "public",
7574 "tagname": "",
7575 "class": "@glimmer/tracking/primitives/cache",
7576 "module": "@glimmer/tracking/primitives/cache"
7577 },
7578 {
7579 "file": "packages/@ember/-internals/metal/lib/cache.ts",
7580 "line": 58,
7581 "description": "Gets the value of a cache created with `createCache`.\n\n```js\nimport { tracked } from '@glimmer/tracking';\nimport { createCache, getValue } from '@glimmer/tracking/primitives/cache';\n\nlet computeCount = 0;\n\nlet counter = createCache(() => {\n return ++computeCount;\n});\n\ngetValue(counter); // 1\n```",
7582 "itemtype": "method",
7583 "name": "getValue",
7584 "category": [
7585 "EMBER_CACHE_API"
7586 ],
7587 "static": 1,
7588 "access": "public",
7589 "tagname": "",
7590 "class": "@glimmer/tracking/primitives/cache",
7591 "module": "@glimmer/tracking/primitives/cache"
7592 },
7593 {
7594 "file": "packages/@ember/-internals/metal/lib/cache.ts",
7595 "line": 81,
7596 "description": "Can be used to check if a memoized function is _constant_. If no tracked state\nwas used while running a memoized function, it will never rerun, because nothing\ncan invalidate its result. `isConst` can be used to determine if a memoized\nfunction is constant or not, in order to optimize code surrounding that\nfunction.\n\n```js\nimport { tracked } from '@glimmer/tracking';\nimport { createCache, getValue, isConst } from '@glimmer/tracking/primitives/cache';\n\nclass State {\n @tracked value;\n}\n\nlet state = new State();\nlet computeCount = 0;\n\nlet counter = createCache(() => {\n // consume the state\n state.value;\n\n return computeCount++;\n});\n\nlet constCounter = createCache(() => {\n return computeCount++;\n});\n\ngetValue(counter);\ngetValue(constCounter);\n\nisConst(counter); // false\nisConst(constCounter); // true\n```\n\nIf called on a cache that hasn't been accessed yet, it will throw an\nerror. This is because there's no way to know if the function will be constant\nor not yet, and so this helps prevent missing an optimization opportunity on\naccident.",
7597 "itemtype": "method",
7598 "name": "isConst",
7599 "category": [
7600 "EMBER_CACHE_API"
7601 ],
7602 "static": 1,
7603 "access": "public",
7604 "tagname": "",
7605 "class": "@glimmer/tracking/primitives/cache",
7606 "module": "@glimmer/tracking/primitives/cache"
7607 },
7608 {
7609 "file": "packages/@ember/-internals/metal/lib/computed.ts",
7610 "line": 621,
7611 "description": "Call on a computed property to set it into read-only mode. When in this\nmode the computed property will throw an error when set.\n\nExample:\n\n```javascript\nimport { computed, set } from '@ember/object';\n\nclass Person {\n @computed().readOnly()\n get guid() {\n return 'guid-guid-guid';\n }\n}\n\nlet person = new Person();\nset(person, 'guid', 'new-guid'); // will throw an exception\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { computed } from '@ember/object';\n\nlet Person = EmberObject.extend({\n guid: computed(function() {\n return 'guid-guid-guid';\n }).readOnly()\n});\n\nlet person = Person.create();\nperson.set('guid', 'new-guid'); // will throw an exception\n```",
7612 "itemtype": "method",
7613 "name": "readOnly",
7614 "return": {
7615 "description": "this",
7616 "type": "ComputedProperty"
7617 },
7618 "chainable": 1,
7619 "access": "public",
7620 "tagname": "",
7621 "class": "ComputedProperty",
7622 "module": "@ember/object"
7623 },
7624 {
7625 "file": "packages/@ember/-internals/metal/lib/computed.ts",
7626 "line": 671,
7627 "description": "Call on a computed property to set it into non-cached mode. When in this\nmode the computed property will not automatically cache the return value.\nIt also does not automatically fire any change events. You must manually notify\nany changes if you want to observe this property.\n\nDependency keys have no effect on volatile properties as they are for cache\ninvalidation and notification when cached value is invalidated.\n\nExample:\n\n```javascript\nimport { computed } from '@ember/object';\n\nclass CallCounter {\n _calledCount = 0;\n\n @computed().volatile()\n get calledCount() {\n return this._calledCount++;\n }\n}\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { computed } from '@ember/object';\n\nlet CallCounter = EmberObject.extend({\n _calledCount: 0,\n\n value: computed(function() {\n return this._calledCount++;\n }).volatile()\n});\n```",
7628 "itemtype": "method",
7629 "name": "volatile",
7630 "deprecated": true,
7631 "return": {
7632 "description": "this",
7633 "type": "ComputedProperty"
7634 },
7635 "chainable": 1,
7636 "access": "public",
7637 "tagname": "",
7638 "class": "ComputedProperty",
7639 "module": "@ember/object"
7640 },
7641 {
7642 "file": "packages/@ember/-internals/metal/lib/computed.ts",
7643 "line": 728,
7644 "description": "Sets the dependent keys on this computed property. Pass any number of\narguments containing key paths that this computed property depends on.\n\nExample:\n\n```javascript\nimport EmberObject, { computed } from '@ember/object';\n\nclass President {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n // Tell Ember that this computed property depends on firstName\n // and lastName\n @computed().property('firstName', 'lastName')\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n}\n\nlet president = new President('Barack', 'Obama');\n\npresident.fullName; // 'Barack Obama'\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { computed } from '@ember/object';\n\nlet President = EmberObject.extend({\n fullName: computed(function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n\n // Tell Ember that this computed property depends on firstName\n // and lastName\n }).property('firstName', 'lastName')\n});\n\nlet president = President.create({\n firstName: 'Barack',\n lastName: 'Obama'\n});\n\npresident.get('fullName'); // 'Barack Obama'\n```",
7645 "itemtype": "method",
7646 "name": "property",
7647 "deprecated": true,
7648 "params": [
7649 {
7650 "name": "path",
7651 "description": "zero or more property paths",
7652 "type": "String",
7653 "multiple": true
7654 }
7655 ],
7656 "return": {
7657 "description": "this",
7658 "type": "ComputedProperty"
7659 },
7660 "chainable": 1,
7661 "access": "public",
7662 "tagname": "",
7663 "class": "ComputedProperty",
7664 "module": "@ember/object"
7665 },
7666 {
7667 "file": "packages/@ember/-internals/metal/lib/computed.ts",
7668 "line": 799,
7669 "description": "In some cases, you may want to annotate computed properties with additional\nmetadata about how they function or what values they operate on. For example,\ncomputed property functions may close over variables that are then no longer\navailable for introspection. You can pass a hash of these values to a\ncomputed property.\n\nExample:\n\n```javascript\nimport { computed } from '@ember/object';\nimport Person from 'my-app/utils/person';\n\nclass Store {\n @computed().meta({ type: Person })\n get person() {\n let personId = this.personId;\n return Person.create({ id: personId });\n }\n}\n```\n\nClassic Class Example:\n\n```javascript\nimport { computed } from '@ember/object';\nimport Person from 'my-app/utils/person';\n\nconst Store = EmberObject.extend({\n person: computed(function() {\n let personId = this.get('personId');\n return Person.create({ id: personId });\n }).meta({ type: Person })\n});\n```\n\nThe hash that you pass to the `meta()` function will be saved on the\ncomputed property descriptor under the `_meta` key. Ember runtime\nexposes a public API for retrieving these values from classes,\nvia the `metaForProperty()` function.",
7670 "itemtype": "method",
7671 "name": "meta",
7672 "params": [
7673 {
7674 "name": "meta",
7675 "description": "",
7676 "type": "Object"
7677 }
7678 ],
7679 "chainable": 1,
7680 "access": "public",
7681 "tagname": "",
7682 "class": "ComputedProperty",
7683 "module": "@ember/object"
7684 },
7685 {
7686 "file": "packages/@ember/-internals/metal/lib/computed.ts",
7687 "line": 868,
7688 "description": "This helper returns a new property descriptor that wraps the passed\ncomputed property function. You can use this helper to define properties with\nnative decorator syntax, mixins, or via `defineProperty()`.\n\nExample:\n\n```js\nimport { computed, set } from '@ember/object';\n\nclass Person {\n constructor() {\n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n\n @computed('firstName', 'lastName')\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n}\n\nlet client = new Person();\n\nclient.fullName; // 'Betty Jones'\n\nset(client, 'lastName', 'Fuller');\nclient.fullName; // 'Betty Fuller'\n```\n\nClassic Class Example:\n\n```js\nimport EmberObject, { computed } from '@ember/object';\n\nlet Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n\n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n\n fullName: computed('firstName', 'lastName', function() {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n })\n});\n\nlet client = Person.create();\n\nclient.get('fullName'); // 'Betty Jones'\n\nclient.set('lastName', 'Fuller');\nclient.get('fullName'); // 'Betty Fuller'\n```\n\nYou can also provide a setter, either directly on the class using native class\nsyntax, or by passing a hash with `get` and `set` functions.\n\nExample:\n\n```js\nimport { computed, set } from '@ember/object';\n\nclass Person {\n constructor() {\n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n\n @computed('firstName', 'lastName')\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n\n set fullName(value) {\n let [firstName, lastName] = value.split(/\\s+/);\n\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n\n return value;\n }\n}\n\nlet client = new Person();\n\nclient.fullName; // 'Betty Jones'\n\nset(client, 'lastName', 'Fuller');\nclient.fullName; // 'Betty Fuller'\n```\n\nClassic Class Example:\n\n```js\nimport EmberObject, { computed } from '@ember/object';\n\nlet Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n\n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n\n fullName: computed('firstName', 'lastName', {\n get(key) {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n },\n set(key, value) {\n let [firstName, lastName] = value.split(/\\s+/);\n this.setProperties({ firstName, lastName });\n return value;\n }\n })\n});\n\nlet client = Person.create();\nclient.get('firstName'); // 'Betty'\n\nclient.set('fullName', 'Carroll Fuller');\nclient.get('firstName'); // 'Carroll'\n```\n\nWhen passed as an argument, the `set` function should accept two parameters,\n`key` and `value`. The value returned from `set` will be the new value of the\nproperty.\n\n_Note: This is the preferred way to define computed properties when writing third-party\nlibraries that depend on or use Ember, since there is no guarantee that the user\nwill have [prototype Extensions](https://guides.emberjs.com/release/configuring-ember/disabling-prototype-extensions/) enabled._\n\nThe alternative syntax, with prototype extensions, might look like:\n\n```js\nfullName: function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n}.property('firstName', 'lastName')\n```\n\nThis form does not work with native decorators.",
7689 "itemtype": "method",
7690 "name": "computed",
7691 "static": 1,
7692 "params": [
7693 {
7694 "name": "dependentKeys*",
7695 "description": "Optional dependent keys that trigger this computed property.",
7696 "type": "String",
7697 "optional": true
7698 },
7699 {
7700 "name": "func",
7701 "description": "The computed property function.",
7702 "type": "Function"
7703 }
7704 ],
7705 "return": {
7706 "description": "property decorator instance",
7707 "type": "ComputedDecorator"
7708 },
7709 "access": "public",
7710 "tagname": "",
7711 "class": "@ember/object",
7712 "module": "@ember/object"
7713 },
7714 {
7715 "file": "packages/@ember/-internals/metal/lib/computed.ts",
7716 "line": 1053,
7717 "description": "Allows checking if a given property on an object is a computed property. For the most part,\nthis doesn't matter (you would normally just access the property directly and use its value),\nbut for some tooling specific scenarios (e.g. the ember-inspector) it is important to\ndifferentiate if a property is a computed property or a \"normal\" property.\n\nThis will work on either a class's prototype or an instance itself.",
7718 "static": 1,
7719 "itemtype": "method",
7720 "name": "isComputed",
7721 "access": "private",
7722 "tagname": "",
7723 "class": "@ember/debug",
7724 "module": "@ember/object"
7725 },
7726 {
7727 "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7728 "line": 137,
7729 "description": "Returns the CP descriptor associated with `obj` and `keyName`, if any.",
7730 "itemtype": "method",
7731 "name": "descriptorForProperty",
7732 "params": [
7733 {
7734 "name": "obj",
7735 "description": "the object to check",
7736 "type": "Object"
7737 },
7738 {
7739 "name": "keyName",
7740 "description": "the key to check",
7741 "type": "String"
7742 }
7743 ],
7744 "return": {
7745 "description": "",
7746 "type": "Descriptor"
7747 },
7748 "access": "private",
7749 "tagname": "",
7750 "class": "Descriptor",
7751 "module": "@ember/object"
7752 },
7753 {
7754 "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7755 "line": 165,
7756 "description": "Check whether a value is a decorator",
7757 "itemtype": "method",
7758 "name": "isClassicDecorator",
7759 "params": [
7760 {
7761 "name": "possibleDesc",
7762 "description": "the value to check",
7763 "type": "Any"
7764 }
7765 ],
7766 "return": {
7767 "description": "",
7768 "type": "Boolean"
7769 },
7770 "access": "private",
7771 "tagname": "",
7772 "class": "Descriptor",
7773 "module": "@ember/object"
7774 },
7775 {
7776 "file": "packages/@ember/-internals/metal/lib/decorator.ts",
7777 "line": 177,
7778 "description": "Set a value as a decorator",
7779 "itemtype": "method",
7780 "name": "setClassicDecorator",
7781 "params": [
7782 {
7783 "name": "decorator",
7784 "description": "the value to mark as a decorator",
7785 "type": "Function"
7786 }
7787 ],
7788 "access": "private",
7789 "tagname": "",
7790 "class": "Descriptor",
7791 "module": "@ember/object"
7792 },
7793 {
7794 "file": "packages/@ember/-internals/metal/lib/deprecate_property.ts",
7795 "line": 10,
7796 "description": "Used internally to allow changing properties in a backwards compatible way, and print a helpful\ndeprecation warning.",
7797 "itemtype": "method",
7798 "name": "deprecateProperty",
7799 "params": [
7800 {
7801 "name": "object",
7802 "description": "The object to add the deprecated property to.",
7803 "type": "Object"
7804 },
7805 {
7806 "name": "deprecatedKey",
7807 "description": "The property to add (and print deprecation warnings upon accessing).",
7808 "type": "String"
7809 },
7810 {
7811 "name": "newKey",
7812 "description": "The property that will be aliased.",
7813 "type": "String"
7814 }
7815 ],
7816 "access": "private",
7817 "tagname": "",
7818 "since": "1.7.0",
7819 "class": "@ember/object/events",
7820 "module": "ember"
7821 },
7822 {
7823 "file": "packages/@ember/-internals/metal/lib/events.ts",
7824 "line": 26,
7825 "description": "Add an event listener",
7826 "itemtype": "method",
7827 "name": "addListener",
7828 "static": 1,
7829 "params": [
7830 {
7831 "name": "obj",
7832 "description": ""
7833 },
7834 {
7835 "name": "eventName",
7836 "description": "",
7837 "type": "String"
7838 },
7839 {
7840 "name": "target",
7841 "description": "A target object or a function",
7842 "type": "Object|Function"
7843 },
7844 {
7845 "name": "method",
7846 "description": "A function or the name of a function to be called on `target`",
7847 "type": "Function|String"
7848 },
7849 {
7850 "name": "once",
7851 "description": "A flag whether a function should only be called once",
7852 "type": "Boolean"
7853 }
7854 ],
7855 "access": "public",
7856 "tagname": "",
7857 "class": "@ember/object/events",
7858 "module": "@ember/object"
7859 },
7860 {
7861 "file": "packages/@ember/-internals/metal/lib/events.ts",
7862 "line": 60,
7863 "description": "Remove an event listener\n\nArguments should match those passed to `addListener`.",
7864 "itemtype": "method",
7865 "name": "removeListener",
7866 "static": 1,
7867 "params": [
7868 {
7869 "name": "obj",
7870 "description": ""
7871 },
7872 {
7873 "name": "eventName",
7874 "description": "",
7875 "type": "String"
7876 },
7877 {
7878 "name": "target",
7879 "description": "A target object or a function",
7880 "type": "Object|Function"
7881 },
7882 {
7883 "name": "method",
7884 "description": "A function or the name of a function to be called on `target`",
7885 "type": "Function|String"
7886 }
7887 ],
7888 "access": "public",
7889 "tagname": "",
7890 "class": "@ember/object/events",
7891 "module": "@ember/object"
7892 },
7893 {
7894 "file": "packages/@ember/-internals/metal/lib/events.ts",
7895 "line": 103,
7896 "description": "Send an event. The execution of suspended listeners\nis skipped, and once listeners are removed. A listener without\na target is executed on the passed object. If an array of actions\nis not passed, the actions stored on the passed object are invoked.",
7897 "itemtype": "method",
7898 "name": "sendEvent",
7899 "static": 1,
7900 "params": [
7901 {
7902 "name": "obj",
7903 "description": ""
7904 },
7905 {
7906 "name": "eventName",
7907 "description": "",
7908 "type": "String"
7909 },
7910 {
7911 "name": "params",
7912 "description": "Optional parameters for each listener.",
7913 "type": "Array"
7914 }
7915 ],
7916 "return": {
7917 "description": "if the event was delivered to one or more actions",
7918 "type": "Boolean"
7919 },
7920 "access": "public",
7921 "tagname": "",
7922 "class": "@ember/object/events",
7923 "module": "@ember/object"
7924 },
7925 {
7926 "file": "packages/@ember/-internals/metal/lib/events.ts",
7927 "line": 160,
7928 "access": "private",
7929 "tagname": "",
7930 "itemtype": "method",
7931 "name": "hasListeners",
7932 "static": 1,
7933 "params": [
7934 {
7935 "name": "obj",
7936 "description": ""
7937 },
7938 {
7939 "name": "eventName",
7940 "description": "",
7941 "type": "String"
7942 }
7943 ],
7944 "return": {
7945 "description": "if `obj` has listeners for event `eventName`",
7946 "type": "Boolean"
7947 },
7948 "class": "@ember/object/events",
7949 "module": "@ember/object"
7950 },
7951 {
7952 "file": "packages/@ember/-internals/metal/lib/events.ts",
7953 "line": 178,
7954 "description": "Define a property as a function that should be executed when\na specified event or events are triggered.\n\n``` javascript\nimport EmberObject from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { sendEvent } from '@ember/object/events';\n\nlet Job = EmberObject.extend({\n logCompleted: on('completed', function() {\n console.log('Job completed!');\n })\n});\n\nlet job = Job.create();\n\nsendEvent(job, 'completed'); // Logs 'Job completed!'\n ```",
7955 "itemtype": "method",
7956 "name": "on",
7957 "static": 1,
7958 "params": [
7959 {
7960 "name": "eventNames",
7961 "description": "",
7962 "type": "String",
7963 "multiple": true
7964 },
7965 {
7966 "name": "func",
7967 "description": "",
7968 "type": "Function"
7969 }
7970 ],
7971 "return": {
7972 "description": "the listener function, passed as last argument to on(...)",
7973 "type": "Function"
7974 },
7975 "access": "public",
7976 "tagname": "",
7977 "class": "@ember/object/evented",
7978 "module": "@ember/object"
7979 },
7980 {
7981 "file": "packages/@ember/-internals/metal/lib/expand_properties.ts",
7982 "line": 9,
7983 "description": "Expands `pattern`, invoking `callback` for each expansion.\n\nThe only pattern supported is brace-expansion, anything else will be passed\nonce to `callback` directly.\n\nExample\n\n```js\nimport { expandProperties } from '@ember/object/computed';\n\nfunction echo(arg){ console.log(arg); }\n\nexpandProperties('foo.bar', echo); //=> 'foo.bar'\nexpandProperties('{foo,bar}', echo); //=> 'foo', 'bar'\nexpandProperties('foo.{bar,baz}', echo); //=> 'foo.bar', 'foo.baz'\nexpandProperties('{foo,bar}.baz', echo); //=> 'foo.baz', 'bar.baz'\nexpandProperties('foo.{bar,baz}.[]', echo) //=> 'foo.bar.[]', 'foo.baz.[]'\nexpandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\nexpandProperties('{foo}.bar.{baz}') //=> 'foo.bar.baz'\n```",
7984 "itemtype": "method",
7985 "name": "expandProperties",
7986 "static": 1,
7987 "access": "public",
7988 "tagname": "",
7989 "params": [
7990 {
7991 "name": "pattern",
7992 "description": "The property pattern to expand.",
7993 "type": "String"
7994 },
7995 {
7996 "name": "callback",
7997 "description": "The callback to invoke. It is invoked once per\nexpansion, and is passed the expansion.",
7998 "type": "Function"
7999 }
8000 ],
8001 "class": "@ember/object/computed",
8002 "module": "@ember/object"
8003 },
8004 {
8005 "file": "packages/@ember/-internals/metal/lib/get_properties.ts",
8006 "line": 6,
8007 "description": "To get multiple properties at once, call `getProperties`\nwith an object followed by a list of strings or an array:\n\n```javascript\nimport { getProperties } from '@ember/object';\n\ngetProperties(record, 'firstName', 'lastName', 'zipCode');\n// { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n```\n\nis equivalent to:\n\n```javascript\nimport { getProperties } from '@ember/object';\n\ngetProperties(record, ['firstName', 'lastName', 'zipCode']);\n// { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n```",
8008 "itemtype": "method",
8009 "name": "getProperties",
8010 "static": 1,
8011 "params": [
8012 {
8013 "name": "obj",
8014 "description": "",
8015 "type": "Object"
8016 },
8017 {
8018 "name": "list",
8019 "description": "of keys to get",
8020 "type": "String...|Array"
8021 }
8022 ],
8023 "return": {
8024 "description": "",
8025 "type": "Object"
8026 },
8027 "access": "public",
8028 "tagname": "",
8029 "class": "@ember/object",
8030 "module": "@ember/object"
8031 },
8032 {
8033 "file": "packages/@ember/-internals/metal/lib/is_blank.ts",
8034 "line": 5,
8035 "description": "A value is blank if it is empty or a whitespace string.\n\n```javascript\nimport { isBlank } from '@ember/utils';\n\nisBlank(); // true\nisBlank(null); // true\nisBlank(undefined); // true\nisBlank(''); // true\nisBlank([]); // true\nisBlank('\\n\\t'); // true\nisBlank(' '); // true\nisBlank({}); // false\nisBlank('\\n\\t Hello'); // false\nisBlank('Hello world'); // false\nisBlank([1,2,3]); // false\n```",
8036 "itemtype": "method",
8037 "name": "isBlank",
8038 "static": 1,
8039 "params": [
8040 {
8041 "name": "obj",
8042 "description": "Value to test",
8043 "type": "Object"
8044 }
8045 ],
8046 "return": {
8047 "description": "",
8048 "type": "Boolean"
8049 },
8050 "since": "1.5.0",
8051 "access": "public",
8052 "tagname": "",
8053 "class": "@ember/utils",
8054 "module": "@ember/utils"
8055 },
8056 {
8057 "file": "packages/@ember/-internals/metal/lib/is_empty.ts",
8058 "line": 5,
8059 "description": "Verifies that a value is `null` or `undefined`, an empty string, or an empty\narray.\n\nConstrains the rules on `isNone` by returning true for empty strings and\nempty arrays.\n\nIf the value is an object with a `size` property of type number, it is used\nto check emptiness.\n\n```javascript\nisEmpty(); // true\nisEmpty(null); // true\nisEmpty(undefined); // true\nisEmpty(''); // true\nisEmpty([]); // true\nisEmpty({ size: 0}); // true\nisEmpty({}); // false\nisEmpty('Adam Hawkins'); // false\nisEmpty([0,1,2]); // false\nisEmpty('\\n\\t'); // false\nisEmpty(' '); // false\nisEmpty({ size: 1 }) // false\nisEmpty({ size: () => 0 }) // false\n```",
8060 "itemtype": "method",
8061 "name": "isEmpty",
8062 "static": 1,
8063 "params": [
8064 {
8065 "name": "obj",
8066 "description": "Value to test",
8067 "type": "Object"
8068 }
8069 ],
8070 "return": {
8071 "description": "",
8072 "type": "Boolean"
8073 },
8074 "access": "public",
8075 "tagname": "",
8076 "class": "@ember/utils",
8077 "module": "@ember/utils"
8078 },
8079 {
8080 "file": "packages/@ember/-internals/metal/lib/is_none.ts",
8081 "line": 4,
8082 "description": "Returns true if the passed value is null or undefined. This avoids errors\nfrom JSLint complaining about use of ==, which can be technically\nconfusing.\n\n```javascript\nisNone(); // true\nisNone(null); // true\nisNone(undefined); // true\nisNone(''); // false\nisNone([]); // false\nisNone(function() {}); // false\n```",
8083 "itemtype": "method",
8084 "name": "isNone",
8085 "static": 1,
8086 "params": [
8087 {
8088 "name": "obj",
8089 "description": "Value to test",
8090 "type": "Object"
8091 }
8092 ],
8093 "return": {
8094 "description": "",
8095 "type": "Boolean"
8096 },
8097 "access": "public",
8098 "tagname": "",
8099 "class": "@ember/utils",
8100 "module": "@ember/utils"
8101 },
8102 {
8103 "file": "packages/@ember/-internals/metal/lib/is_present.ts",
8104 "line": 5,
8105 "description": "A value is present if it not `isBlank`.\n\n```javascript\nisPresent(); // false\nisPresent(null); // false\nisPresent(undefined); // false\nisPresent(''); // false\nisPresent(' '); // false\nisPresent('\\n\\t'); // false\nisPresent([]); // false\nisPresent({ length: 0 }); // false\nisPresent(false); // true\nisPresent(true); // true\nisPresent('string'); // true\nisPresent(0); // true\nisPresent(function() {}); // true\nisPresent({}); // true\nisPresent('\\n\\t Hello'); // true\nisPresent([1, 2, 3]); // true\n```",
8106 "itemtype": "method",
8107 "name": "isPresent",
8108 "static": 1,
8109 "params": [
8110 {
8111 "name": "obj",
8112 "description": "Value to test",
8113 "type": "Object"
8114 }
8115 ],
8116 "return": {
8117 "description": "",
8118 "type": "Boolean"
8119 },
8120 "since": "1.8.0",
8121 "access": "public",
8122 "tagname": "",
8123 "class": "@ember/utils",
8124 "module": "@ember/utils"
8125 },
8126 {
8127 "file": "packages/@ember/-internals/metal/lib/mixin.ts",
8128 "line": 465,
8129 "itemtype": "method",
8130 "name": "mixin",
8131 "params": [
8132 {
8133 "name": "obj",
8134 "description": ""
8135 },
8136 {
8137 "name": "mixins",
8138 "description": "",
8139 "multiple": true
8140 }
8141 ],
8142 "return": {
8143 "description": "obj"
8144 },
8145 "access": "private",
8146 "tagname": "",
8147 "class": "Mixin",
8148 "module": "@ember/object"
8149 },
8150 {
8151 "file": "packages/@ember/-internals/metal/lib/mixin.ts",
8152 "line": 587,
8153 "itemtype": "method",
8154 "name": "create",
8155 "static": 1,
8156 "params": [
8157 {
8158 "name": "arguments",
8159 "description": "",
8160 "multiple": true
8161 }
8162 ],
8163 "access": "public",
8164 "tagname": "",
8165 "class": "@ember/object/mixin",
8166 "module": "@ember/object"
8167 },
8168 {
8169 "file": "packages/@ember/-internals/metal/lib/mixin.ts",
8170 "line": 619,
8171 "itemtype": "method",
8172 "name": "reopen",
8173 "params": [
8174 {
8175 "name": "arguments",
8176 "description": "",
8177 "multiple": true
8178 }
8179 ],
8180 "access": "private",
8181 "tagname": "",
8182 "class": "@ember/object/mixin",
8183 "module": "@ember/object"
8184 },
8185 {
8186 "file": "packages/@ember/-internals/metal/lib/mixin.ts",
8187 "line": 641,
8188 "itemtype": "method",
8189 "name": "apply",
8190 "params": [
8191 {
8192 "name": "obj",
8193 "description": ""
8194 }
8195 ],
8196 "return": {
8197 "description": "applied object"
8198 },
8199 "access": "private",
8200 "tagname": "",
8201 "class": "@ember/object/mixin",
8202 "module": "@ember/object"
8203 },
8204 {
8205 "file": "packages/@ember/-internals/metal/lib/mixin.ts",
8206 "line": 660,
8207 "itemtype": "method",
8208 "name": "detect",
8209 "params": [
8210 {
8211 "name": "obj",
8212 "description": ""
8213 }
8214 ],
8215 "return": {
8216 "description": "",
8217 "type": "Boolean"
8218 },
8219 "access": "private",
8220 "tagname": "",
8221 "class": "@ember/object/mixin",
8222 "module": "@ember/object"
8223 },
8224 {
8225 "file": "packages/@ember/-internals/metal/lib/mixin.ts",
8226 "line": 787,
8227 "description": "Makes a method available via an additional name.\n\n```app/utils/person.js\nimport EmberObject, {\n aliasMethod\n} from '@ember/object';\n\nexport default EmberObject.extend({\n name() {\n return 'Tomhuda Katzdale';\n },\n moniker: aliasMethod('name')\n});\n```\n\n```javascript\nlet goodGuy = Person.create();\n\ngoodGuy.name(); // 'Tomhuda Katzdale'\ngoodGuy.moniker(); // 'Tomhuda Katzdale'\n```",
8228 "itemtype": "method",
8229 "name": "aliasMethod",
8230 "static": 1,
8231 "deprecated": true,
8232 "deprecationMessage": "Use a shared utility method instead",
8233 "params": [
8234 {
8235 "name": "methodName",
8236 "description": "name of the method to alias",
8237 "type": "String"
8238 }
8239 ],
8240 "access": "public",
8241 "tagname": "",
8242 "class": "@ember/object",
8243 "module": "@ember/object"
8244 },
8245 {
8246 "file": "packages/@ember/-internals/metal/lib/mixin.ts",
8247 "line": 840,
8248 "description": "Specify a method that observes property changes.\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { observer } from '@ember/object';\n\nexport default EmberObject.extend({\n valueObserver: observer('value', function() {\n // Executes whenever the \"value\" property changes\n })\n});\n```\n\nAlso available as `Function.prototype.observes` if prototype extensions are\nenabled.",
8249 "itemtype": "method",
8250 "name": "observer",
8251 "params": [
8252 {
8253 "name": "propertyNames",
8254 "description": "",
8255 "type": "String",
8256 "multiple": true
8257 },
8258 {
8259 "name": "func",
8260 "description": "",
8261 "type": "Function"
8262 }
8263 ],
8264 "return": {
8265 "description": "func"
8266 },
8267 "access": "public",
8268 "tagname": "",
8269 "static": 1,
8270 "class": "@ember/object",
8271 "module": "@ember/object"
8272 },
8273 {
8274 "file": "packages/@ember/-internals/metal/lib/observer.ts",
8275 "line": 26,
8276 "itemtype": "method",
8277 "name": "addObserver",
8278 "static": 1,
8279 "params": [
8280 {
8281 "name": "obj",
8282 "description": ""
8283 },
8284 {
8285 "name": "path",
8286 "description": "",
8287 "type": "String"
8288 },
8289 {
8290 "name": "target",
8291 "description": "",
8292 "type": "Object|Function"
8293 },
8294 {
8295 "name": "method",
8296 "description": "",
8297 "type": "Function|String",
8298 "optional": true
8299 }
8300 ],
8301 "access": "public",
8302 "tagname": "",
8303 "class": "@ember/object/observers",
8304 "module": "@ember/object"
8305 },
8306 {
8307 "file": "packages/@ember/-internals/metal/lib/observer.ts",
8308 "line": 54,
8309 "itemtype": "method",
8310 "name": "removeObserver",
8311 "static": 1,
8312 "params": [
8313 {
8314 "name": "obj",
8315 "description": ""
8316 },
8317 {
8318 "name": "path",
8319 "description": "",
8320 "type": "String"
8321 },
8322 {
8323 "name": "target",
8324 "description": "",
8325 "type": "Object|Function"
8326 },
8327 {
8328 "name": "method",
8329 "description": "",
8330 "type": "Function|String",
8331 "optional": true
8332 }
8333 ],
8334 "access": "public",
8335 "tagname": "",
8336 "class": "@ember/object/observers",
8337 "module": "@ember/object"
8338 },
8339 {
8340 "file": "packages/@ember/-internals/metal/lib/observer.ts",
8341 "line": 154,
8342 "description": "Primarily used for cases where we are redefining a class, e.g. mixins/reopen\nbeing applied later. Revalidates all the observers, resetting their tags.",
8343 "access": "private",
8344 "tagname": "",
8345 "params": [
8346 {
8347 "name": "target",
8348 "description": ""
8349 }
8350 ],
8351 "class": "@ember/object/observers",
8352 "module": "@ember/object"
8353 },
8354 {
8355 "file": "packages/@ember/-internals/metal/lib/properties.ts",
8356 "line": 11,
8357 "description": "NOTE: This is a low-level method used by other parts of the API. You almost\nnever want to call this method directly. Instead you should use\n`mixin()` to define new properties.\n\nDefines a property on an object. This method works much like the ES5\n`Object.defineProperty()` method except that it can also accept computed\nproperties and other special descriptors.\n\nNormally this method takes only three parameters. However if you pass an\ninstance of `Descriptor` as the third param then you can pass an\noptional value as the fourth parameter. This is often more efficient than\ncreating new descriptor hashes for each property.\n\n## Examples\n\n```javascript\nimport { defineProperty, computed } from '@ember/object';\n\n// ES5 compatible mode\ndefineProperty(contact, 'firstName', {\n writable: true,\n configurable: false,\n enumerable: true,\n value: 'Charles'\n});\n\n// define a simple property\ndefineProperty(contact, 'lastName', undefined, 'Jolley');\n\n// define a computed property\ndefineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {\n return this.firstName+' '+this.lastName;\n}));\n```",
8358 "access": "public",
8359 "tagname": "",
8360 "itemtype": "method",
8361 "name": "defineProperty",
8362 "static": 1,
8363 "params": [
8364 {
8365 "name": "obj",
8366 "description": "the object to define this property on. This may be a prototype.",
8367 "type": "Object"
8368 },
8369 {
8370 "name": "keyName",
8371 "description": "the name of the property",
8372 "type": "String"
8373 },
8374 {
8375 "name": "desc",
8376 "description": "an instance of `Descriptor` (typically a\n computed property) or an ES5 descriptor.\n You must provide this or `data` but not both.",
8377 "type": "Descriptor",
8378 "optional": true
8379 },
8380 {
8381 "name": "data",
8382 "description": "something other than a descriptor, that will\n become the explicit value of this property.",
8383 "type": "*",
8384 "optional": true
8385 }
8386 ],
8387 "class": "@ember/object",
8388 "module": "@ember/object"
8389 },
8390 {
8391 "file": "packages/@ember/-internals/metal/lib/property_events.ts",
8392 "line": 19,
8393 "description": "This function is called just after an object property has changed.\nIt will notify any observers and clear caches among other things.\n\nNormally you will not need to call this method directly but if for some\nreason you can't directly watch a property you can invoke this method\nmanually.",
8394 "itemtype": "method",
8395 "name": "notifyPropertyChange",
8396 "params": [
8397 {
8398 "name": "obj",
8399 "description": "The object with the property that will change",
8400 "type": "Object"
8401 },
8402 {
8403 "name": "keyName",
8404 "description": "The property key (or path) that will change.",
8405 "type": "String"
8406 },
8407 {
8408 "name": "_meta",
8409 "description": "The objects meta.",
8410 "type": "Meta",
8411 "optional": true
8412 },
8413 {
8414 "name": "value",
8415 "description": "The new value to set for the property",
8416 "type": "Unknown",
8417 "optional": true
8418 }
8419 ],
8420 "return": {
8421 "description": "",
8422 "type": "Void"
8423 },
8424 "since": "3.1.0",
8425 "access": "public",
8426 "tagname": "",
8427 "class": "@ember/object",
8428 "module": "ember"
8429 },
8430 {
8431 "file": "packages/@ember/-internals/metal/lib/property_events.ts",
8432 "line": 67,
8433 "itemtype": "method",
8434 "name": "beginPropertyChanges",
8435 "chainable": 1,
8436 "access": "private",
8437 "tagname": "",
8438 "class": "@ember/object",
8439 "module": "ember"
8440 },
8441 {
8442 "file": "packages/@ember/-internals/metal/lib/property_events.ts",
8443 "line": 77,
8444 "itemtype": "method",
8445 "name": "endPropertyChanges",
8446 "access": "private",
8447 "tagname": "",
8448 "class": "@ember/object",
8449 "module": "ember"
8450 },
8451 {
8452 "file": "packages/@ember/-internals/metal/lib/property_events.ts",
8453 "line": 89,
8454 "description": "Make a series of property changes together in an\nexception-safe way.\n\n```javascript\nEmber.changeProperties(function() {\n obj1.set('foo', mayBlowUpWhenSet);\n obj2.set('bar', baz);\n});\n```",
8455 "itemtype": "method",
8456 "name": "changeProperties",
8457 "params": [
8458 {
8459 "name": "callback",
8460 "description": "",
8461 "type": "Function"
8462 }
8463 ],
8464 "access": "private",
8465 "tagname": "",
8466 "class": "@ember/object",
8467 "module": "ember"
8468 },
8469 {
8470 "file": "packages/@ember/-internals/metal/lib/property_get.ts",
8471 "line": 47,
8472 "description": "Gets the value of a property on an object. If the property is computed,\nthe function will be invoked. If the property is not defined but the\nobject implements the `unknownProperty` method then that will be invoked.\n\n```javascript\nimport { get } from '@ember/object';\nget(obj, \"name\");\n```\n\nIf you plan to run on IE8 and older browsers then you should use this\nmethod anytime you want to retrieve a property on an object that you don't\nknow for sure is private. (Properties beginning with an underscore '_'\nare considered private.)\n\nOn all newer browsers, you only need to use this method to retrieve\nproperties if the property might not be defined on the object and you want\nto respect the `unknownProperty` handler. Otherwise you can ignore this\nmethod.\n\nNote that if the object itself is `undefined`, this method will throw\nan error.",
8473 "itemtype": "method",
8474 "name": "get",
8475 "static": 1,
8476 "params": [
8477 {
8478 "name": "obj",
8479 "description": "The object to retrieve from.",
8480 "type": "Object"
8481 },
8482 {
8483 "name": "keyName",
8484 "description": "The property key to retrieve",
8485 "type": "String"
8486 }
8487 ],
8488 "return": {
8489 "description": "the property value or `null`.",
8490 "type": "Object"
8491 },
8492 "access": "public",
8493 "tagname": "",
8494 "class": "@ember/object",
8495 "module": "@ember/object"
8496 },
8497 {
8498 "file": "packages/@ember/-internals/metal/lib/property_get.ts",
8499 "line": 161,
8500 "description": "Retrieves the value of a property from an Object, or a default value in the\ncase that the property returns `undefined`.\n\n```javascript\nimport { getWithDefault } from '@ember/object';\ngetWithDefault(person, 'lastName', 'Doe');\n```",
8501 "itemtype": "method",
8502 "name": "getWithDefault",
8503 "static": 1,
8504 "params": [
8505 {
8506 "name": "obj",
8507 "description": "The object to retrieve from.",
8508 "type": "Object"
8509 },
8510 {
8511 "name": "keyName",
8512 "description": "The name of the property to retrieve",
8513 "type": "String"
8514 },
8515 {
8516 "name": "defaultValue",
8517 "description": "The value to return if the property value is undefined",
8518 "type": "Object"
8519 }
8520 ],
8521 "return": {
8522 "description": "The property value or the defaultValue.",
8523 "type": "Object"
8524 },
8525 "access": "public",
8526 "tagname": "",
8527 "class": "@ember/object",
8528 "module": "@ember/object"
8529 },
8530 {
8531 "file": "packages/@ember/-internals/metal/lib/property_set.ts",
8532 "line": 23,
8533 "description": "Sets the value of a property on an object, respecting computed properties\nand notifying observers and other listeners of the change.\nIf the specified property is not defined on the object and the object\nimplements the `setUnknownProperty` method, then instead of setting the\nvalue of the property on the object, its `setUnknownProperty` handler\nwill be invoked with the two parameters `keyName` and `value`.\n\n```javascript\nimport { set } from '@ember/object';\nset(obj, \"name\", value);\n```",
8534 "itemtype": "method",
8535 "name": "set",
8536 "static": 1,
8537 "params": [
8538 {
8539 "name": "obj",
8540 "description": "The object to modify.",
8541 "type": "Object"
8542 },
8543 {
8544 "name": "keyName",
8545 "description": "The property key to set",
8546 "type": "String"
8547 },
8548 {
8549 "name": "value",
8550 "description": "The value to set",
8551 "type": "Object"
8552 }
8553 ],
8554 "return": {
8555 "description": "the passed value.",
8556 "type": "Object"
8557 },
8558 "access": "public",
8559 "tagname": "",
8560 "class": "@ember/object",
8561 "module": "@ember/object"
8562 },
8563 {
8564 "file": "packages/@ember/-internals/metal/lib/property_set.ts",
8565 "line": 129,
8566 "description": "Error-tolerant form of `set`. Will not blow up if any part of the\nchain is `undefined`, `null`, or destroyed.\n\nThis is primarily used when syncing bindings, which may try to update after\nan object has been destroyed.\n\n```javascript\nimport { trySet } from '@ember/object';\n\nlet obj = { name: \"Zoey\" };\ntrySet(obj, \"contacts.twitter\", \"@emberjs\");\n```",
8567 "itemtype": "method",
8568 "name": "trySet",
8569 "static": 1,
8570 "params": [
8571 {
8572 "name": "root",
8573 "description": "The object to modify.",
8574 "type": "Object"
8575 },
8576 {
8577 "name": "path",
8578 "description": "The property path to set",
8579 "type": "String"
8580 },
8581 {
8582 "name": "value",
8583 "description": "The value to set",
8584 "type": "Object"
8585 }
8586 ],
8587 "access": "public",
8588 "tagname": "",
8589 "class": "@ember/object",
8590 "module": "@ember/object"
8591 },
8592 {
8593 "file": "packages/@ember/-internals/metal/lib/set_properties.ts",
8594 "line": 6,
8595 "description": "Set a list of properties on an object. These properties are set inside\na single `beginPropertyChanges` and `endPropertyChanges` batch, so\nobservers will be buffered.\n\n```javascript\nimport EmberObject from '@ember/object';\nlet anObject = EmberObject.create();\n\nanObject.setProperties({\n firstName: 'Stanley',\n lastName: 'Stuart',\n age: 21\n});\n```",
8596 "itemtype": "method",
8597 "name": "setProperties",
8598 "static": 1,
8599 "params": [
8600 {
8601 "name": "obj",
8602 "description": ""
8603 },
8604 {
8605 "name": "properties",
8606 "description": "",
8607 "type": "Object"
8608 }
8609 ],
8610 "return": {
8611 "description": "properties"
8612 },
8613 "access": "public",
8614 "tagname": "",
8615 "class": "@ember/object",
8616 "module": "@ember/object"
8617 },
8618 {
8619 "file": "packages/@ember/-internals/metal/lib/tracked.ts",
8620 "line": 16,
8621 "decorator": "",
8622 "access": "private",
8623 "tagname": "Marks a property as tracked.\n\nBy default, a component's properties are expected to be static,\nmeaning you are not able to update them and have the template update accordingly.\nMarking a property as tracked means that when that property changes,\na rerender of the component is scheduled so the template is kept up to date.\n\nThere are two usages for the `@tracked` decorator, shown below.",
8624 "example": [
8625 " No dependencies\n\nIf you don't pass an argument to `@tracked`, only changes to that property\nwill be tracked:\n\n```typescript\nimport Component, { tracked } from '@glimmer/component';\n\nexport default class MyComponent extends Component {\n @tracked\n remainingApples = 10\n}\n```\n\nWhen something changes the component's `remainingApples` property, the rerender\nwill be scheduled.",
8626 " Dependents\n\nIn the case that you have a computed property that depends other\nproperties, you want to track both so that when one of the\ndependents change, a rerender is scheduled.\n\nIn the following example we have two properties,\n`eatenApples`, and `remainingApples`.\n\n```typescript\nimport Component, { tracked } from '@glimmer/component';\n\nconst totalApples = 100;\n\nexport default class MyComponent extends Component {\n @tracked\n eatenApples = 0\n\n @tracked('eatenApples')\n get remainingApples() {\n return totalApples - this.eatenApples;\n }\n\n increment() {\n this.eatenApples = this.eatenApples + 1;\n }\n}\n```"
8627 ],
8628 "params": [
8629 {
8630 "name": "dependencies",
8631 "description": "Optional dependents to be tracked."
8632 }
8633 ],
8634 "class": "@ember/application",
8635 "module": "@ember/object"
8636 },
8637 {
8638 "file": "packages/@ember/-internals/owner/index.ts",
8639 "line": 46,
8640 "description": "Framework objects in an Ember application (components, services, routes, etc.)\nare created via a factory and dependency injection system. Each of these\nobjects is the responsibility of an \"owner\", which handled its\ninstantiation and manages its lifetime.\n\n`getOwner` fetches the owner object responsible for an instance. This can\nbe used to lookup or resolve other class instances, or register new factories\ninto the owner.\n\nFor example, this component dynamically looks up a service based on the\n`audioType` passed as an argument:\n\n```app/components/play-audio.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { getOwner } from '@ember/application';\n\n// Usage:\n//\n// <PlayAudio @audioType={{@model.audioType}} @audioFile={{@model.file}}/>\n//\nexport default class extends Component {\n get audioService() {\n let owner = getOwner(this);\n return owner.lookup(`service:${this.args.audioType}`);\n }\n\n @action\n onPlay() {\n let player = this.audioService;\n player.play(this.args.audioFile);\n }\n}\n```",
8641 "itemtype": "method",
8642 "name": "getOwner",
8643 "static": 1,
8644 "params": [
8645 {
8646 "name": "object",
8647 "description": "An object with an owner.",
8648 "type": "Object"
8649 }
8650 ],
8651 "return": {
8652 "description": "An owner object.",
8653 "type": "Object"
8654 },
8655 "since": "2.3.0",
8656 "access": "public",
8657 "tagname": "",
8658 "class": "@ember/application",
8659 "module": "@ember/application"
8660 },
8661 {
8662 "file": "packages/@ember/-internals/owner/index.ts",
8663 "line": 109,
8664 "description": "`setOwner` forces a new owner on a given object instance. This is primarily\nuseful in some testing cases.",
8665 "itemtype": "method",
8666 "name": "setOwner",
8667 "static": 1,
8668 "params": [
8669 {
8670 "name": "object",
8671 "description": "An object instance.",
8672 "type": "Object"
8673 },
8674 {
8675 "name": "object",
8676 "description": "The new owner object of the object instance.",
8677 "type": "Object"
8678 }
8679 ],
8680 "since": "2.3.0",
8681 "access": "public",
8682 "tagname": "",
8683 "class": "@ember/application",
8684 "module": "@ember/application"
8685 },
8686 {
8687 "file": "packages/@ember/-internals/routing/lib/ext/controller.ts",
8688 "line": 12,
8689 "description": "Defines which query parameters the controller accepts.\nIf you give the names `['category','page']` it will bind\nthe values of these query parameters to the variables\n`this.category` and `this.page`.\nBy default, Ember coerces query parameter values using `toggleProperty`.\nThis behavior may lead to unexpected results.\nAvailable queryParam types: `boolean`, `number`, `array`.\nIf query param type not specified, it will be `string`.\nTo explicitly configure a query parameter property so it coerces as expected, you must define a type property:\n\n```javascript\n queryParams: [{\n category: {\n type: 'boolean'\n }\n }]\n```",
8690 "itemtype": "property",
8691 "name": "queryParams",
8692 "access": "public",
8693 "tagname": "",
8694 "class": "Ember.ControllerMixin",
8695 "module": "ember"
8696 },
8697 {
8698 "file": "packages/@ember/-internals/routing/lib/ext/controller.ts",
8699 "line": 37,
8700 "description": "This property is updated to various different callback functions depending on\nthe current \"state\" of the backing route. It is used by\n`Controller.prototype._qpChanged`.\n\nThe methods backing each state can be found in the `Route.prototype._qp` computed\nproperty return value (the `.states` property). The current values are listed here for\nthe sanity of future travelers:\n\n* `inactive` - This state is used when this controller instance is not part of the active\n route hierarchy. Set in `Route.prototype._reset` (a `router.js` microlib hook) and\n `Route.prototype.actions.finalizeQueryParamChange`.\n* `active` - This state is used when this controller instance is part of the active\n route hierarchy. Set in `Route.prototype.actions.finalizeQueryParamChange`.\n* `allowOverrides` - This state is used in `Route.prototype.setup` (`route.js` microlib hook).",
8701 "itemtype": "method",
8702 "name": "_qpDelegate",
8703 "access": "private",
8704 "tagname": "",
8705 "class": "Ember.ControllerMixin",
8706 "module": "ember"
8707 },
8708 {
8709 "file": "packages/@ember/-internals/routing/lib/ext/controller.ts",
8710 "line": 58,
8711 "description": "During `Route#setup` observers are created to invoke this method\nwhen any of the query params declared in `Controller#queryParams` property\nare changed.\n\nWhen invoked this method uses the currently active query param update delegate\n(see `Controller.prototype._qpDelegate` for details) and invokes it with\nthe QP key/value being changed.",
8712 "itemtype": "method",
8713 "name": "_qpChanged",
8714 "access": "private",
8715 "tagname": "",
8716 "class": "Ember.ControllerMixin",
8717 "module": "ember"
8718 },
8719 {
8720 "file": "packages/@ember/-internals/routing/lib/ext/controller.ts",
8721 "line": 79,
8722 "description": "Transition the application into another route. The route may\nbe either a single route or route path:\n\n```javascript\naController.transitionToRoute('blogPosts');\naController.transitionToRoute('blogPosts.recentEntries');\n```\n\nOptionally supply a model for the route in question. The model\nwill be serialized into the URL using the `serialize` hook of\nthe route:\n\n```javascript\naController.transitionToRoute('blogPost', aPost);\n```\n\nIf a literal is passed (such as a number or a string), it will\nbe treated as an identifier instead. In this case, the `model`\nhook of the route will be triggered:\n\n```javascript\naController.transitionToRoute('blogPost', 1);\n```\n\nMultiple models will be applied last to first recursively up the\nroute tree.\n\n```app/router.js\nRouter.map(function() {\n this.route('blogPost', { path: ':blogPostId' }, function() {\n this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n });\n});\n```\n\n```javascript\naController.transitionToRoute('blogComment', aPost, aComment);\naController.transitionToRoute('blogComment', 1, 13);\n```\n\nIt is also possible to pass a URL (a string that starts with a\n`/`).\n\n```javascript\naController.transitionToRoute('/');\naController.transitionToRoute('/blog/post/1/comment/13');\naController.transitionToRoute('/blog/posts?sort=title');\n```\n\nAn options hash with a `queryParams` property may be provided as\nthe final argument to add query parameters to the destination URL.\n\n```javascript\naController.transitionToRoute('blogPost', 1, {\n queryParams: { showComments: 'true' }\n});\n\n// if you just want to transition the query parameters without changing the route\naController.transitionToRoute({ queryParams: { sort: 'date' } });\n```\n\nSee also [replaceRoute](/ember/release/classes/Ember.ControllerMixin/methods/replaceRoute?anchor=replaceRoute).",
8723 "params": [
8724 {
8725 "name": "name",
8726 "description": "the name of the route or a URL",
8727 "type": "String"
8728 },
8729 {
8730 "name": "models",
8731 "description": "the model(s) or identifier(s) to be used\n while transitioning to the route.",
8732 "type": "...Object"
8733 },
8734 {
8735 "name": "options",
8736 "description": "optional hash with a queryParams property\n containing a mapping of query parameters",
8737 "type": "Object",
8738 "optional": true
8739 }
8740 ],
8741 "itemtype": "method",
8742 "name": "transitionToRoute",
8743 "access": "public",
8744 "tagname": "",
8745 "class": "Ember.ControllerMixin",
8746 "module": "ember"
8747 },
8748 {
8749 "file": "packages/@ember/-internals/routing/lib/ext/controller.ts",
8750 "line": 159,
8751 "description": "Transition into another route while replacing the current URL, if possible.\nThis will replace the current history entry instead of adding a new one.\nBeside that, it is identical to `transitionToRoute` in all other respects.\n\n```javascript\naController.replaceRoute('blogPosts');\naController.replaceRoute('blogPosts.recentEntries');\n```\n\nOptionally supply a model for the route in question. The model\nwill be serialized into the URL using the `serialize` hook of\nthe route:\n\n```javascript\naController.replaceRoute('blogPost', aPost);\n```\n\nIf a literal is passed (such as a number or a string), it will\nbe treated as an identifier instead. In this case, the `model`\nhook of the route will be triggered:\n\n```javascript\naController.replaceRoute('blogPost', 1);\n```\n\nMultiple models will be applied last to first recursively up the\nroute tree.\n\n```app/router.js\nRouter.map(function() {\n this.route('blogPost', { path: ':blogPostId' }, function() {\n this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n });\n});\n```\n\n```\naController.replaceRoute('blogComment', aPost, aComment);\naController.replaceRoute('blogComment', 1, 13);\n```\n\nIt is also possible to pass a URL (a string that starts with a\n`/`).\n\n```javascript\naController.replaceRoute('/');\naController.replaceRoute('/blog/post/1/comment/13');\n```",
8752 "params": [
8753 {
8754 "name": "name",
8755 "description": "the name of the route or a URL",
8756 "type": "String"
8757 },
8758 {
8759 "name": "models",
8760 "description": "the model(s) or identifier(s) to be used\nwhile transitioning to the route.",
8761 "type": "...Object"
8762 }
8763 ],
8764 "itemtype": "method",
8765 "name": "replaceRoute",
8766 "access": "public",
8767 "tagname": "",
8768 "class": "Ember.ControllerMixin",
8769 "module": "ember"
8770 },
8771 {
8772 "file": "packages/@ember/-internals/routing/lib/location/api.ts",
8773 "line": 78,
8774 "description": "This is deprecated in favor of using the container to lookup the location\nimplementation as desired.\n\nFor example:\n\n```javascript\n// Given a location registered as follows:\ncontainer.register('location:history-test', HistoryTestLocation);\n\n// You could create a new instance via:\ncontainer.lookup('location:history-test');\n```",
8775 "itemtype": "method",
8776 "name": "create",
8777 "params": [
8778 {
8779 "name": "options",
8780 "description": "",
8781 "type": "Object"
8782 }
8783 ],
8784 "return": {
8785 "description": "an instance of an implementation of the `location` API",
8786 "type": "Object"
8787 },
8788 "deprecated": true,
8789 "deprecationMessage": "Use the container to lookup the location implementation that you\n need.",
8790 "access": "private",
8791 "tagname": "",
8792 "class": "Location",
8793 "module": "@ember/routing"
8794 },
8795 {
8796 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8797 "line": 73,
8798 "description": "Called by the router to instruct the location to do any feature detection\nnecessary. In the case of AutoLocation, we detect whether to use history\nor hash concrete implementations.",
8799 "access": "private",
8800 "tagname": "",
8801 "class": "AutoLocation",
8802 "module": "@ember/routing"
8803 },
8804 {
8805 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8806 "line": 119,
8807 "access": "private",
8808 "tagname": "Will be pre-pended to path upon state change.",
8809 "since": "1.5.1",
8810 "itemtype": "property",
8811 "name": "rootURL",
8812 "default": "'/'",
8813 "class": "AutoLocation",
8814 "module": "@ember/routing"
8815 },
8816 {
8817 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8818 "line": 136,
8819 "access": "private",
8820 "tagname": "The browser's `location` object. This is typically equivalent to\n`window.location`, but may be overridden for testing.",
8821 "itemtype": "property",
8822 "name": "location",
8823 "default": "environment.location",
8824 "class": "AutoLocation",
8825 "module": "@ember/routing"
8826 },
8827 {
8828 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8829 "line": 147,
8830 "access": "private",
8831 "tagname": "The browser's `history` object. This is typically equivalent to\n`window.history`, but may be overridden for testing.",
8832 "since": "1.5.1",
8833 "itemtype": "property",
8834 "name": "history",
8835 "default": "environment.history",
8836 "class": "AutoLocation",
8837 "module": "@ember/routing"
8838 },
8839 {
8840 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8841 "line": 159,
8842 "access": "private",
8843 "tagname": "The user agent's global variable. In browsers, this will be `window`.",
8844 "since": "1.11",
8845 "itemtype": "property",
8846 "name": "global",
8847 "default": "window",
8848 "class": "AutoLocation",
8849 "module": "@ember/routing"
8850 },
8851 {
8852 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8853 "line": 170,
8854 "access": "private",
8855 "tagname": "The browser's `userAgent`. This is typically equivalent to\n`navigator.userAgent`, but may be overridden for testing.",
8856 "since": "1.5.1",
8857 "itemtype": "property",
8858 "name": "userAgent",
8859 "default": "environment.history",
8860 "class": "AutoLocation",
8861 "module": "@ember/routing"
8862 },
8863 {
8864 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8865 "line": 182,
8866 "access": "private",
8867 "tagname": "This property is used by the router to know whether to cancel the routing\nsetup process, which is needed while we redirect the browser.",
8868 "since": "1.5.1",
8869 "itemtype": "property",
8870 "name": "cancelRouterSetup",
8871 "default": "false",
8872 "class": "AutoLocation",
8873 "module": "@ember/routing"
8874 },
8875 {
8876 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8877 "line": 273,
8878 "access": "private",
8879 "tagname": "Returns the current path as it should appear for HistoryLocation supported\nbrowsers. This may very well differ from the real current path (e.g. if it\nstarts off as a hashed URL)",
8880 "class": "AutoLocation",
8881 "module": "@ember/routing"
8882 },
8883 {
8884 "file": "packages/@ember/-internals/routing/lib/location/auto_location.ts",
8885 "line": 317,
8886 "access": "private",
8887 "tagname": "Returns the current path as it should appear for HashLocation supported\nbrowsers. This may very well differ from the real current path.",
8888 "itemtype": "method",
8889 "name": "_getHashPath",
8890 "class": "AutoLocation",
8891 "module": "@ember/routing"
8892 },
8893 {
8894 "file": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
8895 "line": 48,
8896 "access": "private",
8897 "tagname": "Returns normalized location.hash",
8898 "since": "1.5.1",
8899 "itemtype": "method",
8900 "name": "getHash",
8901 "class": "HashLocation",
8902 "module": "@ember/routing"
8903 },
8904 {
8905 "file": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
8906 "line": 60,
8907 "description": "Returns the normalized URL, constructed from `location.hash`.\n\ne.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n\nBy convention, hashed paths must begin with a forward slash, otherwise they\nare not treated as a path so we can distinguish intent.",
8908 "access": "private",
8909 "tagname": "",
8910 "itemtype": "method",
8911 "name": "getURL",
8912 "class": "HashLocation",
8913 "module": "@ember/routing"
8914 },
8915 {
8916 "file": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
8917 "line": 90,
8918 "description": "Set the `location.hash` and remembers what was set. This prevents\n`onUpdateURL` callbacks from triggering when the hash was set by\n`HashLocation`.",
8919 "access": "private",
8920 "tagname": "",
8921 "itemtype": "method",
8922 "name": "setURL",
8923 "params": [
8924 {
8925 "name": "path",
8926 "description": "",
8927 "type": "String"
8928 }
8929 ],
8930 "class": "HashLocation",
8931 "module": "@ember/routing"
8932 },
8933 {
8934 "file": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
8935 "line": 104,
8936 "description": "Uses location.replace to update the url without a page reload\nor history modification.",
8937 "access": "private",
8938 "tagname": "",
8939 "itemtype": "method",
8940 "name": "replaceURL",
8941 "params": [
8942 {
8943 "name": "path",
8944 "description": "",
8945 "type": "String"
8946 }
8947 ],
8948 "class": "HashLocation",
8949 "module": "@ember/routing"
8950 },
8951 {
8952 "file": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
8953 "line": 117,
8954 "description": "Register a callback to be invoked when the hash changes. These\ncallbacks will execute when the user presses the back or forward\nbutton, but not after `setURL` is invoked.",
8955 "access": "private",
8956 "tagname": "",
8957 "itemtype": "method",
8958 "name": "onUpdateURL",
8959 "params": [
8960 {
8961 "name": "callback",
8962 "description": "",
8963 "type": "Function"
8964 }
8965 ],
8966 "class": "HashLocation",
8967 "module": "@ember/routing"
8968 },
8969 {
8970 "file": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
8971 "line": 142,
8972 "description": "Given a URL, formats it to be placed into the page as part\nof an element's `href` attribute.\n\nThis is used, for example, when using the {{action}} helper\nto generate a URL based on an event.",
8973 "access": "private",
8974 "tagname": "",
8975 "itemtype": "method",
8976 "name": "formatURL",
8977 "params": [
8978 {
8979 "name": "url",
8980 "description": "",
8981 "type": "String"
8982 }
8983 ],
8984 "class": "HashLocation",
8985 "module": "@ember/routing"
8986 },
8987 {
8988 "file": "packages/@ember/-internals/routing/lib/location/hash_location.ts",
8989 "line": 157,
8990 "description": "Cleans up the HashLocation event listener.",
8991 "access": "private",
8992 "tagname": "",
8993 "itemtype": "method",
8994 "name": "willDestroy",
8995 "class": "HashLocation",
8996 "module": "@ember/routing"
8997 },
8998 {
8999 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9000 "line": 56,
9001 "description": "Will be pre-pended to path upon state change",
9002 "itemtype": "property",
9003 "name": "rootURL",
9004 "default": "'/'",
9005 "access": "private",
9006 "tagname": "",
9007 "class": "HistoryLocation",
9008 "module": "@ember/routing"
9009 },
9010 {
9011 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9012 "line": 64,
9013 "access": "private",
9014 "tagname": "Returns normalized location.hash",
9015 "itemtype": "method",
9016 "name": "getHash",
9017 "class": "HistoryLocation",
9018 "module": "@ember/routing"
9019 },
9020 {
9021 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9022 "line": 90,
9023 "description": "Used to set state on first call to setURL",
9024 "access": "private",
9025 "tagname": "",
9026 "itemtype": "method",
9027 "name": "initState",
9028 "class": "HistoryLocation",
9029 "module": "@ember/routing"
9030 },
9031 {
9032 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9033 "line": 111,
9034 "description": "Returns the current `location.pathname` without `rootURL` or `baseURL`",
9035 "access": "private",
9036 "tagname": "",
9037 "itemtype": "method",
9038 "name": "getURL",
9039 "return": {
9040 "description": "url",
9041 "type": "String"
9042 },
9043 "class": "HistoryLocation",
9044 "module": "@ember/routing"
9045 },
9046 {
9047 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9048 "line": 138,
9049 "description": "Uses `history.pushState` to update the url without a page reload.",
9050 "access": "private",
9051 "tagname": "",
9052 "itemtype": "method",
9053 "name": "setURL",
9054 "params": [
9055 {
9056 "name": "path",
9057 "description": "",
9058 "type": "String"
9059 }
9060 ],
9061 "class": "HistoryLocation",
9062 "module": "@ember/routing"
9063 },
9064 {
9065 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9066 "line": 154,
9067 "description": "Uses `history.replaceState` to update the url without a page reload\nor history modification.",
9068 "access": "private",
9069 "tagname": "",
9070 "itemtype": "method",
9071 "name": "replaceURL",
9072 "params": [
9073 {
9074 "name": "path",
9075 "description": "",
9076 "type": "String"
9077 }
9078 ],
9079 "class": "HistoryLocation",
9080 "module": "@ember/routing"
9081 },
9082 {
9083 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9084 "line": 171,
9085 "description": "Pushes a new state.",
9086 "access": "private",
9087 "tagname": "",
9088 "itemtype": "method",
9089 "name": "pushState",
9090 "params": [
9091 {
9092 "name": "path",
9093 "description": "",
9094 "type": "String"
9095 }
9096 ],
9097 "class": "HistoryLocation",
9098 "module": "@ember/routing"
9099 },
9100 {
9101 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9102 "line": 187,
9103 "description": "Replaces the current state.",
9104 "access": "private",
9105 "tagname": "",
9106 "itemtype": "method",
9107 "name": "replaceState",
9108 "params": [
9109 {
9110 "name": "path",
9111 "description": "",
9112 "type": "String"
9113 }
9114 ],
9115 "class": "HistoryLocation",
9116 "module": "@ember/routing"
9117 },
9118 {
9119 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9120 "line": 203,
9121 "description": "Register a callback to be invoked whenever the browser\nhistory changes, including using forward and back buttons.",
9122 "access": "private",
9123 "tagname": "",
9124 "itemtype": "method",
9125 "name": "onUpdateURL",
9126 "params": [
9127 {
9128 "name": "callback",
9129 "description": "",
9130 "type": "Function"
9131 }
9132 ],
9133 "class": "HistoryLocation",
9134 "module": "@ember/routing"
9135 },
9136 {
9137 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9138 "line": 228,
9139 "description": "Used when using `{{action}}` helper. The url is always appended to the rootURL.",
9140 "access": "private",
9141 "tagname": "",
9142 "itemtype": "method",
9143 "name": "formatURL",
9144 "params": [
9145 {
9146 "name": "url",
9147 "description": "",
9148 "type": "String"
9149 }
9150 ],
9151 "return": {
9152 "description": "formatted url",
9153 "type": "String"
9154 },
9155 "class": "HistoryLocation",
9156 "module": "@ember/routing"
9157 },
9158 {
9159 "file": "packages/@ember/-internals/routing/lib/location/history_location.ts",
9160 "line": 252,
9161 "description": "Cleans up the HistoryLocation event listener.",
9162 "access": "private",
9163 "tagname": "",
9164 "itemtype": "method",
9165 "name": "willDestroy",
9166 "class": "HistoryLocation",
9167 "module": "@ember/routing"
9168 },
9169 {
9170 "file": "packages/@ember/-internals/routing/lib/location/none_location.ts",
9171 "line": 37,
9172 "description": "Returns the current path without `rootURL`.",
9173 "access": "private",
9174 "tagname": "",
9175 "itemtype": "method",
9176 "name": "getURL",
9177 "return": {
9178 "description": "path",
9179 "type": "String"
9180 },
9181 "class": "NoneLocation",
9182 "module": "@ember/routing"
9183 },
9184 {
9185 "file": "packages/@ember/-internals/routing/lib/location/none_location.ts",
9186 "line": 54,
9187 "description": "Set the path and remembers what was set. Using this method\nto change the path will not invoke the `updateURL` callback.",
9188 "access": "private",
9189 "tagname": "",
9190 "itemtype": "method",
9191 "name": "setURL",
9192 "params": [
9193 {
9194 "name": "path",
9195 "description": "",
9196 "type": "String"
9197 }
9198 ],
9199 "class": "NoneLocation",
9200 "module": "@ember/routing"
9201 },
9202 {
9203 "file": "packages/@ember/-internals/routing/lib/location/none_location.ts",
9204 "line": 66,
9205 "description": "Register a callback to be invoked when the path changes. These\ncallbacks will execute when the user presses the back or forward\nbutton, but not after `setURL` is invoked.",
9206 "access": "private",
9207 "tagname": "",
9208 "itemtype": "method",
9209 "name": "onUpdateURL",
9210 "params": [
9211 {
9212 "name": "callback",
9213 "description": "",
9214 "type": "Function"
9215 }
9216 ],
9217 "class": "NoneLocation",
9218 "module": "@ember/routing"
9219 },
9220 {
9221 "file": "packages/@ember/-internals/routing/lib/location/none_location.ts",
9222 "line": 79,
9223 "description": "Sets the path and calls the `updateURL` callback.",
9224 "access": "private",
9225 "tagname": "",
9226 "itemtype": "method",
9227 "name": "handleURL",
9228 "params": [
9229 {
9230 "name": "url",
9231 "description": "",
9232 "type": "String"
9233 }
9234 ],
9235 "class": "NoneLocation",
9236 "module": "@ember/routing"
9237 },
9238 {
9239 "file": "packages/@ember/-internals/routing/lib/location/none_location.ts",
9240 "line": 91,
9241 "description": "Given a URL, formats it to be placed into the page as part\nof an element's `href` attribute.\n\nThis is used, for example, when using the {{action}} helper\nto generate a URL based on an event.",
9242 "access": "private",
9243 "tagname": "",
9244 "itemtype": "method",
9245 "name": "formatURL",
9246 "params": [
9247 {
9248 "name": "url",
9249 "description": "",
9250 "type": "String"
9251 }
9252 ],
9253 "return": {
9254 "description": "url",
9255 "type": "String"
9256 },
9257 "class": "NoneLocation",
9258 "module": "@ember/routing"
9259 },
9260 {
9261 "file": "packages/@ember/-internals/routing/lib/location/none_location.ts",
9262 "line": 118,
9263 "description": "Will be pre-pended to path.",
9264 "access": "private",
9265 "tagname": "",
9266 "itemtype": "property",
9267 "name": "rootURL",
9268 "default": "'/'",
9269 "class": "NoneLocation",
9270 "module": "@ember/routing"
9271 },
9272 {
9273 "file": "packages/@ember/-internals/routing/lib/location/util.ts",
9274 "line": 1,
9275 "access": "private",
9276 "tagname": "Returns the current `location.pathname`, normalized for IE inconsistencies.",
9277 "class": "RouterService",
9278 "module": "@ember/routing"
9279 },
9280 {
9281 "file": "packages/@ember/-internals/routing/lib/location/util.ts",
9282 "line": 16,
9283 "access": "private",
9284 "tagname": "Returns the current `location.search`.",
9285 "class": "RouterService",
9286 "module": "@ember/routing"
9287 },
9288 {
9289 "file": "packages/@ember/-internals/routing/lib/location/util.ts",
9290 "line": 25,
9291 "access": "private",
9292 "tagname": "Returns the hash or empty string",
9293 "class": "RouterService",
9294 "module": "@ember/routing"
9295 },
9296 {
9297 "file": "packages/@ember/-internals/routing/lib/location/util.ts",
9298 "line": 98,
9299 "description": "Replaces the current location, making sure we explicitly include the origin\nto prevent redirecting to a different origin.",
9300 "access": "private",
9301 "tagname": "",
9302 "class": "RouterService",
9303 "module": "@ember/routing"
9304 },
9305 {
9306 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9307 "line": 85,
9308 "description": "Transition the application into another route. The route may\nbe either a single route or route path:\n\nSee [transitionTo](/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\n\nCalling `transitionTo` from the Router service will cause default query parameter values to be included in the URL.\nThis behavior is different from calling `transitionTo` on a route or `transitionToRoute` on a controller.\nSee the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n\nIn the following example we use the Router service to navigate to a route with a\nspecific model from a Component in the first action, and in the second we trigger\na query-params only transition.\n\n```app/components/example.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class extends Component {\n @service router;\n\n @action\n goToComments(post) {\n this.router.transitionTo('comments', post);\n }\n\n @action\n fetchMoreComments(latestComment) {\n this.router.transitionTo({\n queryParams: { commentsAfter: latestComment }\n });\n }\n}\n```",
9309 "itemtype": "method",
9310 "name": "transitionTo",
9311 "params": [
9312 {
9313 "name": "routeNameOrUrl",
9314 "description": "the name of the route or a URL",
9315 "type": "String",
9316 "optional": true
9317 },
9318 {
9319 "name": "models",
9320 "description": "the model(s) or identifier(s) to be used while\n transitioning to the route.",
9321 "type": "...Object",
9322 "optional": true
9323 },
9324 {
9325 "name": "options",
9326 "description": "optional hash with a queryParams property\n containing a mapping of query parameters. May be supplied as the only\n parameter to trigger a query-parameter-only transition.",
9327 "type": "Object",
9328 "optional": true
9329 }
9330 ],
9331 "return": {
9332 "description": "the transition object associated with this\n attempted transition",
9333 "type": "Transition"
9334 },
9335 "access": "public",
9336 "tagname": "",
9337 "class": "RouterService",
9338 "module": "@ember/routing"
9339 },
9340 {
9341 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9342 "line": 147,
9343 "description": "Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\nit replaces the entry for the current route.\nWhen the user clicks the \"back\" button in the browser, there will be fewer steps.\nThis is most commonly used to manage redirects in a way that does not cause confusing additions\nto the user's browsing history.\n\nSee [replaceWith](/ember/release/classes/Route/methods/replaceWith?anchor=replaceWith) for more info.\n\nCalling `replaceWith` from the Router service will cause default query parameter values to be included in the URL.\nThis behavior is different from calling `replaceWith` on a route.\nSee the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n\nUsage example:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\n\nexport default class extends Route {\n beforeModel() {\n if (!authorized()){\n this.replaceWith('unauthorized');\n }\n }\n});\n```",
9344 "itemtype": "method",
9345 "name": "replaceWith",
9346 "params": [
9347 {
9348 "name": "routeNameOrUrl",
9349 "description": "the name of the route or a URL of the desired destination",
9350 "type": "String"
9351 },
9352 {
9353 "name": "models",
9354 "description": "the model(s) or identifier(s) to be used while\n transitioning to the route i.e. an object of params to pass to the destination route",
9355 "type": "...Object"
9356 },
9357 {
9358 "name": "options",
9359 "description": "optional hash with a queryParams property\n containing a mapping of query parameters",
9360 "type": "Object",
9361 "optional": true
9362 }
9363 ],
9364 "return": {
9365 "description": "the transition object associated with this\n attempted transition",
9366 "type": "Transition"
9367 },
9368 "access": "public",
9369 "tagname": "",
9370 "class": "RouterService",
9371 "module": "@ember/routing"
9372 },
9373 {
9374 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9375 "line": 188,
9376 "description": "Generate a URL based on the supplied route name and optionally a model. The\nURL is returned as a string that can be used for any purpose.\n\nIn this example, the URL for the `author.books` route for a given author\nis copied to the clipboard.\n\n```app/templates/application.hbs\n<CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n```\n\n```app/components/copy-link.js\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class CopyLinkComponent extends Component {\n @service router;\n @service clipboard;\n\n @action\n copyBooksURL() {\n if (this.author) {\n const url = this.router.urlFor('author.books', this.args.author);\n this.clipboard.set(url);\n // Clipboard now has /author/tomster/books\n }\n }\n}\n```\n\nJust like with `transitionTo` and `replaceWith`, `urlFor` can also handle\nquery parameters.\n\n```app/templates/application.hbs\n<CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n```\n\n```app/components/copy-link.js\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\nimport { action } from '@ember/object';\n\nexport default class CopyLinkComponent extends Component {\n @service router;\n @service clipboard;\n\n @action\n copyOnlyEmberBooksURL() {\n if (this.author) {\n const url = this.router.urlFor('author.books', this.author, {\n queryParams: { filter: 'emberjs' }\n });\n this.clipboard.set(url);\n // Clipboard now has /author/tomster/books?filter=emberjs\n }\n }\n}\n```",
9377 "itemtype": "method",
9378 "name": "urlFor",
9379 "params": [
9380 {
9381 "name": "routeName",
9382 "description": "the name of the route",
9383 "type": "String"
9384 },
9385 {
9386 "name": "models",
9387 "description": "the model(s) or identifier(s) to be used while\n transitioning to the route.",
9388 "type": "...Object"
9389 },
9390 {
9391 "name": "options",
9392 "description": "optional hash with a queryParams property\n containing a mapping of query parameters",
9393 "type": "Object",
9394 "optional": true
9395 }
9396 ],
9397 "return": {
9398 "description": "the string representing the generated URL",
9399 "type": "String"
9400 },
9401 "access": "public",
9402 "tagname": "",
9403 "class": "RouterService",
9404 "module": "@ember/routing"
9405 },
9406 {
9407 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9408 "line": 261,
9409 "description": "Returns `true` if `routeName/models/queryParams` is the active route, where `models` and `queryParams` are optional.\nSee [model](api/ember/release/classes/Route/methods/model?anchor=model) and\n[queryParams](/api/ember/3.7/classes/Route/properties/queryParams?anchor=queryParams) for more information about these arguments.\n\nIn the following example, `isActive` will return `true` if the current route is `/posts`.\n\n```app/components/posts.js\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class extends Component {\n @service router;\n\n displayComments() {\n return this.get('router').isActive('posts');\n }\n});\n```\n\nThe next example includes a dynamic segment, and will return `true` if the current route is `/posts/1`,\nassuming the post has an id of 1:\n\n```app/components/posts.js\nimport Component from '@glimmer/component';\nimport { inject as service } from '@ember/service';\n\nexport default class extends Component {\n @service router;\n\n displayComments(post) {\n return this.get('router').isActive('posts', post.id);\n }\n});\n```\n\nWhere `post.id` is the id of a specific post, which is represented in the route as /posts/[post.id].\nIf `post.id` is equal to 1, then isActive will return true if the current route is /posts/1, and false if the route is anything else.",
9410 "itemtype": "method",
9411 "name": "isActive",
9412 "params": [
9413 {
9414 "name": "routeName",
9415 "description": "the name of the route",
9416 "type": "String"
9417 },
9418 {
9419 "name": "models",
9420 "description": "the model(s) or identifier(s) to be used when determining the active route.",
9421 "type": "...Object"
9422 },
9423 {
9424 "name": "options",
9425 "description": "optional hash with a queryParams property\n containing a mapping of query parameters",
9426 "type": "Object",
9427 "optional": true
9428 }
9429 ],
9430 "return": {
9431 "description": "true if the provided routeName/models/queryParams are active",
9432 "type": "Boolean"
9433 },
9434 "access": "public",
9435 "tagname": "",
9436 "class": "RouterService",
9437 "module": "@ember/routing"
9438 },
9439 {
9440 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9441 "line": 356,
9442 "description": "Takes a string URL and returns a `RouteInfo` for the leafmost route represented\nby the URL. Returns `null` if the URL is not recognized. This method expects to\nreceive the actual URL as seen by the browser including the app's `rootURL`.\n\nSee [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n\nIn the following example `recognize` is used to verify if a path belongs to our\napplication before transitioning to it.\n\n```\nimport Component from '@ember/component';\nimport { inject as service } from '@ember/service';\n\nexport default class extends Component {\n @service router;\n path = '/';\n\n click() {\n if (this.router.recognize(this.path)) {\n this.router.transitionTo(this.path);\n }\n }\n}\n```",
9443 "itemtype": "method",
9444 "name": "recognize",
9445 "params": [
9446 {
9447 "name": "url",
9448 "description": "",
9449 "type": "String"
9450 }
9451 ],
9452 "access": "public",
9453 "tagname": "",
9454 "class": "RouterService",
9455 "module": "@ember/routing"
9456 },
9457 {
9458 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9459 "line": 395,
9460 "description": "Takes a string URL and returns a promise that resolves to a\n`RouteInfoWithAttributes` for the leafmost route represented by the URL.\nThe promise rejects if the URL is not recognized or an unhandled exception\nis encountered. This method expects to receive the actual URL as seen by\nthe browser including the app's `rootURL`.",
9461 "itemtype": "method",
9462 "name": "recognizeAndLoad",
9463 "params": [
9464 {
9465 "name": "url",
9466 "description": "",
9467 "type": "String"
9468 }
9469 ],
9470 "access": "public",
9471 "tagname": "",
9472 "class": "RouterService",
9473 "module": "@ember/routing"
9474 },
9475 {
9476 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9477 "line": 415,
9478 "description": "The `routeWillChange` event is fired at the beginning of any\nattempted transition with a `Transition` object as the sole\nargument. This action can be used for aborting, redirecting,\nor decorating the transition from the currently active routes.\n\nA good example is preventing navigation when a form is\nhalf-filled out:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class extends Route {\n @service router;\n\n constructor() {\n super(...arguments);\n\n this.router.on('routeWillChange', (transition) => {\n if (!transition.to.find(route => route.name === this.routeName)) {\n alert(\"Please save or cancel your changes.\");\n transition.abort();\n }\n })\n }\n}\n```\n\nThe `routeWillChange` event fires whenever a new route is chosen as the desired target of a transition. This includes `transitionTo`, `replaceWith`, all redirection for any reason including error handling, and abort. Aborting implies changing the desired target back to where you already were. Once a transition has completed, `routeDidChange` fires.",
9479 "itemtype": "event",
9480 "name": "routeWillChange",
9481 "params": [
9482 {
9483 "name": "transition",
9484 "description": "",
9485 "type": "Transition"
9486 }
9487 ],
9488 "access": "public",
9489 "tagname": "",
9490 "class": "RouterService",
9491 "module": "@ember/routing"
9492 },
9493 {
9494 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9495 "line": 452,
9496 "description": "The `routeDidChange` event only fires once a transition has settled.\nThis includes aborts and error substates. Like the `routeWillChange` event\nit receives a Transition as the sole argument.\n\nA good example is sending some analytics when the route has transitioned:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing';\nimport { action } from '@ember/object';\nimport { inject as service } from '@ember/service';\n\nexport default class extends Route {\n @service router;\n\n constructor() {\n super(...arguments);\n\n this.router.on('routeDidChange', (transition) => {\n ga.send('pageView', {\n current: transition.to.name,\n from: transition.from.name\n });\n })\n }\n}\n```\n\n`routeDidChange` will be called after any `Route`'s\n[didTransition](/ember/release/classes/Route/events/didTransition?anchor=didTransition)\naction has been fired.\nThe updates of properties\n[currentURL](/ember/release/classes/RouterService/properties/currentURL?anchor=currentURL),\n[currentRouteName](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRouteName)\nand\n[currentRoute](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRoute)\nare completed at the time `routeDidChange` is called.",
9497 "itemtype": "event",
9498 "name": "routeDidChange",
9499 "params": [
9500 {
9501 "name": "transition",
9502 "description": "",
9503 "type": "Transition"
9504 }
9505 ],
9506 "access": "public",
9507 "tagname": "",
9508 "class": "RouterService",
9509 "module": "@ember/routing"
9510 },
9511 {
9512 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9513 "line": 497,
9514 "description": "Name of the current route.\n\nThis property represents the logical name of the route,\nwhich is comma separated.\nFor the following router:\n\n```app/router.js\nRouter.map(function() {\n this.route('about');\n this.route('blog', function () {\n this.route('post', { path: ':post_id' });\n });\n});\n```\n\nIt will return:\n\n* `index` when you visit `/`\n* `about` when you visit `/about`\n* `blog.index` when you visit `/blog`\n* `blog.post` when you visit `/blog/some-post-id`",
9515 "itemtype": "property",
9516 "name": "currentRouteName",
9517 "type": "String",
9518 "access": "public",
9519 "tagname": "",
9520 "class": "RouterService",
9521 "module": "@ember/routing"
9522 },
9523 {
9524 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9525 "line": 526,
9526 "description": "Current URL for the application.\n\n This property represents the URL path for this route.\n For the following router:\n\n```app/router.js\nRouter.map(function() {\n this.route('about');\n this.route('blog', function () {\n this.route('post', { path: ':post_id' });\n });\n});\n```\n\nIt will return:\n\n* `/` when you visit `/`\n* `/about` when you visit `/about`\n* `/blog` when you visit `/blog`\n* `/blog/some-post-id` when you visit `/blog/some-post-id`",
9527 "itemtype": "property",
9528 "name": "currentURL",
9529 "type": "String",
9530 "access": "public",
9531 "tagname": "",
9532 "class": "RouterService",
9533 "module": "@ember/routing"
9534 },
9535 {
9536 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9537 "line": 554,
9538 "description": "The `location` property returns what implementation of the `location` API\nyour application is using, which determines what type of URL is being used.\n\nSee [Location](/ember/release/classes/Location) for more information.\n\nTo force a particular `location` API implementation to be used in your\napplication you can set a location type on your `config/environment`.\nFor example, to set the `history` type:\n\n```config/environment.js\n'use strict';\n\nmodule.exports = function(environment) {\n let ENV = {\n modulePrefix: 'router-service',\n environment,\n rootURL: '/',\n locationType: 'history',\n ...\n }\n}\n```\n\nThe following location types are available by default:\n`auto`, `hash`, `history`, `none`.\n\nSee [HashLocation](/ember/release/classes/HashLocation).\nSee [HistoryLocation](/ember/release/classes/HistoryLocation).\nSee [NoneLocation](/ember/release/classes/NoneLocation).\nSee [AutoLocation](/ember/release/classes/AutoLocation).",
9539 "itemtype": "property",
9540 "name": "location",
9541 "default": "'hash'",
9542 "see": [
9543 "{Location}"
9544 ],
9545 "access": "public",
9546 "tagname": "",
9547 "class": "RouterService",
9548 "module": "@ember/routing"
9549 },
9550 {
9551 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9552 "line": 593,
9553 "description": "The `rootURL` property represents the URL of the root of\nthe application, '/' by default.\nThis prefix is assumed on all routes defined on this app.\n\nIf you change the `rootURL` in your environment configuration\nlike so:\n\n```config/environment.js\n'use strict';\n\nmodule.exports = function(environment) {\n let ENV = {\n modulePrefix: 'router-service',\n environment,\n rootURL: '/my-root',\n …\n }\n]\n```\n\nThis property will return `/my-root`.",
9554 "itemtype": "property",
9555 "name": "rootURL",
9556 "default": "'/'",
9557 "access": "public",
9558 "tagname": "",
9559 "class": "RouterService",
9560 "module": "@ember/routing"
9561 },
9562 {
9563 "file": "packages/@ember/-internals/routing/lib/services/router.ts",
9564 "line": 622,
9565 "description": "The `currentRoute` property contains metadata about the current leaf route.\nIt returns a `RouteInfo` object that has information like the route name,\nparams, query params and more.\n\nSee [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n\nThis property is guaranteed to change whenever a route transition\nhappens (even when that transition only changes parameters\nand doesn't change the active route).\n\nUsage example:\n```app/components/header.js\n import Component from '@glimmer/component';\n import { inject as service } from '@ember/service';\n import { notEmpty } from '@ember/object/computed';\n\n export default class extends Component {\n @service router;\n\n @notEmpty('router.currentRoute.child') isChildRoute;\n });\n```",
9566 "itemtype": "property",
9567 "name": "currentRoute",
9568 "type": "RouteInfo",
9569 "access": "public",
9570 "tagname": "",
9571 "class": "RouterService",
9572 "module": "@ember/routing"
9573 },
9574 {
9575 "file": "packages/@ember/-internals/routing/lib/system/controller_for.ts",
9576 "line": 7,
9577 "description": "Finds a controller instance.",
9578 "itemtype": "method",
9579 "name": "controllerFor",
9580 "access": "private",
9581 "tagname": "",
9582 "class": "Ember",
9583 "module": "ember"
9584 },
9585 {
9586 "file": "packages/@ember/-internals/routing/lib/system/generate_controller.ts",
9587 "line": 10,
9588 "description": "Generates a controller factory",
9589 "itemtype": "method",
9590 "name": "generateControllerFactory",
9591 "access": "private",
9592 "tagname": "",
9593 "class": "Ember",
9594 "module": "ember"
9595 },
9596 {
9597 "file": "packages/@ember/-internals/routing/lib/system/generate_controller.ts",
9598 "line": 34,
9599 "description": "Generates and instantiates a controller extending from `controller:basic`\nif present, or `Controller` if not.",
9600 "itemtype": "method",
9601 "name": "generateController",
9602 "access": "private",
9603 "tagname": "",
9604 "since": "1.3.0",
9605 "class": "Ember",
9606 "module": "ember"
9607 },
9608 {
9609 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9610 "line": 14,
9611 "description": "The dot-separated, fully-qualified name of the\nroute, like \"people.index\".",
9612 "itemtype": "property",
9613 "name": "name",
9614 "type": "String",
9615 "access": "public",
9616 "tagname": "",
9617 "class": "RouteInfoWithAttributes",
9618 "module": "ember"
9619 },
9620 {
9621 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9622 "line": 21,
9623 "description": "The final segment of the fully-qualified name of\nthe route, like \"index\"",
9624 "itemtype": "property",
9625 "name": "localName",
9626 "type": "String",
9627 "access": "public",
9628 "tagname": "",
9629 "class": "RouteInfoWithAttributes",
9630 "module": "ember"
9631 },
9632 {
9633 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9634 "line": 28,
9635 "description": "The values of the route's parameters. These are the\nsame params that are received as arguments to the\nroute's model hook. Contains only the parameters\nvalid for this route, if any (params for parent or\nchild routes are not merged).",
9636 "itemtype": "property",
9637 "name": "params",
9638 "type": "Object",
9639 "access": "public",
9640 "tagname": "",
9641 "class": "RouteInfoWithAttributes",
9642 "module": "ember"
9643 },
9644 {
9645 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9646 "line": 38,
9647 "description": "The ordered list of the names of the params\nrequired for this route. It will contain the same\nstrings as `Object.keys(params)`, but here the order\nis significant. This allows users to correctly pass\nparams into routes programmatically.",
9648 "itemtype": "property",
9649 "name": "paramNames",
9650 "type": "Array",
9651 "access": "public",
9652 "tagname": "",
9653 "class": "RouteInfoWithAttributes",
9654 "module": "ember"
9655 },
9656 {
9657 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9658 "line": 48,
9659 "description": "The values of any queryParams on this route.",
9660 "itemtype": "property",
9661 "name": "queryParams",
9662 "type": "Object",
9663 "access": "public",
9664 "tagname": "",
9665 "class": "RouteInfoWithAttributes",
9666 "module": "ember"
9667 },
9668 {
9669 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9670 "line": 54,
9671 "description": "This is the resolved return value from the\nroute's model hook.",
9672 "itemtype": "property",
9673 "name": "attributes",
9674 "type": "Object|Array|String",
9675 "access": "public",
9676 "tagname": "",
9677 "class": "RouteInfoWithAttributes",
9678 "module": "ember"
9679 },
9680 {
9681 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9682 "line": 61,
9683 "description": "Will contain the result `Route#buildRouteInfoMetadata`\nfor the corresponding Route.",
9684 "itemtype": "property",
9685 "name": "metadata",
9686 "type": "Any",
9687 "access": "public",
9688 "tagname": "",
9689 "class": "RouteInfoWithAttributes",
9690 "module": "ember"
9691 },
9692 {
9693 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9694 "line": 68,
9695 "description": "A reference to the parent route's RouteInfo.\nThis can be used to traverse upward to the topmost\n`RouteInfo`.",
9696 "itemtype": "property",
9697 "name": "parent",
9698 "type": "RouteInfo|null",
9699 "access": "public",
9700 "tagname": "",
9701 "class": "RouteInfoWithAttributes",
9702 "module": "ember"
9703 },
9704 {
9705 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9706 "line": 76,
9707 "description": "A reference to the child route's RouteInfo.\nThis can be used to traverse downward to the\nleafmost `RouteInfo`.",
9708 "itemtype": "property",
9709 "name": "child",
9710 "type": "RouteInfo|null",
9711 "access": "public",
9712 "tagname": "",
9713 "class": "RouteInfoWithAttributes",
9714 "module": "ember"
9715 },
9716 {
9717 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9718 "line": 84,
9719 "description": "Allows you to traverse through the linked list\nof `RouteInfo`s from the topmost to leafmost.\nReturns the first `RouteInfo` in the linked list\nfor which the callback returns true.\n\n This method is similar to the `find()` method\n defined in ECMAScript 2015.\n\n The callback method you provide should have the\n following signature (all parameters are optional):\n\n ```javascript\n function(item, index, array);\n ```\n\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n\n It should return the `true` to include the item in\n the results, `false` otherwise.\n\n Note that in addition to a callback, you can also\n pass an optional target object that will be set as\n `this` on the context.",
9720 "itemtype": "method",
9721 "name": "find",
9722 "params": [
9723 {
9724 "name": "callback",
9725 "description": "the callback to execute",
9726 "type": "Function"
9727 },
9728 {
9729 "name": "target*",
9730 "description": "optional target to use",
9731 "type": "Object",
9732 "optional": true
9733 }
9734 ],
9735 "return": {
9736 "description": "Found item or undefined",
9737 "type": "Object"
9738 },
9739 "access": "public",
9740 "tagname": "",
9741 "class": "RouteInfoWithAttributes",
9742 "module": "ember"
9743 },
9744 {
9745 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9746 "line": 129,
9747 "description": "The dot-separated, fully-qualified name of the\nroute, like \"people.index\".",
9748 "itemtype": "property",
9749 "name": "name",
9750 "type": "String",
9751 "access": "public",
9752 "tagname": "",
9753 "class": "RouteInfo",
9754 "module": "ember"
9755 },
9756 {
9757 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9758 "line": 136,
9759 "description": "The final segment of the fully-qualified name of\nthe route, like \"index\"",
9760 "itemtype": "property",
9761 "name": "localName",
9762 "type": "String",
9763 "access": "public",
9764 "tagname": "",
9765 "class": "RouteInfo",
9766 "module": "ember"
9767 },
9768 {
9769 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9770 "line": 143,
9771 "description": "The values of the route's parameters. These are the\nsame params that are received as arguments to the\nroute's `model` hook. Contains only the parameters\nvalid for this route, if any (params for parent or\nchild routes are not merged).",
9772 "itemtype": "property",
9773 "name": "params",
9774 "type": "Object",
9775 "access": "public",
9776 "tagname": "",
9777 "class": "RouteInfo",
9778 "module": "ember"
9779 },
9780 {
9781 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9782 "line": 153,
9783 "description": "The ordered list of the names of the params\nrequired for this route. It will contain the same\nstrings as Object.keys(params), but here the order\nis significant. This allows users to correctly pass\nparams into routes programmatically.",
9784 "itemtype": "property",
9785 "name": "paramNames",
9786 "type": "Array",
9787 "access": "public",
9788 "tagname": "",
9789 "class": "RouteInfo",
9790 "module": "ember"
9791 },
9792 {
9793 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9794 "line": 163,
9795 "description": "The values of any queryParams on this route.",
9796 "itemtype": "property",
9797 "name": "queryParams",
9798 "type": "Object",
9799 "access": "public",
9800 "tagname": "",
9801 "class": "RouteInfo",
9802 "module": "ember"
9803 },
9804 {
9805 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9806 "line": 169,
9807 "description": "A reference to the parent route's `RouteInfo`.\nThis can be used to traverse upward to the topmost\n`RouteInfo`.",
9808 "itemtype": "property",
9809 "name": "parent",
9810 "type": "RouteInfo|null",
9811 "access": "public",
9812 "tagname": "",
9813 "class": "RouteInfo",
9814 "module": "ember"
9815 },
9816 {
9817 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9818 "line": 177,
9819 "description": "A reference to the child route's `RouteInfo`.\nThis can be used to traverse downward to the\nleafmost `RouteInfo`.",
9820 "itemtype": "property",
9821 "name": "child",
9822 "type": "RouteInfo|null",
9823 "access": "public",
9824 "tagname": "",
9825 "class": "RouteInfo",
9826 "module": "ember"
9827 },
9828 {
9829 "file": "packages/@ember/-internals/routing/lib/system/route-info.ts",
9830 "line": 185,
9831 "description": "Allows you to traverse through the linked list\nof `RouteInfo`s from the topmost to leafmost.\nReturns the first `RouteInfo` in the linked list\nfor which the callback returns true.\n\n This method is similar to the `find()` method\n defined in ECMAScript 2015.\n\n The callback method you provide should have the\n following signature (all parameters are optional):\n\n ```javascript\n function(item, index, array);\n ```\n\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n\n It should return the `true` to include the item in\n the results, `false` otherwise.\n\n Note that in addition to a callback, you can also\n pass an optional target object that will be set as\n `this` on the context.",
9832 "itemtype": "method",
9833 "name": "find",
9834 "params": [
9835 {
9836 "name": "callback",
9837 "description": "the callback to execute",
9838 "type": "Function"
9839 },
9840 {
9841 "name": "target*",
9842 "description": "optional target to use",
9843 "type": "Object",
9844 "optional": true
9845 }
9846 ],
9847 "return": {
9848 "description": "Found item or undefined",
9849 "type": "Object"
9850 },
9851 "access": "public",
9852 "tagname": "",
9853 "class": "RouteInfo",
9854 "module": "ember"
9855 },
9856 {
9857 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9858 "line": 104,
9859 "description": "The name of the route, dot-delimited.\n\nFor example, a route found at `app/routes/posts/post.js` will have\na `routeName` of `posts.post`.",
9860 "itemtype": "property",
9861 "name": "routeName",
9862 "type": "String",
9863 "since": "1.0.0",
9864 "access": "public",
9865 "tagname": "",
9866 "class": "Route",
9867 "module": "@ember/routing"
9868 },
9869 {
9870 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9871 "line": 117,
9872 "description": "The name of the route, dot-delimited, including the engine prefix\nif applicable.\n\nFor example, a route found at `addon/routes/posts/post.js` within an\nengine named `admin` will have a `fullRouteName` of `admin.posts.post`.",
9873 "itemtype": "property",
9874 "name": "fullRouteName",
9875 "type": "String",
9876 "since": "2.10.0",
9877 "access": "public",
9878 "tagname": "",
9879 "class": "Route",
9880 "module": "@ember/routing"
9881 },
9882 {
9883 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9884 "line": 131,
9885 "description": "Sets the name for this route, including a fully resolved name for routes\ninside engines.",
9886 "access": "private",
9887 "tagname": "",
9888 "itemtype": "method",
9889 "name": "_setRouteName",
9890 "params": [
9891 {
9892 "name": "name",
9893 "description": "",
9894 "type": "String"
9895 }
9896 ],
9897 "class": "Route",
9898 "module": "@ember/routing"
9899 },
9900 {
9901 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9902 "line": 144,
9903 "access": "private",
9904 "tagname": "",
9905 "itemtype": "method",
9906 "name": "_stashNames",
9907 "class": "Route",
9908 "module": "@ember/routing"
9909 },
9910 {
9911 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9912 "line": 175,
9913 "access": "private",
9914 "tagname": "",
9915 "itemtype": "property",
9916 "name": "_activeQPChanged",
9917 "class": "Route",
9918 "module": "@ember/routing"
9919 },
9920 {
9921 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9922 "line": 184,
9923 "access": "private",
9924 "tagname": "",
9925 "itemtype": "method",
9926 "name": "_updatingQPChanged",
9927 "class": "Route",
9928 "module": "@ember/routing"
9929 },
9930 {
9931 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9932 "line": 192,
9933 "description": "Returns a hash containing the parameters of an ancestor route.\n\nYou may notice that `this.paramsFor` sometimes works when referring to a\nchild route, but this behavior should not be relied upon as only ancestor\nroutes are certain to be loaded in time.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('member', { path: ':name' }, function() {\n this.route('interest', { path: ':interest' });\n });\n});\n```\n\n```app/routes/member.js\nimport Route from '@ember/routing/route';\n\nexport default class MemberRoute extends Route {\n queryParams = {\n memberQp: { refreshModel: true }\n }\n}\n```\n\n```app/routes/member/interest.js\nimport Route from '@ember/routing/route';\n\nexport default class MemberInterestRoute Route {\n queryParams = {\n interestQp: { refreshModel: true }\n }\n\n model() {\n return this.paramsFor('member');\n }\n}\n```\n\nIf we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\nthe `member.interest` route is a hash with:\n\n* `name`: `turing`\n* `memberQp`: `member`",
9934 "itemtype": "method",
9935 "name": "paramsFor",
9936 "params": [
9937 {
9938 "name": "name",
9939 "description": "",
9940 "type": "String"
9941 }
9942 ],
9943 "return": {
9944 "description": "hash containing the parameters of the route `name`",
9945 "type": "Object"
9946 },
9947 "since": "1.4.0",
9948 "access": "public",
9949 "tagname": "",
9950 "class": "Route",
9951 "module": "@ember/routing"
9952 },
9953 {
9954 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9955 "line": 271,
9956 "description": "Serializes the query parameter key",
9957 "itemtype": "method",
9958 "name": "serializeQueryParamKey",
9959 "params": [
9960 {
9961 "name": "controllerPropertyName",
9962 "description": "",
9963 "type": "String"
9964 }
9965 ],
9966 "access": "private",
9967 "tagname": "",
9968 "class": "Route",
9969 "module": "@ember/routing"
9970 },
9971 {
9972 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
9973 "line": 282,
9974 "description": "Serializes value of the query parameter based on defaultValueType",
9975 "itemtype": "method",
9976 "name": "serializeQueryParam",
9977 "params": [
9978 {
9979 "name": "value",
9980 "description": "",
9981 "type": "Object"
9982 },
9983 {
9984 "name": "urlKey",
9985 "description": "",
9986 "type": "String"
9987 },
9988 {
9989 "name": "defaultValueType",
9990 "description": "",
9991 "type": "String"
9992 }
9993 ],
9994 "access": "private",
9995 "tagname": "",
9996 "class": "Route",
9997 "module": "@ember/routing"
9998 },
9999 {
10000 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10001 "line": 298,
10002 "description": "Deserializes value of the query parameter based on defaultValueType",
10003 "itemtype": "method",
10004 "name": "deserializeQueryParam",
10005 "params": [
10006 {
10007 "name": "value",
10008 "description": "",
10009 "type": "Object"
10010 },
10011 {
10012 "name": "urlKey",
10013 "description": "",
10014 "type": "String"
10015 },
10016 {
10017 "name": "defaultValueType",
10018 "description": "",
10019 "type": "String"
10020 }
10021 ],
10022 "access": "private",
10023 "tagname": "",
10024 "class": "Route",
10025 "module": "@ember/routing"
10026 },
10027 {
10028 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10029 "line": 314,
10030 "access": "private",
10031 "tagname": "",
10032 "itemtype": "property",
10033 "name": "_optionsForQueryParam",
10034 "class": "Route",
10035 "module": "@ember/routing"
10036 },
10037 {
10038 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10039 "line": 323,
10040 "description": "A hook you can use to reset controller values either when the model\nchanges or the route is exiting.\n\n```app/routes/articles.js\nimport Route from '@ember/routing/route';\n\nexport default class ArticlesRoute extends Route {\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n controller.set('page', 1);\n }\n }\n}\n```",
10041 "itemtype": "method",
10042 "name": "resetController",
10043 "params": [
10044 {
10045 "name": "controller",
10046 "description": "instance",
10047 "type": "Controller"
10048 },
10049 {
10050 "name": "isExiting",
10051 "description": "",
10052 "type": "Boolean"
10053 },
10054 {
10055 "name": "transition",
10056 "description": "",
10057 "type": "Object"
10058 }
10059 ],
10060 "since": "1.7.0",
10061 "access": "public",
10062 "tagname": "",
10063 "class": "Route",
10064 "module": "@ember/routing"
10065 },
10066 {
10067 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10068 "line": 350,
10069 "access": "private",
10070 "tagname": "",
10071 "itemtype": "method",
10072 "name": "exit",
10073 "class": "Route",
10074 "module": "@ember/routing"
10075 },
10076 {
10077 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10078 "line": 361,
10079 "access": "private",
10080 "tagname": "",
10081 "itemtype": "method",
10082 "name": "_internalReset",
10083 "since": "3.6.0",
10084 "class": "Route",
10085 "module": "@ember/routing"
10086 },
10087 {
10088 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10089 "line": 374,
10090 "access": "private",
10091 "tagname": "",
10092 "itemtype": "method",
10093 "name": "enter",
10094 "class": "Route",
10095 "module": "@ember/routing"
10096 },
10097 {
10098 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10099 "line": 385,
10100 "description": "The `willTransition` action is fired at the beginning of any\nattempted transition with a `Transition` object as the sole\nargument. This action can be used for aborting, redirecting,\nor decorating the transition from the currently active routes.\n\nA good example is preventing navigation when a form is\nhalf-filled out:\n\n```app/routes/contact-form.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ContactFormRoute extends Route {\n @action\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData')) {\n this.controller.displayNavigationConfirm();\n transition.abort();\n }\n }\n}\n```\n\nYou can also redirect elsewhere by calling\n`this.transitionTo('elsewhere')` from within `willTransition`.\nNote that `willTransition` will not be fired for the\nredirecting `transitionTo`, since `willTransition` doesn't\nfire when there is already a transition underway. If you want\nsubsequent `willTransition` actions to fire for the redirecting\ntransition, you must first explicitly call\n`transition.abort()`.\n\nTo allow the `willTransition` event to continue bubbling to the parent\nroute, use `return true;`. When the `willTransition` method has a\nreturn value of `true` then the parent route's `willTransition` method\nwill be fired, enabling \"bubbling\" behavior for the event.",
10101 "itemtype": "event",
10102 "name": "willTransition",
10103 "params": [
10104 {
10105 "name": "transition",
10106 "description": "",
10107 "type": "Transition"
10108 }
10109 ],
10110 "since": "1.0.0",
10111 "access": "public",
10112 "tagname": "",
10113 "class": "Route",
10114 "module": "@ember/routing"
10115 },
10116 {
10117 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10118 "line": 429,
10119 "description": "The `didTransition` action is fired after a transition has\nsuccessfully been completed. This occurs after the normal model\nhooks (`beforeModel`, `model`, `afterModel`, `setupController`)\nhave resolved. The `didTransition` action has no arguments,\nhowever, it can be useful for tracking page views or resetting\nstate on the controller.\n\n```app/routes/login.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class LoginRoute extends Route {\n @action\n didTransition() {\n this.controller.get('errors.base').clear();\n return true; // Bubble the didTransition event\n }\n}\n```",
10120 "itemtype": "event",
10121 "name": "didTransition",
10122 "since": "1.2.0",
10123 "access": "public",
10124 "tagname": "",
10125 "class": "Route",
10126 "module": "@ember/routing"
10127 },
10128 {
10129 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10130 "line": 455,
10131 "description": "The `loading` action is fired on the route when a route's `model`\nhook returns a promise that is not already resolved. The current\n`Transition` object is the first parameter and the route that\ntriggered the loading event is the second parameter.\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n loading(transition, route) {\n let controller = this.controllerFor('foo');\n controller.set('currentlyLoading', true);\n\n transition.finally(function() {\n controller.set('currentlyLoading', false);\n });\n }\n}\n```",
10132 "itemtype": "event",
10133 "name": "loading",
10134 "params": [
10135 {
10136 "name": "transition",
10137 "description": "",
10138 "type": "Transition"
10139 },
10140 {
10141 "name": "route",
10142 "description": "The route that triggered the loading event",
10143 "type": "Route"
10144 }
10145 ],
10146 "since": "1.2.0",
10147 "access": "public",
10148 "tagname": "",
10149 "class": "Route",
10150 "module": "@ember/routing"
10151 },
10152 {
10153 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10154 "line": 485,
10155 "description": "When attempting to transition into a route, any of the hooks\nmay return a promise that rejects, at which point an `error`\naction will be fired on the partially-entered routes, allowing\nfor per-route error handling logic, or shared error handling\nlogic defined on a parent route.\n\nHere is an example of an error handler that will be invoked\nfor rejected promises from the various hooks on the route,\nas well as any unhandled errors from child routes:\n\n```app/routes/admin.js\nimport { reject } from 'rsvp';\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class AdminRoute extends Route {\n beforeModel() {\n return reject('bad things!');\n }\n\n @action\n error(error, transition) {\n // Assuming we got here due to the error in `beforeModel`,\n // we can expect that error === \"bad things!\",\n // but a promise model rejecting would also\n // call this hook, as would any errors encountered\n // in `afterModel`.\n\n // The `error` hook is also provided the failed\n // `transition`, which can be stored and later\n // `.retry()`d if desired.\n\n this.transitionTo('login');\n }\n}\n```\n\n`error` actions that bubble up all the way to `ApplicationRoute`\nwill fire a default error handler that logs the error. You can\nspecify your own global default error handler by overriding the\n`error` handler on `ApplicationRoute`:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n error(error, transition) {\n this.controllerFor('banner').displayError(error.message);\n }\n}\n```",
10156 "itemtype": "event",
10157 "name": "error",
10158 "params": [
10159 {
10160 "name": "error",
10161 "description": "",
10162 "type": "Error"
10163 },
10164 {
10165 "name": "transition",
10166 "description": "",
10167 "type": "Transition"
10168 }
10169 ],
10170 "since": "1.0.0",
10171 "access": "public",
10172 "tagname": "",
10173 "class": "Route",
10174 "module": "@ember/routing"
10175 },
10176 {
10177 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10178 "line": 546,
10179 "description": "This event is triggered when the router enters the route. It is\nnot executed when the model for the route changes.\n\n```app/routes/application.js\nimport { on } from '@ember/object/evented';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n collectAnalytics: on('activate', function(){\n collectAnalytics();\n })\n});\n```",
10180 "itemtype": "event",
10181 "name": "activate",
10182 "since": "1.9.0",
10183 "access": "public",
10184 "tagname": "",
10185 "class": "Route",
10186 "module": "@ember/routing"
10187 },
10188 {
10189 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10190 "line": 566,
10191 "description": "This event is triggered when the router completely exits this\nroute. It is not executed when the model for the route changes.\n\n```app/routes/index.js\nimport { on } from '@ember/object/evented';\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n trackPageLeaveAnalytics: on('deactivate', function(){\n trackPageLeaveAnalytics();\n })\n});\n```",
10192 "itemtype": "event",
10193 "name": "deactivate",
10194 "since": "1.9.0",
10195 "access": "public",
10196 "tagname": "",
10197 "class": "Route",
10198 "module": "@ember/routing"
10199 },
10200 {
10201 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10202 "line": 586,
10203 "description": "This hook is executed when the router completely exits this route. It is\nnot executed when the model for the route changes.",
10204 "itemtype": "method",
10205 "name": "deactivate",
10206 "since": "1.0.0",
10207 "access": "public",
10208 "tagname": "",
10209 "class": "Route",
10210 "module": "@ember/routing"
10211 },
10212 {
10213 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10214 "line": 596,
10215 "description": "This hook is executed when the router enters the route. It is not executed\nwhen the model for the route changes.",
10216 "itemtype": "method",
10217 "name": "activate",
10218 "since": "1.0.0",
10219 "access": "public",
10220 "tagname": "",
10221 "class": "Route",
10222 "module": "@ember/routing"
10223 },
10224 {
10225 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10226 "line": 606,
10227 "description": "Transition the application into another route. The route may\nbe either a single route or route path:\n\n```javascript\nthis.transitionTo('blogPosts');\nthis.transitionTo('blogPosts.recentEntries');\n```\n\nOptionally supply a model for the route in question. The model\nwill be serialized into the URL using the `serialize` hook of\nthe route:\n\n```javascript\nthis.transitionTo('blogPost', aPost);\n```\n\nIf a literal is passed (such as a number or a string), it will\nbe treated as an identifier instead. In this case, the `model`\nhook of the route will be triggered:\n\n```javascript\nthis.transitionTo('blogPost', 1);\n```\n\nMultiple models will be applied last to first recursively up the\nroute tree.\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('blogPost', { path:':blogPostId' }, function() {\n this.route('blogComment', { path: ':blogCommentId' });\n });\n});\n\nexport default Router;\n```\n\n```javascript\nthis.transitionTo('blogComment', aPost, aComment);\nthis.transitionTo('blogComment', 1, 13);\n```\n\nIt is also possible to pass a URL (a string that starts with a\n`/`).\n\n```javascript\nthis.transitionTo('/');\nthis.transitionTo('/blog/post/1/comment/13');\nthis.transitionTo('/blog/posts?sort=title');\n```\n\nAn options hash with a `queryParams` property may be provided as\nthe final argument to add query parameters to the destination URL.\n\n```javascript\nthis.transitionTo('blogPost', 1, {\n queryParams: { showComments: 'true' }\n});\n\n// if you just want to transition the query parameters without changing the route\nthis.transitionTo({ queryParams: { sort: 'date' } });\n```\n\nSee also [replaceWith](#method_replaceWith).\n\nSimple Transition Example\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n this.route('secret');\n this.route('fourOhFour', { path: '*:' });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class IndexRoute extends Route {\n @action\n moveToSecret(context) {\n if (authorized()) {\n this.transitionTo('secret', context);\n } else {\n this.transitionTo('fourOhFour');\n }\n }\n}\n```\n\nTransition to a nested route\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('articles', { path: '/articles' }, function() {\n this.route('new');\n });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class IndexRoute extends Route {\n @action\n transitionToNewArticle() {\n this.transitionTo('articles.new');\n }\n}\n```\n\nMultiple Models Example\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n\n this.route('breakfast', { path: ':breakfastId' }, function() {\n this.route('cereal', { path: ':cerealId' });\n });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class IndexRoute extends Route {\n @action\n moveToChocolateCereal() {\n let cereal = { cerealId: 'ChocolateYumminess' };\n let breakfast = { breakfastId: 'CerealAndMilk' };\n\n this.transitionTo('breakfast.cereal', breakfast, cereal);\n }\n}\n```\n\nNested Route with Query String Example\n\n```app/routes.js\n// ...\n\nRouter.map(function() {\n this.route('fruits', function() {\n this.route('apples');\n });\n});\n\nexport default Router;\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\n\nexport default class IndexRoute extends Route {\n @action\n transitionToApples() {\n this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n }\n}\n```",
10228 "itemtype": "method",
10229 "name": "transitionTo",
10230 "params": [
10231 {
10232 "name": "name",
10233 "description": "the name of the route or a URL.",
10234 "type": "String",
10235 "optional": true
10236 },
10237 {
10238 "name": "models",
10239 "description": "the model(s) or identifier(s) to be used while\n transitioning to the route.",
10240 "type": "...Object",
10241 "optional": true
10242 },
10243 {
10244 "name": "options",
10245 "description": "optional hash with a queryParams property\n containing a mapping of query parameters. May be supplied as the only\n parameter to trigger a query-parameter-only transition.",
10246 "type": "Object",
10247 "optional": true
10248 }
10249 ],
10250 "return": {
10251 "description": "the transition object associated with this\n attempted transition",
10252 "type": "Transition"
10253 },
10254 "since": "1.0.0",
10255 "access": "public",
10256 "tagname": "",
10257 "class": "Route",
10258 "module": "@ember/routing"
10259 },
10260 {
10261 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10262 "line": 803,
10263 "description": "Perform a synchronous transition into another route without attempting\nto resolve promises, update the URL, or abort any currently active\nasynchronous transitions (i.e. regular transitions caused by\n`transitionTo` or URL changes).\n\nThis method is handy for performing intermediate transitions on the\nway to a final destination route, and is called internally by the\ndefault implementations of the `error` and `loading` handlers.",
10264 "itemtype": "method",
10265 "name": "intermediateTransitionTo",
10266 "params": [
10267 {
10268 "name": "name",
10269 "description": "the name of the route",
10270 "type": "String"
10271 },
10272 {
10273 "name": "models",
10274 "description": "the model(s) to be used while transitioning\nto the route.",
10275 "type": "...Object"
10276 }
10277 ],
10278 "since": "1.2.0",
10279 "access": "public",
10280 "tagname": "",
10281 "class": "Route",
10282 "module": "@ember/routing"
10283 },
10284 {
10285 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10286 "line": 825,
10287 "description": "Refresh the model on this route and any child routes, firing the\n`beforeModel`, `model`, and `afterModel` hooks in a similar fashion\nto how routes are entered when transitioning in from other route.\nThe current route params (e.g. `article_id`) will be passed in\nto the respective model hooks, and if a different model is returned,\n`setupController` and associated route hooks will re-fire as well.\n\nAn example usage of this method is re-querying the server for the\nlatest information using the same parameters as when the route\nwas first entered.\n\nNote that this will cause `model` hooks to fire even on routes\nthat were provided a model object when the route was initially\nentered.",
10288 "itemtype": "method",
10289 "name": "refresh",
10290 "return": {
10291 "description": "the transition object associated with this\n attempted transition",
10292 "type": "Transition"
10293 },
10294 "since": "1.4.0",
10295 "access": "public",
10296 "tagname": "",
10297 "class": "Route",
10298 "module": "@ember/routing"
10299 },
10300 {
10301 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10302 "line": 851,
10303 "description": "Transition into another route while replacing the current URL, if possible.\nThis will replace the current history entry instead of adding a new one.\nBeside that, it is identical to `transitionTo` in all other respects. See\n'transitionTo' for additional information regarding multiple models.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n this.route('secret');\n});\n\nexport default Router;\n```\n\n```app/routes/secret.js\nimport Route from '@ember/routing/route';\n\nexport default class SecretRoute Route {\n afterModel() {\n if (!authorized()){\n this.replaceWith('index');\n }\n }\n}\n```",
10304 "itemtype": "method",
10305 "name": "replaceWith",
10306 "params": [
10307 {
10308 "name": "name",
10309 "description": "the name of the route or a URL",
10310 "type": "String"
10311 },
10312 {
10313 "name": "models",
10314 "description": "the model(s) or identifier(s) to be used while\n transitioning to the route.",
10315 "type": "...Object"
10316 },
10317 {
10318 "name": "options",
10319 "description": "optional hash with a queryParams property\n containing a mapping of query parameters",
10320 "type": "Object",
10321 "optional": true
10322 }
10323 ],
10324 "return": {
10325 "description": "the transition object associated with this\n attempted transition",
10326 "type": "Transition"
10327 },
10328 "since": "1.0.0",
10329 "access": "public",
10330 "tagname": "",
10331 "class": "Route",
10332 "module": "@ember/routing"
10333 },
10334 {
10335 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10336 "line": 897,
10337 "description": "This hook is the entry point for router.js",
10338 "access": "private",
10339 "tagname": "",
10340 "itemtype": "method",
10341 "name": "setup",
10342 "class": "Route",
10343 "module": "@ember/routing"
10344 },
10345 {
10346 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10347 "line": 977,
10348 "description": "This hook is the first of the route entry validation hooks\ncalled when an attempt is made to transition into a route\nor one of its children. It is called before `model` and\n`afterModel`, and is appropriate for cases when:\n\n1) A decision can be made to redirect elsewhere without\n needing to resolve the model first.\n2) Any async operations need to occur first before the\n model is attempted to be resolved.\n\nThis hook is provided the current `transition` attempt\nas a parameter, which can be used to `.abort()` the transition,\nsave it for a later `.retry()`, or retrieve values set\non it from a previous hook. You can also just call\n`this.transitionTo` to another route to implicitly\nabort the `transition`.\n\nYou can return a promise from this hook to pause the\ntransition until the promise resolves (or rejects). This could\nbe useful, for instance, for retrieving async code from\nthe server that is required to enter a route.",
10349 "itemtype": "method",
10350 "name": "beforeModel",
10351 "params": [
10352 {
10353 "name": "transition",
10354 "description": "",
10355 "type": "Transition"
10356 }
10357 ],
10358 "return": {
10359 "description": "if the value returned from this hook is\n a promise, the transition will pause until the transition\n resolves. Otherwise, non-promise return values are not\n utilized in any way.",
10360 "type": "Any | Promise<any>"
10361 },
10362 "since": "1.0.0",
10363 "access": "public",
10364 "tagname": "",
10365 "class": "Route",
10366 "module": "@ember/routing"
10367 },
10368 {
10369 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10370 "line": 1011,
10371 "description": "This hook is called after this route's model has resolved.\nIt follows identical async/promise semantics to `beforeModel`\nbut is provided the route's resolved model in addition to\nthe `transition`, and is therefore suited to performing\nlogic that can only take place after the model has already\nresolved.\n\n```app/routes/posts.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsRoute extends Route {\n afterModel(posts, transition) {\n if (posts.get('length') === 1) {\n this.transitionTo('post.show', posts.get('firstObject'));\n }\n }\n}\n```\n\nRefer to documentation for `beforeModel` for a description\nof transition-pausing semantics when a promise is returned\nfrom this hook.",
10372 "itemtype": "method",
10373 "name": "afterModel",
10374 "params": [
10375 {
10376 "name": "resolvedModel",
10377 "description": "the value returned from `model`,\n or its resolved value if it was a promise",
10378 "type": "Object"
10379 },
10380 {
10381 "name": "transition",
10382 "description": "",
10383 "type": "Transition"
10384 }
10385 ],
10386 "return": {
10387 "description": "if the value returned from this hook is\n a promise, the transition will pause until the transition\n resolves. Otherwise, non-promise return values are not\n utilized in any way.",
10388 "type": "Any | Promise<any>"
10389 },
10390 "since": "1.0.0",
10391 "access": "public",
10392 "tagname": "",
10393 "class": "Route",
10394 "module": "@ember/routing"
10395 },
10396 {
10397 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10398 "line": 1048,
10399 "description": "A hook you can implement to optionally redirect to another route.\n\nCalling `this.transitionTo` from inside of the `redirect` hook will\nabort the current transition (into the route that has implemented `redirect`).\n\n`redirect` and `afterModel` behave very similarly and are\ncalled almost at the same time, but they have an important\ndistinction when calling `this.transitionTo` to a child route\nof the current route. From `afterModel`, this new transition\ninvalidates the current transition, causing `beforeModel`,\n`model`, and `afterModel` hooks to be called again. But the\nsame transition started from `redirect` does _not_ invalidate\nthe current transition. In other words, by the time the `redirect`\nhook has been called, both the resolved model and the attempted\nentry into this route are considered fully validated.",
10400 "itemtype": "method",
10401 "name": "redirect",
10402 "params": [
10403 {
10404 "name": "model",
10405 "description": "the model for this route",
10406 "type": "Object"
10407 },
10408 {
10409 "name": "transition",
10410 "description": "the transition object associated with the current transition",
10411 "type": "Transition"
10412 }
10413 ],
10414 "since": "1.0.0",
10415 "access": "public",
10416 "tagname": "",
10417 "class": "Route",
10418 "module": "@ember/routing"
10419 },
10420 {
10421 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10422 "line": 1073,
10423 "description": "Called when the context is changed by router.js.",
10424 "access": "private",
10425 "tagname": "",
10426 "itemtype": "method",
10427 "name": "contextDidChange",
10428 "class": "Route",
10429 "module": "@ember/routing"
10430 },
10431 {
10432 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10433 "line": 1083,
10434 "description": "A hook you can implement to convert the URL into the model for\nthis route.\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\nThe model for the `post` route is `store.findRecord('post', params.post_id)`.\n\nBy default, if your route has a dynamic segment ending in `_id`:\n\n* The model class is determined from the segment (`post_id`'s\n class is `App.Post`)\n* The find method is called on the model class with the value of\n the dynamic segment.\n\nNote that for routes with dynamic segments, this hook is not always\nexecuted. If the route is entered through a transition (e.g. when\nusing the `link-to` Handlebars helper or the `transitionTo` method\nof routes), and a model context is already provided this hook\nis not called.\n\nA model context does not include a primitive string or number,\nwhich does cause the model hook to be called.\n\nRoutes without dynamic segments will always execute the model hook.\n\n```javascript\n// no dynamic segment, model hook always called\nthis.transitionTo('posts');\n\n// model passed in, so model hook not called\nthePost = store.findRecord('post', 1);\nthis.transitionTo('post', thePost);\n\n// integer passed in, model hook is called\nthis.transitionTo('post', 1);\n\n// model id passed in, model hook is called\n// useful for forcing the hook to execute\nthePost = store.findRecord('post', 1);\nthis.transitionTo('post', thePost.id);\n```\n\nThis hook follows the asynchronous/promise semantics\ndescribed in the documentation for `beforeModel`. In particular,\nif a promise returned from `model` fails, the error will be\nhandled by the `error` hook on `Route`.\n\nExample\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n model(params) {\n return this.store.findRecord('post', params.post_id);\n }\n}\n```",
10435 "itemtype": "method",
10436 "name": "model",
10437 "params": [
10438 {
10439 "name": "params",
10440 "description": "the parameters extracted from the URL",
10441 "type": "Object"
10442 },
10443 {
10444 "name": "transition",
10445 "description": "",
10446 "type": "Transition"
10447 }
10448 ],
10449 "return": {
10450 "description": "the model for this route. If\n a promise is returned, the transition will pause until\n the promise resolves, and the resolved value of the promise\n will be used as the model for this route.",
10451 "type": "Any | Promise<any>"
10452 },
10453 "since": "1.0.0",
10454 "access": "public",
10455 "tagname": "",
10456 "class": "Route",
10457 "module": "@ember/routing"
10458 },
10459 {
10460 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10461 "line": 1192,
10462 "access": "private",
10463 "tagname": "",
10464 "itemtype": "method",
10465 "name": "deserialize",
10466 "params": [
10467 {
10468 "name": "params",
10469 "description": "the parameters extracted from the URL",
10470 "type": "Object"
10471 },
10472 {
10473 "name": "transition",
10474 "description": "",
10475 "type": "Transition"
10476 }
10477 ],
10478 "return": {
10479 "description": "the model for this route.\n\nRouter.js hook.",
10480 "type": "Any | Promise<any>"
10481 },
10482 "class": "Route",
10483 "module": "@ember/routing"
10484 },
10485 {
10486 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10487 "line": 1205,
10488 "itemtype": "method",
10489 "name": "findModel",
10490 "params": [
10491 {
10492 "name": "type",
10493 "description": "the model type",
10494 "type": "String"
10495 },
10496 {
10497 "name": "value",
10498 "description": "the value passed to find",
10499 "type": "Object"
10500 }
10501 ],
10502 "access": "private",
10503 "tagname": "",
10504 "class": "Route",
10505 "module": "@ember/routing"
10506 },
10507 {
10508 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10509 "line": 1216,
10510 "description": "A hook you can use to setup the controller for the current route.\n\nThis method is called with the controller for the current route and the\nmodel supplied by the `model` hook.\n\nBy default, the `setupController` hook sets the `model` property of\nthe controller to the specified `model` when it is not `undefined`.\n\nIf you implement the `setupController` hook in your Route, it will\nprevent this default behavior. If you want to preserve that behavior\nwhen implementing your `setupController` function, make sure to call\n`super`:\n\n```app/routes/photos.js\nimport Route from '@ember/routing/route';\n\nexport default class PhotosRoute extends Route {\n model() {\n return this.store.findAll('photo');\n }\n\n setupController(controller, model) {\n super.setupController(controller, model);\n\n this.controllerFor('application').set('showingPhotos', true);\n }\n}\n```\n\nThe provided controller will be one resolved based on the name\nof this route.\n\nIf no explicit controller is defined, Ember will automatically create one.\n\nAs an example, consider the router:\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\nIf you have defined a file for the post controller,\nthe framework will use it.\nIf it is not defined, a basic `Controller` instance would be used.",
10511 "example": [
10512 " Behavior of a basic Controller\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n setupController(controller, model) {\n controller.set('model', model);\n }\n});\n```"
10513 ],
10514 "itemtype": "method",
10515 "name": "setupController",
10516 "params": [
10517 {
10518 "name": "controller",
10519 "description": "instance",
10520 "type": "Controller"
10521 },
10522 {
10523 "name": "model",
10524 "description": "",
10525 "type": "Object"
10526 },
10527 {
10528 "name": "transition",
10529 "description": "",
10530 "type": "Object"
10531 }
10532 ],
10533 "since": "1.0.0",
10534 "access": "public",
10535 "tagname": "",
10536 "class": "Route",
10537 "module": "@ember/routing"
10538 },
10539 {
10540 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10541 "line": 1293,
10542 "description": "Returns the controller of the current route, or a parent (or any ancestor)\nroute in a route hierarchy.\n\nThe controller instance must already have been created, either through entering the\nassociated route or using `generateController`.\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n setupController(controller, post) {\n super.setupController(controller, post);\n\n this.controllerFor('posts').set('currentPost', post);\n }\n}\n```",
10543 "itemtype": "method",
10544 "name": "controllerFor",
10545 "params": [
10546 {
10547 "name": "name",
10548 "description": "the name of the route or controller",
10549 "type": "String"
10550 }
10551 ],
10552 "return": {
10553 "description": "",
10554 "type": "Controller"
10555 },
10556 "since": "1.0.0",
10557 "access": "public",
10558 "tagname": "",
10559 "class": "Route",
10560 "module": "@ember/routing"
10561 },
10562 {
10563 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10564 "line": 1339,
10565 "description": "Generates a controller for a route.\n\nExample\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class Post extends Route {\n setupController(controller, post) {\n super.setupController(controller, post);\n\n this.generateController('posts');\n }\n}\n```",
10566 "itemtype": "method",
10567 "name": "generateController",
10568 "params": [
10569 {
10570 "name": "name",
10571 "description": "the name of the controller",
10572 "type": "String"
10573 }
10574 ],
10575 "access": "private",
10576 "tagname": "",
10577 "class": "Route",
10578 "module": "@ember/routing"
10579 },
10580 {
10581 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10582 "line": 1366,
10583 "description": "Returns the resolved model of a parent (or any ancestor) route\nin a route hierarchy. During a transition, all routes\nmust resolve a model object, and if a route\nneeds access to a parent route's model in order to\nresolve a model (or just reuse the model from a parent),\nit can call `this.modelFor(theNameOfParentRoute)` to\nretrieve it. If the ancestor route's model was a promise,\nits resolved result is returned.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' }, function() {\n this.route('comments');\n });\n});\n\nexport default Router;\n```\n\n```app/routes/post/comments.js\nimport Route from '@ember/routing/route';\n\nexport default class PostCommentsRoute extends Route {\n model() {\n let post = this.modelFor('post');\n\n return post.comments;\n }\n}\n```",
10584 "itemtype": "method",
10585 "name": "modelFor",
10586 "params": [
10587 {
10588 "name": "name",
10589 "description": "the name of the route",
10590 "type": "String"
10591 }
10592 ],
10593 "return": {
10594 "description": "the model object",
10595 "type": "Object"
10596 },
10597 "since": "1.0.0",
10598 "access": "public",
10599 "tagname": "",
10600 "class": "Route",
10601 "module": "@ember/routing"
10602 },
10603 {
10604 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10605 "line": 1437,
10606 "description": "A hook you can use to render the template for the current route.\n\nThis method is called with the controller for the current route and the\nmodel supplied by the `model` hook. By default, it renders the route's\ntemplate, configured with the controller for the route.\n\nThis method can be overridden to set up and render additional or\nalternative templates.\n\n```app/routes/posts.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsRoute extends Route {\n renderTemplate(controller, model) {\n let favController = this.controllerFor('favoritePost');\n\n // Render the `favoritePost` template into\n // the outlet `posts`, and display the `favoritePost`\n // controller.\n this.render('favoritePost', {\n outlet: 'posts',\n controller: favController\n });\n }\n}\n```",
10607 "itemtype": "method",
10608 "name": "renderTemplate",
10609 "params": [
10610 {
10611 "name": "controller",
10612 "description": "the route's controller",
10613 "type": "Object"
10614 },
10615 {
10616 "name": "model",
10617 "description": "the route's model",
10618 "type": "Object"
10619 }
10620 ],
10621 "since": "1.0.0",
10622 "access": "public",
10623 "tagname": "",
10624 "class": "Route",
10625 "module": "@ember/routing"
10626 },
10627 {
10628 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10629 "line": 1476,
10630 "description": "`render` is used to render a template into a region of another template\n(indicated by an `{{outlet}}`). `render` is used both during the entry\nphase of routing (via the `renderTemplate` hook) and later in response to\nuser interaction.\n\nFor example, given the following minimal router and templates:\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('photos');\n});\n\nexport default Router;\n```\n\n```handlebars\n<!-- application.hbs -->\n<div class='something-in-the-app-hbs'>\n {{outlet \"anOutletName\"}}\n</div>\n```\n\n```handlebars\n<!-- photos.hbs -->\n<h1>Photos</h1>\n```\n\nYou can render `photos.hbs` into the `\"anOutletName\"` outlet of\n`application.hbs` by calling `render`:\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n renderTemplate() {\n this.render('photos', {\n into: 'application',\n outlet: 'anOutletName'\n })\n }\n}\n```\n\n`render` additionally allows you to supply which `controller` and\n`model` objects should be loaded and associated with the rendered template.\n\n```app/routes/posts.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsRoute extends Route {\n renderTemplate(controller, model) {\n this.render('posts', { // the template to render, referenced by name\n into: 'application', // the template to render into, referenced by name\n outlet: 'anOutletName', // the outlet inside `options.into` to render into.\n controller: 'someControllerName', // the controller to use for this template, referenced by name\n model: model // the model to set on `options.controller`.\n })\n }\n}\n```\n\nThe string values provided for the template name, and controller\nwill eventually pass through to the resolver for lookup. See\nResolver for how these are mapped to JavaScript objects in your\napplication. The template to render into needs to be related to either the\ncurrent route or one of its ancestors.\n\nNot all options need to be passed to `render`. Default values will be used\nbased on the name of the route specified in the router or the Route's\n`controllerName` and `templateName` properties.\n\nFor example:\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n this.route('post', { path: '/posts/:post_id' });\n});\n\nexport default Router;\n```\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n renderTemplate() {\n this.render(); // all defaults apply\n }\n}\n```\n\nThe name of the route, defined by the router, is `post`.\n\nThe following equivalent default options will be applied when\nthe Route calls `render`:\n\n```javascript\nthis.render('post', { // the template name associated with 'post' Route\n into: 'application', // the parent route to 'post' Route\n outlet: 'main', // {{outlet}} and {{outlet 'main'}} are synonymous,\n controller: 'post', // the controller associated with the 'post' Route\n})\n```\n\nBy default the controller's `model` will be the route's model, so it does not\nneed to be passed unless you wish to change which model is being used.",
10631 "itemtype": "method",
10632 "name": "render",
10633 "params": [
10634 {
10635 "name": "name",
10636 "description": "the name of the template to render",
10637 "type": "String"
10638 },
10639 {
10640 "name": "options",
10641 "description": "the options",
10642 "type": "Object",
10643 "optional": true,
10644 "props": [
10645 {
10646 "name": "into",
10647 "description": "the template to render into,\n referenced by name. Defaults to the parent template",
10648 "type": "String",
10649 "optional": true
10650 },
10651 {
10652 "name": "outlet",
10653 "description": "the outlet inside `options.into` to render into.\n Defaults to 'main'",
10654 "type": "String",
10655 "optional": true
10656 },
10657 {
10658 "name": "controller",
10659 "description": "the controller to use for this template,\n referenced by name or as a controller instance. Defaults to the Route's paired controller",
10660 "type": "String|Object",
10661 "optional": true
10662 },
10663 {
10664 "name": "model",
10665 "description": "the model object to set on `options.controller`.\n Defaults to the return value of the Route's model hook",
10666 "type": "Object",
10667 "optional": true
10668 }
10669 ]
10670 }
10671 ],
10672 "since": "1.0.0",
10673 "access": "public",
10674 "tagname": "",
10675 "class": "Route",
10676 "module": "@ember/routing"
10677 },
10678 {
10679 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10680 "line": 1609,
10681 "description": "Disconnects a view that has been rendered into an outlet.\n\nYou may pass any or all of the following options to `disconnectOutlet`:\n\n* `outlet`: the name of the outlet to clear (default: 'main')\n* `parentView`: the name of the view containing the outlet to clear\n (default: the view rendered by the parent route)\n\nExample:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n showModal(evt) {\n this.render(evt.modalName, {\n outlet: 'modal',\n into: 'application'\n });\n }\n\n @action\n hideModal() {\n this.disconnectOutlet({\n outlet: 'modal',\n parentView: 'application'\n });\n }\n}\n```\n\nAlternatively, you can pass the `outlet` name directly as a string.\n\nExample:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n showModal(evt) {\n // ...\n }\n\n @action\n hideModal(evt) {\n this.disconnectOutlet('modal');\n }\n}\n```",
10682 "itemtype": "method",
10683 "name": "disconnectOutlet",
10684 "params": [
10685 {
10686 "name": "options",
10687 "description": "the options hash or outlet name",
10688 "type": "Object|String"
10689 }
10690 ],
10691 "since": "1.0.0",
10692 "access": "public",
10693 "tagname": "",
10694 "class": "Route",
10695 "module": "@ember/routing"
10696 },
10697 {
10698 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10699 "line": 1731,
10700 "access": "private",
10701 "tagname": "",
10702 "itemtype": "method",
10703 "name": "teardownViews",
10704 "class": "Route",
10705 "module": "@ember/routing"
10706 },
10707 {
10708 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10709 "line": 1744,
10710 "description": "Allows you to produce custom metadata for the route.\nThe return value of this method will be attached to\nits corresponding RouteInfoWithAttributes object.\n\nExample\n\n```app/routes/posts/index.js\nimport Route from '@ember/routing/route';\n\nexport default class PostsIndexRoute extends Route {\n buildRouteInfoMetadata() {\n return { title: 'Posts Page' }\n }\n}\n```\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class ApplicationRoute extends Route {\n @service router\n\n constructor() {\n super(...arguments);\n\n this.router.on('routeDidChange', transition => {\n document.title = transition.to.metadata.title;\n // would update document's title to \"Posts Page\"\n });\n }\n}\n```",
10711 "itemtype": "method",
10712 "name": "buildRouteInfoMetadata",
10713 "return": {
10714 "description": "any"
10715 },
10716 "since": "3.10.0",
10717 "access": "public",
10718 "tagname": "",
10719 "class": "Route",
10720 "module": "@ember/routing"
10721 },
10722 {
10723 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10724 "line": 2058,
10725 "description": "A hook you can implement to convert the route's model into parameters\nfor the URL.\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n});\n\n```\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\nexport default class PostRoute extends Route {\n model({ post_id }) {\n // the server returns `{ id: 12 }`\n return fetch(`/posts/${post_id}`;\n }\n\n serialize(model) {\n // this will make the URL `/posts/12`\n return { post_id: model.id };\n }\n}\n```\n\nThe default `serialize` method will insert the model's `id` into the\nroute's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\nIf the route has multiple dynamic segments or does not contain '_id', `serialize`\nwill return `getProperties(model, params)`\n\nThis method is called when `transitionTo` is called with a context\nin order to populate the URL.",
10726 "itemtype": "method",
10727 "name": "serialize",
10728 "params": [
10729 {
10730 "name": "model",
10731 "description": "the routes model",
10732 "type": "Object"
10733 },
10734 {
10735 "name": "params",
10736 "description": "an Array of parameter names for the current\n route (in the example, `['post_id']`.",
10737 "type": "Array"
10738 }
10739 ],
10740 "return": {
10741 "description": "the serialized parameters",
10742 "type": "Object"
10743 },
10744 "since": "1.0.0",
10745 "access": "public",
10746 "tagname": "",
10747 "class": "Route",
10748 "module": "@ember/routing"
10749 },
10750 {
10751 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10752 "line": 2108,
10753 "description": "Configuration hash for this route's queryParams. The possible\nconfiguration options and their defaults are as follows\n(assuming a query param whose controller property is `page`):\n\n```javascript\nqueryParams: {\n page: {\n // By default, controller query param properties don't\n // cause a full transition when they are changed, but\n // rather only cause the URL to update. Setting\n // `refreshModel` to true will cause an \"in-place\"\n // transition to occur, whereby the model hooks for\n // this route (and any child routes) will re-fire, allowing\n // you to reload models (e.g., from the server) using the\n // updated query param values.\n refreshModel: false,\n\n // By default, changes to controller query param properties\n // cause the URL to update via `pushState`, which means an\n // item will be added to the browser's history, allowing\n // you to use the back button to restore the app to the\n // previous state before the query param property was changed.\n // Setting `replace` to true will use `replaceState` (or its\n // hash location equivalent), which causes no browser history\n // item to be added. This options name and default value are\n // the same as the `link-to` helper's `replace` option.\n replace: false,\n\n // By default, the query param URL key is the same name as\n // the controller property name. Use `as` to specify a\n // different URL key.\n as: 'page'\n }\n}\n```",
10754 "itemtype": "property",
10755 "name": "queryParams",
10756 "type": "Object",
10757 "since": "1.6.0",
10758 "access": "public",
10759 "tagname": "",
10760 "class": "Route",
10761 "module": "@ember/routing"
10762 },
10763 {
10764 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10765 "line": 2153,
10766 "description": "The name of the template to use by default when rendering this routes\ntemplate.\n\n```app/routes/posts/list.js\nimport Route from '@ember/routing/route';\n\nexport default class extends Route {\n templateName = 'posts/list'\n});\n```\n\n```app/routes/posts/index.js\nimport PostsList from '../posts/list';\n\nexport default class extends PostsList {};\n```\n\n```app/routes/posts/archived.js\nimport PostsList from '../posts/list';\n\nexport default class extends PostsList {};\n```",
10767 "itemtype": "property",
10768 "name": "templateName",
10769 "type": "String",
10770 "default": "null",
10771 "since": "1.4.0",
10772 "access": "public",
10773 "tagname": "",
10774 "class": "Route",
10775 "module": "@ember/routing"
10776 },
10777 {
10778 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10779 "line": 2185,
10780 "access": "private",
10781 "tagname": "",
10782 "itemtype": "property",
10783 "name": "_names",
10784 "class": "Route",
10785 "module": "@ember/routing"
10786 },
10787 {
10788 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10789 "line": 2192,
10790 "description": "The name of the controller to associate with this route.\n\nBy default, Ember will lookup a route's controller that matches the name\nof the route (i.e. `posts.new`). However,\nif you would like to define a specific controller to use, you can do so\nusing this property.\n\nThis is useful in many ways, as the controller specified will be:\n\n* passed to the `setupController` method.\n* used as the controller for the template being rendered by the route.\n* returned from a call to `controllerFor` for the route.",
10791 "itemtype": "property",
10792 "name": "controllerName",
10793 "type": "String",
10794 "default": "null",
10795 "since": "1.4.0",
10796 "access": "public",
10797 "tagname": "",
10798 "class": "Route",
10799 "module": "@ember/routing"
10800 },
10801 {
10802 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10803 "line": 2214,
10804 "description": "Store property provides a hook for data persistence libraries to inject themselves.\n\nBy default, this store property provides the exact same functionality previously\nin the model hook.\n\nCurrently, the required interface is:\n\n`store.find(modelName, findArguments)`",
10805 "itemtype": "property",
10806 "name": "store",
10807 "type": "{Object}",
10808 "access": "private",
10809 "tagname": "",
10810 "class": "Route",
10811 "module": "@ember/routing"
10812 },
10813 {
10814 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10815 "line": 2266,
10816 "access": "private",
10817 "tagname": "",
10818 "itemtype": "property",
10819 "name": "_qp",
10820 "class": "Route",
10821 "module": "@ember/routing"
10822 },
10823 {
10824 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10825 "line": 2393,
10826 "description": "Sends an action to the router, which will delegate it to the currently\nactive route hierarchy per the bubbling rules explained under `actions`.\n\nExample\n\n```app/router.js\n// ...\n\nRouter.map(function() {\n this.route('index');\n});\n\nexport default Router;\n```\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class ApplicationRoute extends Route {\n @action\n track(arg) {\n console.log(arg, 'was clicked');\n }\n}\n```\n\n```app/routes/index.js\nimport Route from '@ember/routing/route';\nimport { action } from '@glimmer/tracking';\n\nexport default class IndexRoute extends Route {\n @action\n trackIfDebug(arg) {\n if (debug) {\n this.send('track', arg);\n }\n }\n}\n```",
10827 "itemtype": "method",
10828 "name": "send",
10829 "params": [
10830 {
10831 "name": "name",
10832 "description": "the name of the action to trigger",
10833 "type": "String"
10834 },
10835 {
10836 "name": "args",
10837 "description": "",
10838 "type": "...*"
10839 }
10840 ],
10841 "since": "1.0.0",
10842 "access": "public",
10843 "tagname": "",
10844 "class": "Route",
10845 "module": "@ember/routing"
10846 },
10847 {
10848 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10849 "line": 2456,
10850 "description": "The controller associated with this route.\n\nExample\n\n```app/routes/form.js\nimport Route from '@ember/routing/route';\nimport { action } from '@ember/object';\n\nexport default class FormRoute extends Route {\n @action\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData') &&\n !confirm('Are you sure you want to abandon progress?')) {\n transition.abort();\n } else {\n // Bubble the `willTransition` action so that\n // parent routes can decide whether or not to abort.\n return true;\n }\n }\n}\n```",
10851 "itemtype": "property",
10852 "name": "controller",
10853 "type": "Controller",
10854 "since": "1.6.0",
10855 "access": "public",
10856 "tagname": "",
10857 "class": "Route",
10858 "module": "@ember/routing"
10859 },
10860 {
10861 "file": "packages/@ember/-internals/routing/lib/system/route.ts",
10862 "line": 2487,
10863 "description": "This action is called when one or more query params have changed. Bubbles.",
10864 "itemtype": "method",
10865 "name": "queryParamsDidChange",
10866 "params": [
10867 {
10868 "name": "changed",
10869 "description": "Keys are names of query params that have changed.",
10870 "type": "Object"
10871 },
10872 {
10873 "name": "totalPresent",
10874 "description": "Keys are names of query params that are currently set.",
10875 "type": "Object"
10876 },
10877 {
10878 "name": "removed",
10879 "description": "Keys are names of query params that have been removed.",
10880 "type": "Object"
10881 }
10882 ],
10883 "return": {
10884 "description": "",
10885 "type": "Boolean"
10886 },
10887 "access": "private",
10888 "tagname": "",
10889 "class": "Route",
10890 "module": "@ember/routing"
10891 },
10892 {
10893 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10894 "line": 381,
10895 "description": "Initializes the current router instance and sets up the change handling\nevent listeners used by the instances `location` implementation.\n\nA property named `initialURL` will be used to determine the initial URL.\nIf no value is found `/` will be used.",
10896 "itemtype": "method",
10897 "name": "startRouting",
10898 "access": "private",
10899 "tagname": "",
10900 "class": "EmberRouter",
10901 "module": "@ember/routing"
10902 },
10903 {
10904 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10905 "line": 494,
10906 "description": "Transition the application into another route. The route may\nbe either a single route or route path:\n\nSee [transitionTo](/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.",
10907 "itemtype": "method",
10908 "name": "transitionTo",
10909 "params": [
10910 {
10911 "name": "name",
10912 "description": "the name of the route or a URL",
10913 "type": "String"
10914 },
10915 {
10916 "name": "models",
10917 "description": "the model(s) or identifier(s) to be used while\n transitioning to the route.",
10918 "type": "...Object"
10919 },
10920 {
10921 "name": "options",
10922 "description": "optional hash with a queryParams property\n containing a mapping of query parameters",
10923 "type": "Object",
10924 "optional": true
10925 }
10926 ],
10927 "return": {
10928 "description": "the transition object associated with this\n attempted transition",
10929 "type": "Transition"
10930 },
10931 "access": "public",
10932 "tagname": "",
10933 "class": "EmberRouter",
10934 "module": "@ember/routing"
10935 },
10936 {
10937 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10938 "line": 549,
10939 "description": "Determines if the supplied route is currently active.",
10940 "itemtype": "method",
10941 "name": "isActive",
10942 "params": [
10943 {
10944 "name": "routeName",
10945 "description": ""
10946 }
10947 ],
10948 "return": {
10949 "description": "",
10950 "type": "Boolean"
10951 },
10952 "access": "private",
10953 "tagname": "",
10954 "class": "EmberRouter",
10955 "module": "@ember/routing"
10956 },
10957 {
10958 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10959 "line": 561,
10960 "description": "An alternative form of `isActive` that doesn't require\nmanual concatenation of the arguments into a single\narray.",
10961 "itemtype": "method",
10962 "name": "isActiveIntent",
10963 "params": [
10964 {
10965 "name": "routeName",
10966 "description": ""
10967 },
10968 {
10969 "name": "models",
10970 "description": ""
10971 },
10972 {
10973 "name": "queryParams",
10974 "description": ""
10975 }
10976 ],
10977 "return": {
10978 "description": "",
10979 "type": "Boolean"
10980 },
10981 "access": "private",
10982 "tagname": "",
10983 "since": "1.7.0",
10984 "class": "EmberRouter",
10985 "module": "@ember/routing"
10986 },
10987 {
10988 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10989 "line": 583,
10990 "description": "Does this router instance have the given route.",
10991 "itemtype": "method",
10992 "name": "hasRoute",
10993 "return": {
10994 "description": "",
10995 "type": "Boolean"
10996 },
10997 "access": "private",
10998 "tagname": "",
10999 "class": "EmberRouter",
11000 "module": "@ember/routing"
11001 },
11002 {
11003 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11004 "line": 594,
11005 "description": "Resets the state of the router by clearing the current route\nhandlers and deactivating them.",
11006 "access": "private",
11007 "tagname": "",
11008 "itemtype": "method",
11009 "name": "reset",
11010 "class": "EmberRouter",
11011 "module": "@ember/routing"
11012 },
11013 {
11014 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11015 "line": 700,
11016 "description": "Serializes the given query params according to their QP meta information.",
11017 "access": "private",
11018 "tagname": "",
11019 "itemtype": "method",
11020 "name": "_serializeQueryParams",
11021 "params": [
11022 {
11023 "name": "routeInfos",
11024 "description": "",
11025 "type": "Arrray<RouteInfo>"
11026 },
11027 {
11028 "name": "queryParams",
11029 "description": "",
11030 "type": "Object"
11031 }
11032 ],
11033 "return": {
11034 "description": "",
11035 "type": "Void"
11036 },
11037 "class": "EmberRouter",
11038 "module": "@ember/routing"
11039 },
11040 {
11041 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11042 "line": 727,
11043 "description": "Serializes the value of a query parameter based on a type",
11044 "access": "private",
11045 "tagname": "",
11046 "itemtype": "method",
11047 "name": "_serializeQueryParam",
11048 "params": [
11049 {
11050 "name": "value",
11051 "description": "",
11052 "type": "Object"
11053 },
11054 {
11055 "name": "type",
11056 "description": "",
11057 "type": "String"
11058 }
11059 ],
11060 "class": "EmberRouter",
11061 "module": "@ember/routing"
11062 },
11063 {
11064 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11065 "line": 745,
11066 "description": "Deserializes the given query params according to their QP meta information.",
11067 "access": "private",
11068 "tagname": "",
11069 "itemtype": "method",
11070 "name": "_deserializeQueryParams",
11071 "params": [
11072 {
11073 "name": "routeInfos",
11074 "description": "",
11075 "type": "Array<RouteInfo>"
11076 },
11077 {
11078 "name": "queryParams",
11079 "description": "",
11080 "type": "Object"
11081 }
11082 ],
11083 "return": {
11084 "description": "",
11085 "type": "Void"
11086 },
11087 "class": "EmberRouter",
11088 "module": "@ember/routing"
11089 },
11090 {
11091 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11092 "line": 770,
11093 "description": "Deserializes the value of a query parameter based on a default type",
11094 "access": "private",
11095 "tagname": "",
11096 "itemtype": "method",
11097 "name": "_deserializeQueryParam",
11098 "params": [
11099 {
11100 "name": "value",
11101 "description": "",
11102 "type": "Object"
11103 },
11104 {
11105 "name": "defaultType",
11106 "description": "",
11107 "type": "String"
11108 }
11109 ],
11110 "class": "EmberRouter",
11111 "module": "@ember/routing"
11112 },
11113 {
11114 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11115 "line": 791,
11116 "description": "Removes (prunes) any query params with default values from the given QP\nobject. Default values are determined from the QP meta information per key.",
11117 "access": "private",
11118 "tagname": "",
11119 "itemtype": "method",
11120 "name": "_pruneDefaultQueryParamValues",
11121 "params": [
11122 {
11123 "name": "routeInfos",
11124 "description": "",
11125 "type": "Array<RouteInfo>"
11126 },
11127 {
11128 "name": "queryParams",
11129 "description": "",
11130 "type": "Object"
11131 }
11132 ],
11133 "return": {
11134 "description": "",
11135 "type": "Void"
11136 },
11137 "class": "EmberRouter",
11138 "module": "@ember/routing"
11139 },
11140 {
11141 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11142 "line": 871,
11143 "description": "Prepares the query params for a URL or Transition. Restores any undefined QP\nkeys/values, serializes all values, and then prunes any default values.",
11144 "access": "private",
11145 "tagname": "",
11146 "itemtype": "method",
11147 "name": "_prepareQueryParams",
11148 "params": [
11149 {
11150 "name": "targetRouteName",
11151 "description": "",
11152 "type": "String"
11153 },
11154 {
11155 "name": "models",
11156 "description": "",
11157 "type": "Array<Object>"
11158 },
11159 {
11160 "name": "queryParams",
11161 "description": "",
11162 "type": "Object"
11163 },
11164 {
11165 "name": "keepDefaultQueryParamValues",
11166 "description": "",
11167 "type": "Boolean"
11168 }
11169 ],
11170 "return": {
11171 "description": "",
11172 "type": "Void"
11173 },
11174 "class": "EmberRouter",
11175 "module": "@ember/routing"
11176 },
11177 {
11178 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11179 "line": 898,
11180 "description": "Returns the meta information for the query params of a given route. This\nwill be overridden to allow support for lazy routes.",
11181 "access": "private",
11182 "tagname": "",
11183 "itemtype": "method",
11184 "name": "_getQPMeta",
11185 "params": [
11186 {
11187 "name": "routeInfo",
11188 "description": "",
11189 "type": "RouteInfo"
11190 }
11191 ],
11192 "return": {
11193 "description": "",
11194 "type": "Object"
11195 },
11196 "class": "EmberRouter",
11197 "module": "@ember/routing"
11198 },
11199 {
11200 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11201 "line": 912,
11202 "description": "Returns a merged query params meta object for a given set of routeInfos.\nUseful for knowing what query params are available for a given route hierarchy.",
11203 "access": "private",
11204 "tagname": "",
11205 "itemtype": "method",
11206 "name": "_queryParamsFor",
11207 "params": [
11208 {
11209 "name": "routeInfos",
11210 "description": "",
11211 "type": "Array<RouteInfo>"
11212 }
11213 ],
11214 "return": {
11215 "description": "",
11216 "type": "Object"
11217 },
11218 "class": "EmberRouter",
11219 "module": "@ember/routing"
11220 },
11221 {
11222 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11223 "line": 977,
11224 "description": "Maps all query param keys to their fully scoped property name of the form\n`controllerName:propName`.",
11225 "access": "private",
11226 "tagname": "",
11227 "itemtype": "method",
11228 "name": "_fullyScopeQueryParams",
11229 "params": [
11230 {
11231 "name": "leafRouteName",
11232 "description": "",
11233 "type": "String"
11234 },
11235 {
11236 "name": "contexts",
11237 "description": "",
11238 "type": "Array<Object>"
11239 },
11240 {
11241 "name": "queryParams",
11242 "description": "",
11243 "type": "Object"
11244 }
11245 ],
11246 "return": {
11247 "description": "",
11248 "type": "Void"
11249 },
11250 "class": "EmberRouter",
11251 "module": "@ember/routing"
11252 },
11253 {
11254 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11255 "line": 1019,
11256 "description": "Hydrates (adds/restores) any query params that have pre-existing values into\nthe given queryParams hash. This is what allows query params to be \"sticky\"\nand restore their last known values for their scope.",
11257 "access": "private",
11258 "tagname": "",
11259 "itemtype": "method",
11260 "name": "_hydrateUnsuppliedQueryParams",
11261 "params": [
11262 {
11263 "name": "state",
11264 "description": "",
11265 "type": "TransitionState"
11266 },
11267 {
11268 "name": "queryParams",
11269 "description": "",
11270 "type": "Object"
11271 }
11272 ],
11273 "return": {
11274 "description": "",
11275 "type": "Void"
11276 },
11277 "class": "EmberRouter",
11278 "module": "@ember/routing"
11279 },
11280 {
11281 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11282 "line": 1322,
11283 "description": "Finds the name of the substate route if it exists for the given route. A\nsubstate route is of the form `route_state`, such as `foo_loading`.",
11284 "access": "private",
11285 "tagname": "",
11286 "params": [
11287 {
11288 "name": "route",
11289 "description": "",
11290 "type": "Route"
11291 },
11292 {
11293 "name": "state",
11294 "description": "",
11295 "type": "String"
11296 }
11297 ],
11298 "return": {
11299 "description": "",
11300 "type": "String"
11301 },
11302 "class": "EmberRouter",
11303 "module": "@ember/routing"
11304 },
11305 {
11306 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11307 "line": 1341,
11308 "description": "Finds the name of the state route if it exists for the given route. A state\nroute is of the form `route.state`, such as `foo.loading`. Properly Handles\n`application` named routes.",
11309 "access": "private",
11310 "tagname": "",
11311 "params": [
11312 {
11313 "name": "route",
11314 "description": "",
11315 "type": "Route"
11316 },
11317 {
11318 "name": "state",
11319 "description": "",
11320 "type": "String"
11321 }
11322 ],
11323 "return": {
11324 "description": "",
11325 "type": "String"
11326 },
11327 "class": "EmberRouter",
11328 "module": "@ember/routing"
11329 },
11330 {
11331 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11332 "line": 1361,
11333 "description": "Determines whether or not a route has been defined by checking that the route\nis in the Router's map and the owner has a registration for that route.",
11334 "access": "private",
11335 "tagname": "",
11336 "params": [
11337 {
11338 "name": "owner",
11339 "description": "",
11340 "type": "Owner"
11341 },
11342 {
11343 "name": "router",
11344 "description": "",
11345 "type": "Router"
11346 },
11347 {
11348 "name": "localName",
11349 "description": "",
11350 "type": "String"
11351 },
11352 {
11353 "name": "fullName",
11354 "description": "",
11355 "type": "String"
11356 }
11357 ],
11358 "return": {
11359 "description": "",
11360 "type": "Boolean"
11361 },
11362 "class": "EmberRouter",
11363 "module": "@ember/routing"
11364 },
11365 {
11366 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11367 "line": 1513,
11368 "description": "The `Router.map` function allows you to define mappings from URLs to routes\nin your application. These mappings are defined within the\nsupplied callback function using `this.route`.\n\nThe first parameter is the name of the route which is used by default as the\npath name as well.\n\nThe second parameter is the optional options hash. Available options are:\n\n * `path`: allows you to provide your own path as well as mark dynamic\n segments.\n * `resetNamespace`: false by default; when nesting routes, ember will\n combine the route names to form the fully-qualified route name, which is\n used with `{{link-to}}` or manually transitioning to routes. Setting\n `resetNamespace: true` will cause the route not to inherit from its\n parent route's names. This is handy for preventing extremely long route names.\n Keep in mind that the actual URL path behavior is still retained.\n\nThe third parameter is a function, which can be used to nest routes.\nNested routes, by default, will have the parent route tree's route name and\npath prepended to it's own.\n\n```app/router.js\nRouter.map(function(){\n this.route('post', { path: '/post/:post_id' }, function() {\n this.route('edit');\n this.route('comments', { resetNamespace: true }, function() {\n this.route('new');\n });\n });\n});\n```",
11369 "itemtype": "method",
11370 "name": "map",
11371 "params": [
11372 {
11373 "name": "callback",
11374 "description": ""
11375 }
11376 ],
11377 "access": "public",
11378 "tagname": "",
11379 "class": "EmberRouter",
11380 "module": "@ember/routing"
11381 },
11382 {
11383 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11384 "line": 1709,
11385 "description": "Handles updating the paths and notifying any listeners of the URL\nchange.\n\nTriggers the router level `didTransition` hook.\n\nFor example, to notify google analytics when the route changes,\nyou could use this hook. (Note: requires also including GA scripts, etc.)\n\n```javascript\nimport config from './config/environment';\nimport EmberRouter from '@ember/routing/router';\nimport { inject as service } from '@ember/service';\n\nlet Router = EmberRouter.extend({\n location: config.locationType,\n\n router: service(),\n\n didTransition: function() {\n this._super(...arguments);\n\n ga('send', 'pageview', {\n page: this.router.currentURL,\n title: this.router.currentRouteName,\n });\n }\n});\n```",
11386 "itemtype": "method",
11387 "name": "didTransition",
11388 "access": "public",
11389 "tagname": "",
11390 "since": "1.2.0",
11391 "class": "EmberRouter",
11392 "module": "@ember/routing"
11393 },
11394 {
11395 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11396 "line": 1745,
11397 "description": "Handles notifying any listeners of an impending URL\nchange.\n\nTriggers the router level `willTransition` hook.",
11398 "itemtype": "method",
11399 "name": "willTransition",
11400 "access": "public",
11401 "tagname": "",
11402 "since": "1.11.0",
11403 "class": "EmberRouter",
11404 "module": "@ember/routing"
11405 },
11406 {
11407 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11408 "line": 1756,
11409 "description": "Represents the URL of the root of the application, often '/'. This prefix is\nassumed on all routes defined on this router.",
11410 "itemtype": "property",
11411 "name": "rootURL",
11412 "default": "'/'",
11413 "access": "public",
11414 "tagname": "",
11415 "class": "EmberRouter",
11416 "module": "@ember/routing"
11417 },
11418 {
11419 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11420 "line": 1766,
11421 "description": "The `location` property determines the type of URL's that your\napplication will use.\n\nThe following location types are currently available:\n\n* `history` - use the browser's history API to make the URLs look just like any standard URL\n* `hash` - use `#` to separate the server part of the URL from the Ember part: `/blog/#/posts/new`\n* `none` - do not store the Ember URL in the actual browser URL (mainly used for testing)\n* `auto` - use the best option based on browser capabilities: `history` if possible, then `hash` if possible, otherwise `none`\n\nThis value is defaulted to `auto` by the `locationType` setting of `/config/environment.js`",
11422 "itemtype": "property",
11423 "name": "location",
11424 "default": "'hash'",
11425 "see": [
11426 "{Location}"
11427 ],
11428 "access": "public",
11429 "tagname": "",
11430 "class": "EmberRouter",
11431 "module": "@ember/routing"
11432 },
11433 {
11434 "file": "packages/@ember/-internals/routing/lib/system/router.ts",
11435 "line": 1786,
11436 "description": "Represents the current URL.",
11437 "itemtype": "property",
11438 "name": "url",
11439 "type": "{String}",
11440 "access": "private",
11441 "tagname": "",
11442 "class": "EmberRouter",
11443 "module": "@ember/routing"
11444 },
11445 {
11446 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11447 "line": 12,
11448 "description": "The Transition's internal promise. Calling `.then` on this property\nis that same as calling `.then` on the Transition object itself, but\nthis property is exposed for when you want to pass around a\nTransition's promise, but not the Transition object itself, since\nTransition object can be externally `abort`ed, while the promise\ncannot.",
11449 "itemtype": "property",
11450 "name": "promise",
11451 "type": "{Object}",
11452 "access": "public",
11453 "tagname": "",
11454 "class": "Transition",
11455 "module": "@ember/routing"
11456 },
11457 {
11458 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11459 "line": 25,
11460 "description": "Custom state can be stored on a Transition's `data` object.\nThis can be useful for decorating a Transition within an earlier\nhook and shared with a later hook. Properties set on `data` will\nbe copied to new transitions generated by calling `retry` on this\ntransition.",
11461 "itemtype": "property",
11462 "name": "data",
11463 "type": "{Object}",
11464 "access": "public",
11465 "tagname": "",
11466 "class": "Transition",
11467 "module": "@ember/routing"
11468 },
11469 {
11470 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11471 "line": 37,
11472 "description": "A standard promise hook that resolves if the transition\nsucceeds and rejects if it fails/redirects/aborts.\n\nForwards to the internal `promise` property which you can\nuse in situations where you want to pass around a thennable,\nbut not the Transition itself.",
11473 "itemtype": "method",
11474 "name": "then",
11475 "params": [
11476 {
11477 "name": "onFulfilled",
11478 "description": "",
11479 "type": "Function"
11480 },
11481 {
11482 "name": "onRejected",
11483 "description": "",
11484 "type": "Function"
11485 },
11486 {
11487 "name": "label",
11488 "description": "optional string for labeling the promise.\nUseful for tooling.",
11489 "type": "String"
11490 }
11491 ],
11492 "return": {
11493 "description": "",
11494 "type": "Promise"
11495 },
11496 "access": "public",
11497 "tagname": "",
11498 "class": "Transition",
11499 "module": "@ember/routing"
11500 },
11501 {
11502 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11503 "line": 54,
11504 "description": "Forwards to the internal `promise` property which you can\n use in situations where you want to pass around a thennable,\n but not the Transition itself.",
11505 "itemtype": "method",
11506 "name": "catch",
11507 "params": [
11508 {
11509 "name": "onRejection",
11510 "description": "",
11511 "type": "Function"
11512 },
11513 {
11514 "name": "label",
11515 "description": "optional string for labeling the promise.\n Useful for tooling.",
11516 "type": "String"
11517 }
11518 ],
11519 "return": {
11520 "description": "",
11521 "type": "Promise"
11522 },
11523 "access": "public",
11524 "tagname": "",
11525 "class": "Transition",
11526 "module": "@ember/routing"
11527 },
11528 {
11529 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11530 "line": 68,
11531 "description": "Forwards to the internal `promise` property which you can\n use in situations where you want to pass around a thennable,\n but not the Transition itself.",
11532 "itemtype": "method",
11533 "name": "finally",
11534 "params": [
11535 {
11536 "name": "callback",
11537 "description": "",
11538 "type": "Function"
11539 },
11540 {
11541 "name": "label",
11542 "description": "optional string for labeling the promise.\n Useful for tooling.",
11543 "type": "String"
11544 }
11545 ],
11546 "return": {
11547 "description": "",
11548 "type": "Promise"
11549 },
11550 "access": "public",
11551 "tagname": "",
11552 "class": "Transition",
11553 "module": "@ember/routing"
11554 },
11555 {
11556 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11557 "line": 82,
11558 "description": "Aborts the Transition. Note you can also implicitly abort a transition\nby initiating another transition while a previous one is underway.",
11559 "itemtype": "method",
11560 "name": "abort",
11561 "return": {
11562 "description": "this transition",
11563 "type": "Transition"
11564 },
11565 "access": "public",
11566 "tagname": "",
11567 "class": "Transition",
11568 "module": "@ember/routing"
11569 },
11570 {
11571 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11572 "line": 91,
11573 "description": "Retries a previously-aborted transition (making sure to abort the\n transition if it's still active). Returns a new transition that\n represents the new attempt to transition.",
11574 "itemtype": "method",
11575 "name": "retry",
11576 "return": {
11577 "description": "new transition",
11578 "type": "Transition"
11579 },
11580 "access": "public",
11581 "tagname": "",
11582 "class": "Transition",
11583 "module": "@ember/routing"
11584 },
11585 {
11586 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11587 "line": 102,
11588 "description": "Sets the URL-changing method to be employed at the end of a\n successful transition. By default, a new Transition will just\n use `updateURL`, but passing 'replace' to this method will\n cause the URL to update using 'replaceWith' instead. Omitting\n a parameter will disable the URL change, allowing for transitions\n that don't update the URL at completion (this is also used for\n handleURL, since the URL has already changed before the\n transition took place).",
11589 "itemtype": "method",
11590 "name": "method",
11591 "params": [
11592 {
11593 "name": "method",
11594 "description": "the type of URL-changing method to use\n at the end of a transition. Accepted values are 'replace',\n falsy values, or any other non-falsy value (which is\n interpreted as an updateURL transition).",
11595 "type": "String"
11596 }
11597 ],
11598 "return": {
11599 "description": "this transition",
11600 "type": "Transition"
11601 },
11602 "access": "public",
11603 "tagname": "",
11604 "class": "Transition",
11605 "module": "@ember/routing"
11606 },
11607 {
11608 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11609 "line": 123,
11610 "description": "Fires an event on the current list of resolved/resolving\n handlers within this transition. Useful for firing events\n on route hierarchies that haven't fully been entered yet.\nNote: This method is also aliased as `send`",
11611 "itemtype": "method",
11612 "name": "trigger",
11613 "params": [
11614 {
11615 "name": "ignoreFailure",
11616 "description": "a boolean specifying whether unhandled events throw an error",
11617 "type": "Boolean",
11618 "optional": true,
11619 "optdefault": "false"
11620 },
11621 {
11622 "name": "name",
11623 "description": "the name of the event to fire",
11624 "type": "String"
11625 }
11626 ],
11627 "access": "public",
11628 "tagname": "",
11629 "class": "Transition",
11630 "module": "@ember/routing"
11631 },
11632 {
11633 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11634 "line": 137,
11635 "description": "This property is a `RouteInfo` object that represents\nwhere the router is transitioning to. It's important\nto note that a `RouteInfo` is a linked list and this\nproperty represents the leafmost route.",
11636 "itemtype": "property",
11637 "name": "to",
11638 "type": "Null|RouteInfo|RouteInfoWithAttributes",
11639 "access": "public",
11640 "tagname": "",
11641 "class": "Transition",
11642 "module": "@ember/routing"
11643 },
11644 {
11645 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11646 "line": 146,
11647 "description": "This property is a `RouteInfo` object that represents\nwhere transition originated from. It's important\nto note that a `RouteInfo` is a linked list and this\nproperty represents the head node of the list.\nIn the case of an initial render, `from` will be set to\n`null`.",
11648 "itemtype": "property",
11649 "name": "from",
11650 "type": "Null|RouteInfoWithAttributes",
11651 "access": "public",
11652 "tagname": "",
11653 "class": "Transition",
11654 "module": "@ember/routing"
11655 },
11656 {
11657 "file": "packages/@ember/-internals/routing/lib/system/transition.ts",
11658 "line": 157,
11659 "description": "Transitions are aborted and their promises rejected\nwhen redirects occur; this method returns a promise\nthat will follow any redirects that occur and fulfill\nwith the value fulfilled by any redirecting transitions\nthat occur.",
11660 "itemtype": "method",
11661 "name": "followRedirects",
11662 "return": {
11663 "description": "a promise that fulfills with the same\n value that the final redirecting transition fulfills with",
11664 "type": "Promise"
11665 },
11666 "access": "public",
11667 "tagname": "",
11668 "class": "Transition",
11669 "module": "@ember/routing"
11670 },
11671 {
11672 "file": "packages/@ember/-internals/runtime/lib/ext/function.js",
11673 "line": 12,
11674 "description": "The `property` extension of Javascript's Function prototype is available\nwhen `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n`true`, which is the default.\n\nComputed properties allow you to treat a function like a property:\n\n```app/utils/president.js\nimport EmberObject from '@ember/object';\n\nexport default EmberObject.extend({\n firstName: '',\n lastName: '',\n\n fullName: function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n }.property() // Call this flag to mark the function as a property\n});\n```\n\n```javascript\nlet president = President.create({\n firstName: 'Barack',\n lastName: 'Obama'\n});\n\npresident.get('fullName'); // 'Barack Obama'\n```\n\nTreating a function like a property is useful because they can work with\nbindings, just like any other property.\n\nMany computed properties have dependencies on other properties. For\nexample, in the above example, the `fullName` property depends on\n`firstName` and `lastName` to determine its value. You can tell Ember\nabout these dependencies like this:\n\n```app/utils/president.js\nimport EmberObject from '@ember/object';\n\nexport default EmberObject.extend({\n firstName: '',\n lastName: '',\n\n fullName: function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n\n // Tell Ember.js that this computed property depends on firstName\n // and lastName\n }.property('firstName', 'lastName')\n});\n```\n\nMake sure you list these dependencies so Ember knows when to update\nbindings that connect to a computed property. Changing a dependency\nwill not immediately trigger an update of the computed property, but\nwill instead clear the cache so that it is updated when the next `get`\nis called on the property.\n\nSee [ComputedProperty](/ember/release/classes/ComputedProperty), [@ember/object/computed](/ember/release/classes/@ember%2Fobject%2Fcomputed).",
11675 "itemtype": "method",
11676 "name": "property",
11677 "access": "public",
11678 "tagname": "",
11679 "class": "Function",
11680 "module": "ember"
11681 },
11682 {
11683 "file": "packages/@ember/-internals/runtime/lib/ext/function.js",
11684 "line": 95,
11685 "description": "The `observes` extension of Javascript's Function prototype is available\nwhen `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\ntrue, which is the default.\n\nYou can observe property changes simply by adding the `observes`\ncall to the end of your method declarations in classes that you write.\nFor example:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nEmberObject.extend({\n valueObserver: function() {\n // Executes whenever the \"value\" property changes\n }.observes('value')\n});\n```\n\nIn the future this method may become asynchronous.\n\nSee `observer`.",
11686 "itemtype": "method",
11687 "name": "observes",
11688 "access": "public",
11689 "tagname": "",
11690 "class": "Function",
11691 "module": "ember"
11692 },
11693 {
11694 "file": "packages/@ember/-internals/runtime/lib/ext/function.js",
11695 "line": 141,
11696 "description": "The `on` extension of Javascript's Function prototype is available\nwhen `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\ntrue, which is the default.\n\nYou can listen for events simply by adding the `on` call to the end of\nyour method declarations in classes or mixins that you write. For example:\n\n```javascript\nimport Mixin from '@ember/mixin';\n\nMixin.create({\n doSomethingWithElement: function() {\n // Executes whenever the \"didInsertElement\" event fires\n }.on('didInsertElement')\n});\n```\n\nSee `@ember/object/evented/on`.",
11697 "itemtype": "method",
11698 "name": "on",
11699 "access": "public",
11700 "tagname": "",
11701 "class": "Function",
11702 "module": "ember"
11703 },
11704 {
11705 "file": "packages/@ember/-internals/runtime/lib/mixins/-proxy.js",
11706 "line": 36,
11707 "description": "The object whose properties will be forwarded.",
11708 "itemtype": "property",
11709 "name": "content",
11710 "type": "{unknown}",
11711 "default": "null",
11712 "access": "public",
11713 "tagname": "",
11714 "class": "Ember.ProxyMixin",
11715 "module": "ember",
11716 "namespace": "Ember"
11717 },
11718 {
11719 "file": "packages/@ember/-internals/runtime/lib/mixins/action_handler.js",
11720 "line": 22,
11721 "description": "The collection of functions, keyed by name, available on this\n`ActionHandler` as action targets.\n\nThese functions will be invoked when a matching `{{action}}` is triggered\nfrom within a template and the application's current route is this route.\n\nActions can also be invoked from other parts of your application\nvia `ActionHandler#send`.\n\nThe `actions` hash will inherit action handlers from\nthe `actions` hash defined on extended parent classes\nor mixins rather than just replace the entire hash, e.g.:\n\n```app/mixins/can-display-banner.js\nimport Mixin from '@ember/mixin';\n\nexport default Mixin.create({\n actions: {\n displayBanner(msg) {\n // ...\n }\n }\n});\n```\n\n```app/routes/welcome.js\nimport Route from '@ember/routing/route';\nimport CanDisplayBanner from '../mixins/can-display-banner';\n\nexport default Route.extend(CanDisplayBanner, {\n actions: {\n playMusic() {\n // ...\n }\n }\n});\n\n// `WelcomeRoute`, when active, will be able to respond\n// to both actions, since the actions hash is merged rather\n// then replaced when extending mixins / parent classes.\nthis.send('displayBanner');\nthis.send('playMusic');\n```\n\nWithin a Controller, Route or Component's action handler,\nthe value of the `this` context is the Controller, Route or\nComponent object:\n\n```app/routes/song.js\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n actions: {\n myAction() {\n this.controllerFor(\"song\");\n this.transitionTo(\"other.route\");\n ...\n }\n }\n});\n```\n\nIt is also possible to call `this._super(...arguments)` from within an\naction handler if it overrides a handler defined on a parent\nclass or mixin:\n\nTake for example the following routes:\n\n```app/mixins/debug-route.js\nimport Mixin from '@ember/mixin';\n\nexport default Mixin.create({\n actions: {\n debugRouteInformation() {\n console.debug(\"It's a-me, console.debug!\");\n }\n }\n});\n```\n\n```app/routes/annoying-debug.js\nimport Route from '@ember/routing/route';\nimport DebugRoute from '../mixins/debug-route';\n\nexport default Route.extend(DebugRoute, {\n actions: {\n debugRouteInformation() {\n // also call the debugRouteInformation of mixed in DebugRoute\n this._super(...arguments);\n\n // show additional annoyance\n window.alert(...);\n }\n }\n});\n```\n\n## Bubbling\n\nBy default, an action will stop bubbling once a handler defined\non the `actions` hash handles it. To continue bubbling the action,\nyou must return `true` from the handler:\n\n```app/router.js\nRouter.map(function() {\n this.route(\"album\", function() {\n this.route(\"song\");\n });\n});\n```\n\n```app/routes/album.js\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n actions: {\n startPlaying: function() {\n }\n }\n});\n```\n\n```app/routes/album-song.js\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n actions: {\n startPlaying() {\n // ...\n\n if (actionShouldAlsoBeTriggeredOnParentRoute) {\n return true;\n }\n }\n }\n});\n```",
11722 "itemtype": "property",
11723 "name": "actions",
11724 "type": "Object",
11725 "default": "null",
11726 "access": "public",
11727 "tagname": "",
11728 "class": "Ember.ActionHandler",
11729 "module": "ember",
11730 "namespace": "Ember"
11731 },
11732 {
11733 "file": "packages/@ember/-internals/runtime/lib/mixins/action_handler.js",
11734 "line": 167,
11735 "description": "Triggers a named action on the `ActionHandler`. Any parameters\nsupplied after the `actionName` string will be passed as arguments\nto the action target function.\n\nIf the `ActionHandler` has its `target` property set, actions may\nbubble to the `target`. Bubbling happens when an `actionName` can\nnot be found in the `ActionHandler`'s `actions` hash or if the\naction target function returns `true`.\n\nExample\n\n```app/routes/welcome.js\nimport Route from '@ember/routing/route';\n\nexport default Route.extend({\n actions: {\n playTheme() {\n this.send('playMusic', 'theme.mp3');\n },\n playMusic(track) {\n // ...\n }\n }\n});\n```",
11736 "itemtype": "method",
11737 "name": "send",
11738 "params": [
11739 {
11740 "name": "actionName",
11741 "description": "The action to trigger",
11742 "type": "String"
11743 },
11744 {
11745 "name": "context",
11746 "description": "a context to send with the action",
11747 "type": "*"
11748 }
11749 ],
11750 "access": "public",
11751 "tagname": "",
11752 "class": "Ember.ActionHandler",
11753 "module": "ember",
11754 "namespace": "Ember"
11755 },
11756 {
11757 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11758 "line": 111,
11759 "description": "Returns true if the passed object is an array or Array-like.\n\nObjects are considered Array-like if any of the following are true:\n\n - the object is a native Array\n - the object has an objectAt property\n - the object is an Object, and has a length property\n\nUnlike `typeOf` this method returns true even if the passed object is\nnot formally an array but appears to be array-like (i.e. implements `Array`)\n\n```javascript\nimport { isArray } from '@ember/array';\nimport ArrayProxy from '@ember/array/proxy';\n\nisArray(); // false\nisArray([]); // true\nisArray(ArrayProxy.create({ content: [] })); // true\n```",
11760 "itemtype": "method",
11761 "name": "isArray",
11762 "static": 1,
11763 "params": [
11764 {
11765 "name": "obj",
11766 "description": "The object to test",
11767 "type": "Object"
11768 }
11769 ],
11770 "return": {
11771 "description": "true if the passed object is an array or Array-like",
11772 "type": "Boolean"
11773 },
11774 "access": "public",
11775 "tagname": "",
11776 "class": "@ember/array",
11777 "module": "@ember/array"
11778 },
11779 {
11780 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11781 "line": 224,
11782 "description": "__Required.__ You must implement this method to apply this mixin.\n\nYour array must support the `length` property. Your replace methods should\nset this property whenever it changes.",
11783 "itemtype": "property",
11784 "name": "length",
11785 "type": "Number",
11786 "access": "public",
11787 "tagname": "",
11788 "class": "EmberArray",
11789 "module": "@ember/array"
11790 },
11791 {
11792 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11793 "line": 234,
11794 "description": "Returns the object at the given `index`. If the given `index` is negative\nor is greater or equal than the array length, returns `undefined`.\n\nThis is one of the primitives you must implement to support `EmberArray`.\nIf your object supports retrieving the value of an array item using `get()`\n(i.e. `myArray.get(0)`), then you do not need to implement this method\nyourself.\n\n```javascript\nlet arr = ['a', 'b', 'c', 'd'];\n\narr.objectAt(0); // 'a'\narr.objectAt(3); // 'd'\narr.objectAt(-1); // undefined\narr.objectAt(4); // undefined\narr.objectAt(5); // undefined\n```",
11795 "itemtype": "method",
11796 "name": "objectAt",
11797 "params": [
11798 {
11799 "name": "idx",
11800 "description": "The index of the item to return.",
11801 "type": "Number"
11802 }
11803 ],
11804 "return": {
11805 "description": "item at index or undefined",
11806 "type": "*"
11807 },
11808 "access": "public",
11809 "tagname": "",
11810 "class": "EmberArray",
11811 "module": "@ember/array"
11812 },
11813 {
11814 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11815 "line": 259,
11816 "description": "This returns the objects at the specified indexes, using `objectAt`.\n\n```javascript\nlet arr = ['a', 'b', 'c', 'd'];\n\narr.objectsAt([0, 1, 2]); // ['a', 'b', 'c']\narr.objectsAt([2, 3, 4]); // ['c', 'd', undefined]\n```",
11817 "itemtype": "method",
11818 "name": "objectsAt",
11819 "params": [
11820 {
11821 "name": "indexes",
11822 "description": "An array of indexes of items to return.",
11823 "type": "Array"
11824 }
11825 ],
11826 "return": {
11827 "description": "",
11828 "type": "Array"
11829 },
11830 "access": "public",
11831 "tagname": "",
11832 "class": "EmberArray",
11833 "module": "@ember/array"
11834 },
11835 {
11836 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11837 "line": 278,
11838 "description": "This is the handler for the special array content property. If you get\nthis property, it will return this. If you set this property to a new\narray, it will replace the current content.\n\n```javascript\nlet peopleToMoon = ['Armstrong', 'Aldrin'];\n\npeopleToMoon.get('[]'); // ['Armstrong', 'Aldrin']\n\npeopleToMoon.set('[]', ['Collins']); // ['Collins']\npeopleToMoon.get('[]'); // ['Collins']\n```",
11839 "itemtype": "property",
11840 "name": "[]",
11841 "return": {
11842 "description": "this"
11843 },
11844 "access": "public",
11845 "tagname": "",
11846 "class": "EmberArray",
11847 "module": "@ember/array"
11848 },
11849 {
11850 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11851 "line": 306,
11852 "description": "The first object in the array, or `undefined` if the array is empty.\n\n```javascript\nlet vowels = ['a', 'e', 'i', 'o', 'u'];\nvowels.firstObject; // 'a'\n\nvowels.shiftObject();\nvowels.firstObject; // 'e'\n\nvowels.reverseObjects();\nvowels.firstObject; // 'u'\n\nvowels.clear();\nvowels.firstObject; // undefined\n```",
11853 "itemtype": "property",
11854 "name": "firstObject",
11855 "return": {
11856 "description": "The first object in the array",
11857 "type": "Object | undefined"
11858 },
11859 "access": "public",
11860 "tagname": "",
11861 "class": "EmberArray",
11862 "module": "@ember/array"
11863 },
11864 {
11865 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11866 "line": 331,
11867 "description": "The last object in the array, or `undefined` if the array is empty.",
11868 "itemtype": "property",
11869 "name": "lastObject",
11870 "return": {
11871 "description": "The last object in the array",
11872 "type": "Object | undefined"
11873 },
11874 "access": "public",
11875 "tagname": "",
11876 "class": "EmberArray",
11877 "module": "@ember/array"
11878 },
11879 {
11880 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11881 "line": 343,
11882 "description": "Returns a new array that is a slice of the receiver. This implementation\nuses the observable array methods to retrieve the objects for the new\nslice.\n\n```javascript\nlet arr = ['red', 'green', 'blue'];\n\narr.slice(0); // ['red', 'green', 'blue']\narr.slice(0, 2); // ['red', 'green']\narr.slice(1, 100); // ['green', 'blue']\n```",
11883 "itemtype": "method",
11884 "name": "slice",
11885 "params": [
11886 {
11887 "name": "beginIndex",
11888 "description": "(Optional) index to begin slicing from.",
11889 "type": "Number"
11890 },
11891 {
11892 "name": "endIndex",
11893 "description": "(Optional) index to end the slice at (but not included).",
11894 "type": "Number"
11895 }
11896 ],
11897 "return": {
11898 "description": "New array with specified slice",
11899 "type": "Array"
11900 },
11901 "access": "public",
11902 "tagname": "",
11903 "class": "EmberArray",
11904 "module": "@ember/array"
11905 },
11906 {
11907 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11908 "line": 383,
11909 "description": "Used to determine the passed object's first occurrence in the array.\nReturns the index if found, -1 if no match is found.\n\nThe optional `startAt` argument can be used to pass a starting\nindex to search from, effectively slicing the searchable portion\nof the array. If it's negative it will add the array length to\nthe startAt value passed in as the index to search from. If less\nthan or equal to `-1 * array.length` the entire array is searched.\n\n```javascript\nlet arr = ['a', 'b', 'c', 'd', 'a'];\n\narr.indexOf('a'); // 0\narr.indexOf('z'); // -1\narr.indexOf('a', 2); // 4\narr.indexOf('a', -1); // 4, equivalent to indexOf('a', 4)\narr.indexOf('a', -100); // 0, searches entire array\narr.indexOf('b', 3); // -1\narr.indexOf('a', 100); // -1\n\nlet people = [{ name: 'Zoey' }, { name: 'Bob' }]\nlet newPerson = { name: 'Tom' };\npeople = [newPerson, ...people, newPerson];\n\npeople.indexOf(newPerson); // 0\npeople.indexOf(newPerson, 1); // 3\npeople.indexOf(newPerson, -4); // 0\npeople.indexOf(newPerson, 10); // -1\n```",
11910 "itemtype": "method",
11911 "name": "indexOf",
11912 "params": [
11913 {
11914 "name": "object",
11915 "description": "the item to search for",
11916 "type": "Object"
11917 },
11918 {
11919 "name": "startAt",
11920 "description": "optional starting location to search, default 0",
11921 "type": "Number"
11922 }
11923 ],
11924 "return": {
11925 "description": "index or -1 if not found",
11926 "type": "Number"
11927 },
11928 "access": "public",
11929 "tagname": "",
11930 "class": "EmberArray",
11931 "module": "@ember/array"
11932 },
11933 {
11934 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11935 "line": 425,
11936 "description": "Returns the index of the given `object`'s last occurrence.\n\n- If no `startAt` argument is given, the search starts from\nthe last position.\n- If it's greater than or equal to the length of the array,\nthe search starts from the last position.\n- If it's negative, it is taken as the offset from the end\nof the array i.e. `startAt + array.length`.\n- If it's any other positive number, will search backwards\nfrom that index of the array.\n\nReturns -1 if no match is found.\n\n```javascript\nlet arr = ['a', 'b', 'c', 'd', 'a'];\n\narr.lastIndexOf('a'); // 4\narr.lastIndexOf('z'); // -1\narr.lastIndexOf('a', 2); // 0\narr.lastIndexOf('a', -1); // 4\narr.lastIndexOf('a', -3); // 0\narr.lastIndexOf('b', 3); // 1\narr.lastIndexOf('a', 100); // 4\n```",
11937 "itemtype": "method",
11938 "name": "lastIndexOf",
11939 "params": [
11940 {
11941 "name": "object",
11942 "description": "the item to search for",
11943 "type": "Object"
11944 },
11945 {
11946 "name": "startAt",
11947 "description": "optional starting location to search from\nbackwards, defaults to `(array.length - 1)`",
11948 "type": "Number"
11949 }
11950 ],
11951 "return": {
11952 "description": "The last index of the `object` in the array or -1\nif not found",
11953 "type": "Number"
11954 },
11955 "access": "public",
11956 "tagname": "",
11957 "class": "EmberArray",
11958 "module": "@ember/array"
11959 },
11960 {
11961 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11962 "line": 483,
11963 "description": "Adds an array observer to the receiving array. The array observer object\nnormally must implement two methods:\n\n* `willChange(observedObj, start, removeCount, addCount)` - This method will be\n called just before the array is modified.\n* `didChange(observedObj, start, removeCount, addCount)` - This method will be\n called just after the array is modified.\n\nBoth callbacks will be passed the observed object, starting index of the\nchange as well as a count of the items to be removed and added. You can use\nthese callbacks to optionally inspect the array during the change, clear\ncaches, or do any other bookkeeping necessary.\n\nIn addition to passing a target, you can also include an options hash\nwhich you can use to override the method names that will be invoked on the\ntarget.",
11964 "itemtype": "method",
11965 "name": "addArrayObserver",
11966 "params": [
11967 {
11968 "name": "target",
11969 "description": "The observer object.",
11970 "type": "Object"
11971 },
11972 {
11973 "name": "opts",
11974 "description": "Optional hash of configuration options including\n `willChange` and `didChange` option.",
11975 "type": "Object"
11976 }
11977 ],
11978 "return": {
11979 "description": "receiver",
11980 "type": "EmberArray"
11981 },
11982 "access": "public",
11983 "tagname": "",
11984 "example": [
11985 "\n import Service from '@ember/service';\n\n export default Service.extend({\n data: Ember.A(),\n\n init() {\n this._super(...arguments);\n\n this.data.addArrayObserver(this, {\n willChange: 'dataWillChange',\n didChange: 'dataDidChange'\n });\n },\n\n dataWillChange(array, start, removeCount, addCount) {\n console.log('array will change', array, start, removeCount, addCount);\n },\n\n dataDidChange(array, start, removeCount, addCount) {\n console.log('array did change', array, start, removeCount, addCount);\n }\n });"
11986 ],
11987 "class": "EmberArray",
11988 "module": "@ember/array"
11989 },
11990 {
11991 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
11992 "line": 536,
11993 "description": "Removes an array observer from the object if the observer is current\nregistered. Calling this method multiple times with the same object will\nhave no effect.",
11994 "itemtype": "method",
11995 "name": "removeArrayObserver",
11996 "params": [
11997 {
11998 "name": "target",
11999 "description": "The object observing the array.",
12000 "type": "Object"
12001 },
12002 {
12003 "name": "opts",
12004 "description": "Optional hash of configuration options including\n `willChange` and `didChange` option.",
12005 "type": "Object"
12006 }
12007 ],
12008 "return": {
12009 "description": "receiver",
12010 "type": "EmberArray"
12011 },
12012 "access": "public",
12013 "tagname": "",
12014 "class": "EmberArray",
12015 "module": "@ember/array"
12016 },
12017 {
12018 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12019 "line": 552,
12020 "description": "Becomes true whenever the array currently has observers watching changes\non the array.\n\n```javascript\nlet arr = [1, 2, 3, 4, 5];\narr.hasArrayObservers; // false\n\narr.addArrayObserver(this, {\n willChange() {\n console.log('willChange');\n }\n});\narr.hasArrayObservers; // true\n```",
12021 "itemtype": "property",
12022 "name": "hasArrayObservers",
12023 "type": "Boolean",
12024 "access": "public",
12025 "tagname": "",
12026 "class": "EmberArray",
12027 "module": "@ember/array"
12028 },
12029 {
12030 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12031 "line": 579,
12032 "description": "If you are implementing an object that supports `EmberArray`, call this\nmethod just before the array content changes to notify any observers and\ninvalidate any related properties. Pass the starting index of the change\nas well as a delta of the amounts to change.\n\n```app/components/show-post.js\nimport Component from '@ember/component';\nimport EmberObject from '@ember/object';\n\nconst Post = EmberObject.extend({\n body: '',\n save() {}\n})\n\nexport default Component.extend({\n attemptsToModify: 0,\n successfulModifications: 0,\n posts: null,\n\n init() {\n this._super(...arguments);\n\n this.posts = [1, 2, 3].map(i => Post.create({ body: i }));\n this.posts.addArrayObserver(this, {\n willChange() {\n this.incrementProperty('attemptsToModify');\n },\n didChange() {\n this.incrementProperty('successfulModifications');\n }\n });\n },\n\n actions: {\n editPost(post, newContent) {\n let oldContent = post.body,\n postIndex = this.posts.indexOf(post);\n\n this.posts.arrayContentWillChange(postIndex, 0, 0); // attemptsToModify = 1\n post.set('body', newContent);\n\n post.save()\n .then(response => {\n this.posts.arrayContentDidChange(postIndex, 0, 0); // successfulModifications = 1\n })\n .catch(error => {\n post.set('body', oldContent);\n })\n }\n }\n});\n```",
12033 "itemtype": "method",
12034 "name": "arrayContentWillChange",
12035 "params": [
12036 {
12037 "name": "startIdx",
12038 "description": "The starting index in the array that will change.",
12039 "type": "Number"
12040 },
12041 {
12042 "name": "removeAmt",
12043 "description": "The number of items that will be removed. If you\n pass `null` assumes 0",
12044 "type": "Number"
12045 },
12046 {
12047 "name": "addAmt",
12048 "description": "The number of items that will be added. If you\n pass `null` assumes 0.",
12049 "type": "Number"
12050 }
12051 ],
12052 "return": {
12053 "description": "receiver",
12054 "type": "EmberArray"
12055 },
12056 "access": "public",
12057 "tagname": "",
12058 "class": "EmberArray",
12059 "module": "@ember/array"
12060 },
12061 {
12062 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12063 "line": 646,
12064 "description": "If you are implementing an object that supports `EmberArray`, call this\nmethod just after the array content changes to notify any observers and\ninvalidate any related properties. Pass the starting index of the change\nas well as a delta of the amounts to change.\n\n```javascript\nlet arr = [1, 2, 3, 4, 5];\n\narr.copyWithin(-2); // [1, 2, 3, 1, 2]\n// arr.lastObject = 5\narr.arrayContentDidChange(3, 2, 2);\n// arr.lastObject = 2\n```",
12065 "itemtype": "method",
12066 "name": "arrayContentDidChange",
12067 "params": [
12068 {
12069 "name": "startIdx",
12070 "description": "The starting index in the array that did change.",
12071 "type": "Number"
12072 },
12073 {
12074 "name": "removeAmt",
12075 "description": "The number of items that were removed. If you\n pass `null` assumes 0",
12076 "type": "Number"
12077 },
12078 {
12079 "name": "addAmt",
12080 "description": "The number of items that were added. If you\n pass `null` assumes 0.",
12081 "type": "Number"
12082 }
12083 ],
12084 "return": {
12085 "description": "receiver",
12086 "type": "EmberArray"
12087 },
12088 "access": "public",
12089 "tagname": "",
12090 "class": "EmberArray",
12091 "module": "@ember/array"
12092 },
12093 {
12094 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12095 "line": 674,
12096 "description": "Iterates through the array, calling the passed function on each\nitem. This method corresponds to the `forEach()` method defined in\nJavaScript 1.6.\n\nThe callback method you provide should have the following signature (all\nparameters are optional):\n\n```javascript\nfunction(item, index, array);\n```\n\n- `item` is the current item in the iteration.\n- `index` is the current index in the iteration.\n- `array` is the array itself.\n\nNote that in addition to a callback, you can also pass an optional target\nobject that will be set as `this` on the context. This is a good way\nto give your iterator function access to the current object.\n\nExample Usage:\n\n```javascript\nlet foods = [\n { name: 'apple', eaten: false },\n { name: 'banana', eaten: false },\n { name: 'carrot', eaten: false }\n];\n\nfoods.forEach((food) => food.eaten = true);\n\nlet output = '';\nfoods.forEach((item, index, array) =>\n output += `${index + 1}/${array.length} ${item.name}\\n`;\n);\nconsole.log(output);\n// 1/3 apple\n// 2/3 banana\n// 3/3 carrot\n```",
12097 "itemtype": "method",
12098 "name": "forEach",
12099 "params": [
12100 {
12101 "name": "callback",
12102 "description": "The callback to execute",
12103 "type": "Function"
12104 },
12105 {
12106 "name": "target",
12107 "description": "The target object to use",
12108 "type": "Object",
12109 "optional": true
12110 }
12111 ],
12112 "return": {
12113 "description": "receiver",
12114 "type": "Object"
12115 },
12116 "access": "public",
12117 "tagname": "",
12118 "class": "EmberArray",
12119 "module": "@ember/array"
12120 },
12121 {
12122 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12123 "line": 734,
12124 "description": "Alias for `mapBy`.\n\nReturns the value of the named\nproperty on all items in the enumeration.\n\n```javascript\nlet people = [{name: 'Joe'}, {name: 'Matt'}];\n\npeople.getEach('name');\n// ['Joe', 'Matt'];\n\npeople.getEach('nonexistentProperty');\n// [undefined, undefined];\n```",
12125 "itemtype": "method",
12126 "name": "getEach",
12127 "params": [
12128 {
12129 "name": "key",
12130 "description": "name of the property",
12131 "type": "String"
12132 }
12133 ],
12134 "return": {
12135 "description": "The mapped array.",
12136 "type": "Array"
12137 },
12138 "access": "public",
12139 "tagname": "",
12140 "class": "EmberArray",
12141 "module": "@ember/array"
12142 },
12143 {
12144 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12145 "line": 757,
12146 "description": "Sets the value on the named property for each member. This is more\nergonomic than using other methods defined on this helper. If the object\nimplements Observable, the value will be changed to `set(),` otherwise\nit will be set directly. `null` objects are skipped.\n\n```javascript\nlet people = [{name: 'Joe'}, {name: 'Matt'}];\n\npeople.setEach('zipCode', '10011');\n// [{name: 'Joe', zipCode: '10011'}, {name: 'Matt', zipCode: '10011'}];\n```",
12147 "itemtype": "method",
12148 "name": "setEach",
12149 "params": [
12150 {
12151 "name": "key",
12152 "description": "The key to set",
12153 "type": "String"
12154 },
12155 {
12156 "name": "value",
12157 "description": "The object to set",
12158 "type": "Object"
12159 }
12160 ],
12161 "return": {
12162 "description": "receiver",
12163 "type": "Object"
12164 },
12165 "access": "public",
12166 "tagname": "",
12167 "class": "EmberArray",
12168 "module": "@ember/array"
12169 },
12170 {
12171 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12172 "line": 780,
12173 "description": "Maps all of the items in the enumeration to another value, returning\na new array. This method corresponds to `map()` defined in JavaScript 1.6.\n\nThe callback method you provide should have the following signature (all\nparameters are optional):\n\n```javascript\nfunction(item, index, array);\nlet arr = [1, 2, 3, 4, 5, 6];\n\narr.map(element => element * element);\n// [1, 4, 9, 16, 25, 36];\n\narr.map((element, index) => element + index);\n// [1, 3, 5, 7, 9, 11];\n```\n\n- `item` is the current item in the iteration.\n- `index` is the current index in the iteration.\n- `array` is the array itself.\n\nIt should return the mapped value.\n\nNote that in addition to a callback, you can also pass an optional target\nobject that will be set as `this` on the context. This is a good way\nto give your iterator function access to the current object.",
12174 "itemtype": "method",
12175 "name": "map",
12176 "params": [
12177 {
12178 "name": "callback",
12179 "description": "The callback to execute",
12180 "type": "Function"
12181 },
12182 {
12183 "name": "target",
12184 "description": "The target object to use",
12185 "type": "Object",
12186 "optional": true
12187 }
12188 ],
12189 "return": {
12190 "description": "The mapped array.",
12191 "type": "Array"
12192 },
12193 "access": "public",
12194 "tagname": "",
12195 "class": "EmberArray",
12196 "module": "@ember/array"
12197 },
12198 {
12199 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12200 "line": 824,
12201 "description": "Similar to map, this specialized function returns the value of the named\nproperty on all items in the enumeration.\n\n```javascript\nlet people = [{name: 'Joe'}, {name: 'Matt'}];\n\npeople.mapBy('name');\n// ['Joe', 'Matt'];\n\npeople.mapBy('unknownProperty');\n// [undefined, undefined];\n```",
12202 "itemtype": "method",
12203 "name": "mapBy",
12204 "params": [
12205 {
12206 "name": "key",
12207 "description": "name of the property",
12208 "type": "String"
12209 }
12210 ],
12211 "return": {
12212 "description": "The mapped array.",
12213 "type": "Array"
12214 },
12215 "access": "public",
12216 "tagname": "",
12217 "class": "EmberArray",
12218 "module": "@ember/array"
12219 },
12220 {
12221 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12222 "line": 845,
12223 "description": "Returns a new array with all of the items in the enumeration that the provided\ncallback function returns true for. This method corresponds to [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter).\n\nThe callback method should have the following signature:\n\n```javascript\nfunction(item, index, array);\n```\n\n- `item` is the current item in the iteration.\n- `index` is the current index in the iteration.\n- `array` is the array itself.\n\nAll parameters are optional. The function should return `true` to include the item\nin the results, and `false` otherwise.\n\nExample:\n\n```javascript\nfunction isAdult(person) {\n return person.age > 18;\n};\n\nlet people = Ember.A([{ name: 'John', age: 14 }, { name: 'Joan', age: 45 }]);\n\npeople.filter(isAdult); // returns [{ name: 'Joan', age: 45 }];\n```\n\nNote that in addition to a callback, you can pass an optional target object\nthat will be set as `this` on the context. This is a good way to give your\niterator function access to the current object. For example:\n\n```javascript\nfunction isAdultAndEngineer(person) {\n return person.age > 18 && this.engineering;\n}\n\nclass AdultsCollection {\n engineering = false;\n\n constructor(opts = {}) {\n super(...arguments);\n\n this.engineering = opts.engineering;\n this.people = Ember.A([{ name: 'John', age: 14 }, { name: 'Joan', age: 45 }]);\n }\n}\n\nlet collection = new AdultsCollection({ engineering: true });\ncollection.people.filter(isAdultAndEngineer, { target: collection });\n```",
12224 "itemtype": "method",
12225 "name": "filter",
12226 "params": [
12227 {
12228 "name": "callback",
12229 "description": "The callback to execute",
12230 "type": "Function"
12231 },
12232 {
12233 "name": "target",
12234 "description": "The target object to use",
12235 "type": "Object",
12236 "optional": true
12237 }
12238 ],
12239 "return": {
12240 "description": "A filtered array.",
12241 "type": "Array"
12242 },
12243 "access": "public",
12244 "tagname": "",
12245 "class": "EmberArray",
12246 "module": "@ember/array"
12247 },
12248 {
12249 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12250 "line": 918,
12251 "description": "Returns an array with all of the items in the enumeration where the passed\nfunction returns false. This method is the inverse of filter().\n\nThe callback method you provide should have the following signature (all\nparameters are optional):\n\n```javascript\nfunction(item, index, array);\n```\n\n- *item* is the current item in the iteration.\n- *index* is the current index in the iteration\n- *array* is the array itself.\n\nIt should return a falsey value to include the item in the results.\n\nNote that in addition to a callback, you can also pass an optional target\nobject that will be set as \"this\" on the context. This is a good way\nto give your iterator function access to the current object.\n\nExample Usage:\n\n```javascript\nconst food = [\n { food: 'apple', isFruit: true },\n { food: 'bread', isFruit: false },\n { food: 'banana', isFruit: true }\n];\nconst nonFruits = food.reject(function(thing) {\n return thing.isFruit;\n}); // [{food: 'bread', isFruit: false}]\n```",
12252 "itemtype": "method",
12253 "name": "reject",
12254 "params": [
12255 {
12256 "name": "callback",
12257 "description": "The callback to execute",
12258 "type": "Function"
12259 },
12260 {
12261 "name": "target",
12262 "description": "The target object to use",
12263 "type": "Object",
12264 "optional": true
12265 }
12266 ],
12267 "return": {
12268 "description": "A rejected array.",
12269 "type": "Array"
12270 },
12271 "access": "public",
12272 "tagname": "",
12273 "class": "EmberArray",
12274 "module": "@ember/array"
12275 },
12276 {
12277 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12278 "line": 965,
12279 "description": "Filters the array by the property and an optional value. If a value is given, it returns\nthe items that have said value for the property. If not, it returns all the items that\nhave a truthy value for the property.\n\nExample Usage:\n\n```javascript\nlet things = Ember.A([{ food: 'apple', isFruit: true }, { food: 'beans', isFruit: false }]);\n\nthings.filterBy('food', 'beans'); // [{ food: 'beans' }]\nthings.filterBy('isFruit'); // [{ food: 'apple' }]\n```",
12280 "itemtype": "method",
12281 "name": "filterBy",
12282 "params": [
12283 {
12284 "name": "key",
12285 "description": "the property to test",
12286 "type": "String"
12287 },
12288 {
12289 "name": "value",
12290 "description": "optional value to test against.",
12291 "type": "*",
12292 "optional": true
12293 }
12294 ],
12295 "return": {
12296 "description": "filtered array",
12297 "type": "Array"
12298 },
12299 "access": "public",
12300 "tagname": "",
12301 "class": "EmberArray",
12302 "module": "@ember/array"
12303 },
12304 {
12305 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12306 "line": 989,
12307 "description": "Returns an array with the items that do not have truthy values for the provided key.\nYou can pass an optional second argument with a target value to reject for the key.\nOtherwise this will reject objects where the provided property evaluates to false.\n\nExample Usage:\n\n```javascript\n let food = [\n { name: \"apple\", isFruit: true },\n { name: \"carrot\", isFruit: false },\n { name: \"bread\", isFruit: false },\n ];\n food.rejectBy('isFruit'); // [{ name: \"carrot\", isFruit: false }, { name: \"bread\", isFruit: false }]\n food.rejectBy('name', 'carrot'); // [{ name: \"apple\", isFruit: true }}, { name: \"bread\", isFruit: false }]\n```",
12308 "itemtype": "method",
12309 "name": "rejectBy",
12310 "params": [
12311 {
12312 "name": "key",
12313 "description": "the property to test",
12314 "type": "String"
12315 },
12316 {
12317 "name": "value",
12318 "description": "optional value to test against.",
12319 "type": "*",
12320 "optional": true
12321 }
12322 ],
12323 "return": {
12324 "description": "rejected array",
12325 "type": "Array"
12326 },
12327 "access": "public",
12328 "tagname": "",
12329 "class": "EmberArray",
12330 "module": "@ember/array"
12331 },
12332 {
12333 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12334 "line": 1016,
12335 "description": "Returns the first item in the array for which the callback returns true.\nThis method is similar to the `find()` method defined in ECMAScript 2015.\n\nThe callback method you provide should have the following signature (all\nparameters are optional):\n\n```javascript\nfunction(item, index, array);\n```\n\n- `item` is the current item in the iteration.\n- `index` is the current index in the iteration.\n- `array` is the array itself.\n\nIt should return the `true` to include the item in the results, `false`\notherwise.\n\nNote that in addition to a callback, you can also pass an optional target\nobject that will be set as `this` on the context. This is a good way\nto give your iterator function access to the current object.\n\nExample Usage:\n\n```javascript\nlet users = [\n { id: 1, name: 'Yehuda' },\n { id: 2, name: 'Tom' },\n { id: 3, name: 'Melanie' },\n { id: 4, name: 'Leah' }\n];\n\nusers.find((user) => user.name == 'Tom'); // [{ id: 2, name: 'Tom' }]\nusers.find(({ id }) => id == 3); // [{ id: 3, name: 'Melanie' }]\n```",
12336 "itemtype": "method",
12337 "name": "find",
12338 "params": [
12339 {
12340 "name": "callback",
12341 "description": "The callback to execute",
12342 "type": "Function"
12343 },
12344 {
12345 "name": "target",
12346 "description": "The target object to use",
12347 "type": "Object",
12348 "optional": true
12349 }
12350 ],
12351 "return": {
12352 "description": "Found item or `undefined`.",
12353 "type": "Object"
12354 },
12355 "access": "public",
12356 "tagname": "",
12357 "class": "EmberArray",
12358 "module": "@ember/array"
12359 },
12360 {
12361 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12362 "line": 1063,
12363 "description": "Returns the first item with a property matching the passed value. You\ncan pass an optional second argument with the target value. Otherwise\nthis will match any property that evaluates to `true`.\n\nThis method works much like the more generic `find()` method.\n\nUsage Example:\n\n```javascript\nlet users = [\n { id: 1, name: 'Yehuda', isTom: false },\n { id: 2, name: 'Tom', isTom: true },\n { id: 3, name: 'Melanie', isTom: false },\n { id: 4, name: 'Leah', isTom: false }\n];\n\nusers.findBy('id', 4); // { id: 4, name: 'Leah', isTom: false }\nusers.findBy('name', 'Melanie'); // { id: 3, name: 'Melanie', isTom: false }\nusers.findBy('isTom'); // { id: 2, name: 'Tom', isTom: true }\n```",
12364 "itemtype": "method",
12365 "name": "findBy",
12366 "params": [
12367 {
12368 "name": "key",
12369 "description": "the property to test",
12370 "type": "String"
12371 },
12372 {
12373 "name": "value",
12374 "description": "optional value to test against.",
12375 "type": "String",
12376 "optional": true
12377 }
12378 ],
12379 "return": {
12380 "description": "found item or `undefined`",
12381 "type": "Object"
12382 },
12383 "access": "public",
12384 "tagname": "",
12385 "class": "EmberArray",
12386 "module": "@ember/array"
12387 },
12388 {
12389 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12390 "line": 1095,
12391 "description": "Returns `true` if the passed function returns true for every item in the\nenumeration. This corresponds with the `Array.prototype.every()` method defined in ES5.\n\nThe callback method should have the following signature:\n\n```javascript\nfunction(item, index, array);\n```\n\n- `item` is the current item in the iteration.\n- `index` is the current index in the iteration.\n- `array` is the array itself.\n\nAll params are optional. The method should return `true` or `false`.\n\nNote that in addition to a callback, you can also pass an optional target\nobject that will be set as `this` on the context. This is a good way\nto give your iterator function access to the current object.\n\nUsage example:\n\n```javascript\nfunction isAdult(person) {\n return person.age > 18;\n};\n\nconst people = Ember.A([{ name: 'John', age: 24 }, { name: 'Joan', age: 45 }]);\nconst areAllAdults = people.every(isAdult);\n```",
12392 "itemtype": "method",
12393 "name": "every",
12394 "params": [
12395 {
12396 "name": "callback",
12397 "description": "The callback to execute",
12398 "type": "Function"
12399 },
12400 {
12401 "name": "target",
12402 "description": "The target object to use",
12403 "type": "Object",
12404 "optional": true
12405 }
12406 ],
12407 "return": {
12408 "description": "",
12409 "type": "Boolean"
12410 },
12411 "access": "public",
12412 "tagname": "",
12413 "class": "EmberArray",
12414 "module": "@ember/array"
12415 },
12416 {
12417 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12418 "line": 1137,
12419 "description": "Returns `true` if the passed property resolves to the value of the second\nargument for all items in the array. This method is often simpler/faster\nthan using a callback.\n\nNote that like the native `Array.every`, `isEvery` will return true when called\non any empty array.\n```javascript\nclass Language {\n constructor(name, isProgrammingLanguage) {\n this.name = name;\n this.programmingLanguage = isProgrammingLanguage;\n }\n}\n\nconst compiledLanguages = [\n new Language('Java', true),\n new Language('Go', true),\n new Language('Rust', true)\n]\n\nconst languagesKnownByMe = [\n new Language('Javascript', true),\n new Language('English', false),\n new Language('Ruby', true)\n]\n\ncompiledLanguages.isEvery('programmingLanguage'); // true\nlanguagesKnownByMe.isEvery('programmingLanguage'); // false\n```",
12420 "itemtype": "method",
12421 "name": "isEvery",
12422 "params": [
12423 {
12424 "name": "key",
12425 "description": "the property to test",
12426 "type": "String"
12427 },
12428 {
12429 "name": "value",
12430 "description": "optional value to test against. Defaults to `true`",
12431 "type": "String",
12432 "optional": true
12433 }
12434 ],
12435 "return": {
12436 "description": "",
12437 "type": "Boolean"
12438 },
12439 "since": "1.3.0",
12440 "access": "public",
12441 "tagname": "",
12442 "class": "EmberArray",
12443 "module": "@ember/array"
12444 },
12445 {
12446 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12447 "line": 1179,
12448 "description": "The any() method executes the callback function once for each element\npresent in the array until it finds the one where callback returns a truthy\nvalue (i.e. `true`). If such an element is found, any() immediately returns\ntrue. Otherwise, any() returns false.\n\n```javascript\nfunction(item, index, array);\n```\n\n- `item` is the current item in the iteration.\n- `index` is the current index in the iteration.\n- `array` is the array object itself.\n\nNote that in addition to a callback, you can also pass an optional target\nobject that will be set as `this` on the context. It can be a good way\nto give your iterator function access to an object in cases where an ES6\narrow function would not be appropriate.\n\nUsage Example:\n\n```javascript\nlet includesManager = people.any(this.findPersonInManagersList, this);\n\nlet includesStockHolder = people.any(person => {\n return this.findPersonInStockHoldersList(person)\n});\n\nif (includesManager || includesStockHolder) {\n Paychecks.addBiggerBonus();\n}\n```",
12449 "itemtype": "method",
12450 "name": "any",
12451 "params": [
12452 {
12453 "name": "callback",
12454 "description": "The callback to execute",
12455 "type": "Function"
12456 },
12457 {
12458 "name": "target",
12459 "description": "The target object to use",
12460 "type": "Object",
12461 "optional": true
12462 }
12463 ],
12464 "return": {
12465 "description": "`true` if the passed function returns `true` for any item",
12466 "type": "Boolean"
12467 },
12468 "access": "public",
12469 "tagname": "",
12470 "class": "EmberArray",
12471 "module": "@ember/array"
12472 },
12473 {
12474 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12475 "line": 1223,
12476 "description": "Returns `true` if the passed property resolves to the value of the second\nargument for any item in the array. This method is often simpler/faster\nthan using a callback.\n\nExample usage:\n\n```javascript\nconst food = [\n { food: 'apple', isFruit: true },\n { food: 'bread', isFruit: false },\n { food: 'banana', isFruit: true }\n];\n\nfood.isAny('isFruit'); // true\n```",
12477 "itemtype": "method",
12478 "name": "isAny",
12479 "params": [
12480 {
12481 "name": "key",
12482 "description": "the property to test",
12483 "type": "String"
12484 },
12485 {
12486 "name": "value",
12487 "description": "optional value to test against. Defaults to `true`",
12488 "type": "String",
12489 "optional": true
12490 }
12491 ],
12492 "return": {
12493 "description": "",
12494 "type": "Boolean"
12495 },
12496 "since": "1.3.0",
12497 "access": "public",
12498 "tagname": "",
12499 "class": "EmberArray",
12500 "module": "@ember/array"
12501 },
12502 {
12503 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12504 "line": 1251,
12505 "description": "This will combine the values of the array into a single value. It\nis a useful way to collect a summary value from an array. This\ncorresponds to the `reduce()` method defined in JavaScript 1.8.\n\nThe callback method you provide should have the following signature (all\nparameters are optional):\n\n```javascript\nfunction(previousValue, item, index, array);\n```\n\n- `previousValue` is the value returned by the last call to the iterator.\n- `item` is the current item in the iteration.\n- `index` is the current index in the iteration.\n- `array` is the array itself.\n\nReturn the new cumulative value.\n\nIn addition to the callback you can also pass an `initialValue`. An error\nwill be raised if you do not pass an initial value and the enumerator is\nempty.\n\nNote that unlike the other methods, this method does not allow you to\npass a target object to set as this for the callback. It's part of the\nspec. Sorry.\n\nExample Usage:\n\n```javascript\n let numbers = [1, 2, 3, 4, 5];\n\n numbers.reduce(function(summation, current) {\n return summation + current;\n }); // 15 (1 + 2 + 3 + 4 + 5)\n\n numbers.reduce(function(summation, current) {\n return summation + current;\n }, -15); // 0 (-15 + 1 + 2 + 3 + 4 + 5)\n\n\n let binaryValues = [true, false, false];\n\n binaryValues.reduce(function(truthValue, current) {\n return truthValue && current;\n }); // false (true && false && false)\n```",
12506 "itemtype": "method",
12507 "name": "reduce",
12508 "params": [
12509 {
12510 "name": "callback",
12511 "description": "The callback to execute",
12512 "type": "Function"
12513 },
12514 {
12515 "name": "initialValue",
12516 "description": "Initial value for the reduce",
12517 "type": "Object"
12518 }
12519 ],
12520 "return": {
12521 "description": "The reduced value.",
12522 "type": "Object"
12523 },
12524 "access": "public",
12525 "tagname": "",
12526 "class": "EmberArray",
12527 "module": "@ember/array"
12528 },
12529 {
12530 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12531 "line": 1317,
12532 "description": "Invokes the named method on every object in the receiver that\nimplements it. This method corresponds to the implementation in\nPrototype 1.6.\n\n```javascript\nclass Person {\n name = null;\n\n constructor(name) {\n this.name = name;\n }\n\n greet(prefix='Hello') {\n return `${prefix} ${this.name}`;\n }\n}\n\nlet people = [new Person('Joe'), new Person('Matt')];\n\npeople.invoke('greet'); // ['Hello Joe', 'Hello Matt']\npeople.invoke('greet', 'Bonjour'); // ['Bonjour Joe', 'Bonjour Matt']\n```",
12533 "itemtype": "method",
12534 "name": "invoke",
12535 "params": [
12536 {
12537 "name": "methodName",
12538 "description": "the name of the method",
12539 "type": "String"
12540 },
12541 {
12542 "name": "args",
12543 "description": "optional arguments to pass as well.",
12544 "type": "Object..."
12545 }
12546 ],
12547 "return": {
12548 "description": "return values from calling invoke.",
12549 "type": "Array"
12550 },
12551 "access": "public",
12552 "tagname": "",
12553 "class": "EmberArray",
12554 "module": "@ember/array"
12555 },
12556 {
12557 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12558 "line": 1355,
12559 "description": "Simply converts the object into a genuine array. The order is not\nguaranteed. Corresponds to the method implemented by Prototype.",
12560 "itemtype": "method",
12561 "name": "toArray",
12562 "return": {
12563 "description": "the object as an array.",
12564 "type": "Array"
12565 },
12566 "access": "public",
12567 "tagname": "",
12568 "class": "EmberArray",
12569 "module": "@ember/array"
12570 },
12571 {
12572 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12573 "line": 1367,
12574 "description": "Returns a copy of the array with all `null` and `undefined` elements removed.\n\n```javascript\nlet arr = ['a', null, 'c', undefined];\narr.compact(); // ['a', 'c']\n```",
12575 "itemtype": "method",
12576 "name": "compact",
12577 "return": {
12578 "description": "the array without null and undefined elements.",
12579 "type": "Array"
12580 },
12581 "access": "public",
12582 "tagname": "",
12583 "class": "EmberArray",
12584 "module": "@ember/array"
12585 },
12586 {
12587 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12588 "line": 1383,
12589 "description": "Used to determine if the array contains the passed object.\nReturns `true` if found, `false` otherwise.\n\nThe optional `startAt` argument can be used to pass a starting\nindex to search from, effectively slicing the searchable portion\nof the array. If it's negative it will add the array length to\nthe startAt value passed in as the index to search from. If less\nthan or equal to `-1 * array.length` the entire array is searched.\n\nThis method has the same behavior of JavaScript's [Array.includes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes).\n\n```javascript\n[1, 2, 3].includes(2); // true\n[1, 2, 3].includes(4); // false\n[1, 2, 3].includes(3, 2); // true\n[1, 2, 3].includes(3, 3); // false\n[1, 2, 3].includes(3, -1); // true\n[1, 2, 3].includes(1, -1); // false\n[1, 2, 3].includes(1, -4); // true\n[1, 2, NaN].includes(NaN); // true\n```",
12590 "itemtype": "method",
12591 "name": "includes",
12592 "params": [
12593 {
12594 "name": "object",
12595 "description": "The object to search for.",
12596 "type": "Object"
12597 },
12598 {
12599 "name": "startAt",
12600 "description": "optional starting location to search, default 0",
12601 "type": "Number"
12602 }
12603 ],
12604 "return": {
12605 "description": "`true` if object is found in the array.",
12606 "type": "Boolean"
12607 },
12608 "access": "public",
12609 "tagname": "",
12610 "class": "EmberArray",
12611 "module": "@ember/array"
12612 },
12613 {
12614 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12615 "line": 1416,
12616 "description": "Sorts the array by the keys specified in the argument.\n\nYou may provide multiple arguments to sort by multiple properties.\n\n```javascript\n let colors = [\n { name: 'red', weight: 500 },\n { name: 'green', weight: 600 },\n { name: 'blue', weight: 500 }\n];\n\n colors.sortBy('name');\n // [{name: 'blue', weight: 500}, {name: 'green', weight: 600}, {name: 'red', weight: 500}]\n\n colors.sortBy('weight', 'name');\n // [{name: 'blue', weight: 500}, {name: 'red', weight: 500}, {name: 'green', weight: 600}]\n ```",
12617 "itemtype": "method",
12618 "name": "sortBy",
12619 "params": [
12620 {
12621 "name": "property",
12622 "description": "name(s) to sort on",
12623 "type": "String"
12624 }
12625 ],
12626 "return": {
12627 "description": "The sorted array.",
12628 "type": "Array"
12629 },
12630 "since": "1.2.0",
12631 "access": "public",
12632 "tagname": "",
12633 "class": "EmberArray",
12634 "module": "@ember/array"
12635 },
12636 {
12637 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12638 "line": 1460,
12639 "description": "Returns a new array that contains only unique values. The default\nimplementation returns an array regardless of the receiver type.\n\n```javascript\nlet arr = ['a', 'a', 'b', 'b'];\narr.uniq(); // ['a', 'b']\n```\n\nThis only works on primitive data types, e.g. Strings, Numbers, etc.",
12640 "itemtype": "method",
12641 "name": "uniq",
12642 "return": {
12643 "description": "",
12644 "type": "EmberArray"
12645 },
12646 "access": "public",
12647 "tagname": "",
12648 "class": "EmberArray",
12649 "module": "@ember/array"
12650 },
12651 {
12652 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12653 "line": 1479,
12654 "description": "Returns a new array that contains only items containing a unique property value.\nThe default implementation returns an array regardless of the receiver type.\n\n```javascript\nlet arr = [{ value: 'a' }, { value: 'a' }, { value: 'b' }, { value: 'b' }];\narr.uniqBy('value'); // [{ value: 'a' }, { value: 'b' }]\n\nlet arr = [2.2, 2.1, 3.2, 3.3];\narr.uniqBy(Math.floor); // [2.2, 3.2];\n```",
12655 "itemtype": "method",
12656 "name": "uniqBy",
12657 "params": [
12658 {
12659 "name": "key",
12660 "description": "",
12661 "type": "String,Function"
12662 }
12663 ],
12664 "return": {
12665 "description": "",
12666 "type": "EmberArray"
12667 },
12668 "access": "public",
12669 "tagname": "",
12670 "class": "EmberArray",
12671 "module": "@ember/array"
12672 },
12673 {
12674 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12675 "line": 1501,
12676 "description": "Returns a new array that excludes the passed value. The default\nimplementation returns an array regardless of the receiver type.\nIf the receiver does not contain the value it returns the original array.\n\n```javascript\nlet arr = ['a', 'b', 'a', 'c'];\narr.without('a'); // ['b', 'c']\n```",
12677 "itemtype": "method",
12678 "name": "without",
12679 "params": [
12680 {
12681 "name": "value",
12682 "description": "",
12683 "type": "Object"
12684 }
12685 ],
12686 "return": {
12687 "description": "",
12688 "type": "EmberArray"
12689 },
12690 "access": "public",
12691 "tagname": "",
12692 "class": "EmberArray",
12693 "module": "@ember/array"
12694 },
12695 {
12696 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12697 "line": 1549,
12698 "description": "__Required.__ You must implement this method to apply this mixin.\n\nThis is one of the primitives you must implement to support `Array`.\nYou should replace amt objects started at idx with the objects in the\npassed array. You should also call `this.arrayContentDidChange()`\n\nNote that this method is expected to validate the type(s) of objects that it expects.",
12699 "itemtype": "method",
12700 "name": "replace",
12701 "params": [
12702 {
12703 "name": "idx",
12704 "description": "Starting index in the array to replace. If\n idx >= length, then append to the end of the array.",
12705 "type": "Number"
12706 },
12707 {
12708 "name": "amt",
12709 "description": "Number of elements that should be removed from\n the array, starting at *idx*.",
12710 "type": "Number"
12711 },
12712 {
12713 "name": "objects",
12714 "description": "An array of zero or more objects that should be\n inserted into the array at *idx*",
12715 "type": "EmberArray"
12716 }
12717 ],
12718 "access": "public",
12719 "tagname": "",
12720 "class": "MutableArray",
12721 "module": "@ember/array"
12722 },
12723 {
12724 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12725 "line": 1568,
12726 "description": "Remove all elements from the array. This is useful if you\nwant to reuse an existing array without having to recreate it.\n\n```javascript\nlet colors = ['red', 'green', 'blue'];\n\ncolors.length; // 3\ncolors.clear(); // []\ncolors.length; // 0\n```",
12727 "itemtype": "method",
12728 "name": "clear",
12729 "return": {
12730 "description": "An empty Array.",
12731 "type": "Array"
12732 },
12733 "access": "public",
12734 "tagname": "",
12735 "class": "MutableArray",
12736 "module": "@ember/array"
12737 },
12738 {
12739 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12740 "line": 1594,
12741 "description": "This will use the primitive `replace()` method to insert an object at the\nspecified index.\n\n```javascript\nlet colors = ['red', 'green', 'blue'];\n\ncolors.insertAt(2, 'yellow'); // ['red', 'green', 'yellow', 'blue']\ncolors.insertAt(5, 'orange'); // Error: Index out of range\n```",
12742 "itemtype": "method",
12743 "name": "insertAt",
12744 "params": [
12745 {
12746 "name": "idx",
12747 "description": "index of insert the object at.",
12748 "type": "Number"
12749 },
12750 {
12751 "name": "object",
12752 "description": "object to insert",
12753 "type": "Object"
12754 }
12755 ],
12756 "return": {
12757 "description": "receiver",
12758 "type": "EmberArray"
12759 },
12760 "access": "public",
12761 "tagname": "",
12762 "class": "MutableArray",
12763 "module": "@ember/array"
12764 },
12765 {
12766 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12767 "line": 1616,
12768 "description": "Remove an object at the specified index using the `replace()` primitive\nmethod. You can pass either a single index, or a start and a length.\n\nIf you pass a start and length that is beyond the\nlength this method will throw an assertion.\n\n```javascript\nlet colors = ['red', 'green', 'blue', 'yellow', 'orange'];\n\ncolors.removeAt(0); // ['green', 'blue', 'yellow', 'orange']\ncolors.removeAt(2, 2); // ['green', 'blue']\ncolors.removeAt(4, 2); // Error: Index out of range\n```",
12769 "itemtype": "method",
12770 "name": "removeAt",
12771 "params": [
12772 {
12773 "name": "start",
12774 "description": "index, start of range",
12775 "type": "Number"
12776 },
12777 {
12778 "name": "len",
12779 "description": "length of passing range",
12780 "type": "Number"
12781 }
12782 ],
12783 "return": {
12784 "description": "receiver",
12785 "type": "EmberArray"
12786 },
12787 "access": "public",
12788 "tagname": "",
12789 "class": "MutableArray",
12790 "module": "@ember/array"
12791 },
12792 {
12793 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12794 "line": 1641,
12795 "description": "Push the object onto the end of the array. Works just like `push()` but it\nis KVO-compliant.\n\n```javascript\nlet colors = ['red', 'green'];\n\ncolors.pushObject('black'); // ['red', 'green', 'black']\ncolors.pushObject(['yellow']); // ['red', 'green', ['yellow']]\n```",
12796 "itemtype": "method",
12797 "name": "pushObject",
12798 "params": [
12799 {
12800 "name": "obj",
12801 "description": "object to push",
12802 "type": "*"
12803 }
12804 ],
12805 "return": {
12806 "description": "object same object passed as a param"
12807 },
12808 "access": "public",
12809 "tagname": "",
12810 "class": "MutableArray",
12811 "module": "@ember/array"
12812 },
12813 {
12814 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12815 "line": 1661,
12816 "description": "Add the objects in the passed array to the end of the array. Defers\nnotifying observers of the change until all objects are added.\n\n```javascript\nlet colors = ['red'];\n\ncolors.pushObjects(['yellow', 'orange']); // ['red', 'yellow', 'orange']\n```",
12817 "itemtype": "method",
12818 "name": "pushObjects",
12819 "params": [
12820 {
12821 "name": "objects",
12822 "description": "the objects to add",
12823 "type": "EmberArray"
12824 }
12825 ],
12826 "return": {
12827 "description": "receiver",
12828 "type": "EmberArray"
12829 },
12830 "access": "public",
12831 "tagname": "",
12832 "class": "MutableArray",
12833 "module": "@ember/array"
12834 },
12835 {
12836 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12837 "line": 1681,
12838 "description": "Pop object from array or nil if none are left. Works just like `pop()` but\nit is KVO-compliant.\n\n```javascript\nlet colors = ['red', 'green', 'blue'];\n\ncolors.popObject(); // 'blue'\nconsole.log(colors); // ['red', 'green']\n```",
12839 "itemtype": "method",
12840 "name": "popObject",
12841 "return": {
12842 "description": "object"
12843 },
12844 "access": "public",
12845 "tagname": "",
12846 "class": "MutableArray",
12847 "module": "@ember/array"
12848 },
12849 {
12850 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12851 "line": 1707,
12852 "description": "Shift an object from start of array or nil if none are left. Works just\nlike `shift()` but it is KVO-compliant.\n\n```javascript\nlet colors = ['red', 'green', 'blue'];\n\ncolors.shiftObject(); // 'red'\nconsole.log(colors); // ['green', 'blue']\n```",
12853 "itemtype": "method",
12854 "name": "shiftObject",
12855 "return": {
12856 "description": "object"
12857 },
12858 "access": "public",
12859 "tagname": "",
12860 "class": "MutableArray",
12861 "module": "@ember/array"
12862 },
12863 {
12864 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12865 "line": 1732,
12866 "description": "Unshift an object to start of array. Works just like `unshift()` but it is\nKVO-compliant.\n\n```javascript\nlet colors = ['red'];\n\ncolors.unshiftObject('yellow'); // ['yellow', 'red']\ncolors.unshiftObject(['black']); // [['black'], 'yellow', 'red']\n```",
12867 "itemtype": "method",
12868 "name": "unshiftObject",
12869 "params": [
12870 {
12871 "name": "obj",
12872 "description": "object to unshift",
12873 "type": "*"
12874 }
12875 ],
12876 "return": {
12877 "description": "object same object passed as a param"
12878 },
12879 "access": "public",
12880 "tagname": "",
12881 "class": "MutableArray",
12882 "module": "@ember/array"
12883 },
12884 {
12885 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12886 "line": 1752,
12887 "description": "Adds the named objects to the beginning of the array. Defers notifying\nobservers until all objects have been added.\n\n```javascript\nlet colors = ['red'];\n\ncolors.unshiftObjects(['black', 'white']); // ['black', 'white', 'red']\ncolors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function\n```",
12888 "itemtype": "method",
12889 "name": "unshiftObjects",
12890 "params": [
12891 {
12892 "name": "objects",
12893 "description": "the objects to add",
12894 "type": "Enumberable"
12895 }
12896 ],
12897 "return": {
12898 "description": "receiver",
12899 "type": "EmberArray"
12900 },
12901 "access": "public",
12902 "tagname": "",
12903 "class": "MutableArray",
12904 "module": "@ember/array"
12905 },
12906 {
12907 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12908 "line": 1773,
12909 "description": "Reverse objects in the array. Works just like `reverse()` but it is\nKVO-compliant.",
12910 "itemtype": "method",
12911 "name": "reverseObjects",
12912 "return": {
12913 "description": "receiver",
12914 "type": "EmberArray"
12915 },
12916 "access": "public",
12917 "tagname": "",
12918 "class": "MutableArray",
12919 "module": "@ember/array"
12920 },
12921 {
12922 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12923 "line": 1792,
12924 "description": "Replace all the receiver's content with content of the argument.\nIf argument is an empty array receiver will be cleared.\n\n```javascript\nlet colors = ['red', 'green', 'blue'];\n\ncolors.setObjects(['black', 'white']); // ['black', 'white']\ncolors.setObjects([]); // []\n```",
12925 "itemtype": "method",
12926 "name": "setObjects",
12927 "params": [
12928 {
12929 "name": "objects",
12930 "description": "array whose content will be used for replacing\n the content of the receiver",
12931 "type": "EmberArray"
12932 }
12933 ],
12934 "return": {
12935 "description": "receiver with the new content",
12936 "type": "EmberArray"
12937 },
12938 "access": "public",
12939 "tagname": "",
12940 "class": "MutableArray",
12941 "module": "@ember/array"
12942 },
12943 {
12944 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12945 "line": 1819,
12946 "description": "Remove all occurrences of an object in the array.\n\n```javascript\nlet cities = ['Chicago', 'Berlin', 'Lima', 'Chicago'];\n\ncities.removeObject('Chicago'); // ['Berlin', 'Lima']\ncities.removeObject('Lima'); // ['Berlin']\ncities.removeObject('Tokyo') // ['Berlin']\n```",
12947 "itemtype": "method",
12948 "name": "removeObject",
12949 "params": [
12950 {
12951 "name": "obj",
12952 "description": "object to remove",
12953 "type": "*"
12954 }
12955 ],
12956 "return": {
12957 "description": "receiver",
12958 "type": "EmberArray"
12959 },
12960 "access": "public",
12961 "tagname": "",
12962 "class": "MutableArray",
12963 "module": "@ember/array"
12964 },
12965 {
12966 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12967 "line": 1847,
12968 "description": "Removes each object in the passed array from the receiver.",
12969 "itemtype": "method",
12970 "name": "removeObjects",
12971 "params": [
12972 {
12973 "name": "objects",
12974 "description": "the objects to remove",
12975 "type": "EmberArray"
12976 }
12977 ],
12978 "return": {
12979 "description": "receiver",
12980 "type": "EmberArray"
12981 },
12982 "access": "public",
12983 "tagname": "",
12984 "class": "MutableArray",
12985 "module": "@ember/array"
12986 },
12987 {
12988 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
12989 "line": 1864,
12990 "description": "Push the object onto the end of the array if it is not already\npresent in the array.\n\n```javascript\nlet cities = ['Chicago', 'Berlin'];\n\ncities.addObject('Lima'); // ['Chicago', 'Berlin', 'Lima']\ncities.addObject('Berlin'); // ['Chicago', 'Berlin', 'Lima']\n```",
12991 "itemtype": "method",
12992 "name": "addObject",
12993 "params": [
12994 {
12995 "name": "obj",
12996 "description": "object to add, if not already present",
12997 "type": "*"
12998 }
12999 ],
13000 "return": {
13001 "description": "receiver",
13002 "type": "EmberArray"
13003 },
13004 "access": "public",
13005 "tagname": "",
13006 "class": "MutableArray",
13007 "module": "@ember/array"
13008 },
13009 {
13010 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
13011 "line": 1890,
13012 "description": "Adds each object in the passed array to the receiver.",
13013 "itemtype": "method",
13014 "name": "addObjects",
13015 "params": [
13016 {
13017 "name": "objects",
13018 "description": "the objects to add.",
13019 "type": "EmberArray"
13020 }
13021 ],
13022 "return": {
13023 "description": "receiver",
13024 "type": "EmberArray"
13025 },
13026 "access": "public",
13027 "tagname": "",
13028 "class": "MutableArray",
13029 "module": "@ember/array"
13030 },
13031 {
13032 "file": "packages/@ember/-internals/runtime/lib/mixins/array.js",
13033 "line": 1906,
13034 "description": "Creates an `Ember.NativeArray` from an Array-like object.\nDoes not modify the original object's contents. `A()` is not needed if\n`EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,\nit is recommended that you use `A()` when creating addons for\nember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`\nwill be `true`.\n\nExample\n\n```app/components/my-component.js\nimport Component from '@ember/component';\nimport { A } from '@ember/array';\n\nexport default Component.extend({\n tagName: 'ul',\n classNames: ['pagination'],\n\n init() {\n this._super(...arguments);\n\n if (!this.get('content')) {\n this.set('content', A());\n this.set('otherContent', A([1,2,3]));\n }\n }\n});\n```",
13035 "itemtype": "method",
13036 "name": "A",
13037 "static": 1,
13038 "return": {
13039 "description": "",
13040 "type": "Ember.NativeArray"
13041 },
13042 "access": "public",
13043 "tagname": "",
13044 "class": "@ember/array",
13045 "module": "@ember/array"
13046 },
13047 {
13048 "file": "packages/@ember/-internals/runtime/lib/mixins/comparable.js",
13049 "line": 19,
13050 "description": "__Required.__ You must implement this method to apply this mixin.\n\nOverride to return the result of the comparison of the two parameters. The\ncompare method should return:\n\n- `-1` if `a < b`\n- `0` if `a == b`\n- `1` if `a > b`\n\nDefault implementation raises an exception.",
13051 "itemtype": "method",
13052 "name": "compare",
13053 "params": [
13054 {
13055 "name": "a",
13056 "description": "the first object to compare",
13057 "type": "Object"
13058 },
13059 {
13060 "name": "b",
13061 "description": "the second object to compare",
13062 "type": "Object"
13063 }
13064 ],
13065 "return": {
13066 "description": "the result of the comparison",
13067 "type": "Number"
13068 },
13069 "access": "private",
13070 "tagname": "",
13071 "class": "Ember.Comparable",
13072 "module": "ember",
13073 "namespace": "Ember"
13074 },
13075 {
13076 "file": "packages/@ember/-internals/runtime/lib/mixins/container_proxy.js",
13077 "line": 15,
13078 "description": "The container stores state.",
13079 "access": "private",
13080 "tagname": "",
13081 "itemtype": "property",
13082 "name": "__container__",
13083 "type": "Ember.Container",
13084 "class": "ContainerProxyMixin",
13085 "module": "ember"
13086 },
13087 {
13088 "file": "packages/@ember/-internals/runtime/lib/mixins/container_proxy.js",
13089 "line": 23,
13090 "description": "Returns an object that can be used to provide an owner to a\nmanually created instance.\n\nExample:\n\n```\nimport { getOwner } from '@ember/application';\n\nlet owner = getOwner(this);\n\nUser.create(\n owner.ownerInjection(),\n { username: 'rwjblue' }\n)\n```",
13091 "access": "public",
13092 "tagname": "",
13093 "itemtype": "method",
13094 "name": "ownerInjection",
13095 "since": "2.3.0",
13096 "return": {
13097 "description": "",
13098 "type": "Object"
13099 },
13100 "class": "ContainerProxyMixin",
13101 "module": "ember"
13102 },
13103 {
13104 "file": "packages/@ember/-internals/runtime/lib/mixins/container_proxy.js",
13105 "line": 49,
13106 "description": "Given a fullName return a corresponding instance.\n\nThe default behavior is for lookup to return a singleton instance.\nThe singleton is scoped to the container, allowing multiple containers\nto all have their own locally scoped singletons.\n\n```javascript\nlet registry = new Registry();\nlet container = registry.container();\n\nregistry.register('api:twitter', Twitter);\n\nlet twitter = container.lookup('api:twitter');\n\ntwitter instanceof Twitter; // => true\n\n// by default the container will return singletons\nlet twitter2 = container.lookup('api:twitter');\ntwitter2 instanceof Twitter; // => true\n\ntwitter === twitter2; //=> true\n```\n\nIf singletons are not wanted an optional flag can be provided at lookup.\n\n```javascript\nlet registry = new Registry();\nlet container = registry.container();\n\nregistry.register('api:twitter', Twitter);\n\nlet twitter = container.lookup('api:twitter', { singleton: false });\nlet twitter2 = container.lookup('api:twitter', { singleton: false });\n\ntwitter === twitter2; //=> false\n```",
13107 "access": "public",
13108 "tagname": "",
13109 "itemtype": "method",
13110 "name": "lookup",
13111 "params": [
13112 {
13113 "name": "fullName",
13114 "description": "",
13115 "type": "String"
13116 },
13117 {
13118 "name": "options",
13119 "description": "",
13120 "type": "Object"
13121 }
13122 ],
13123 "return": {
13124 "description": "",
13125 "type": "Any"
13126 },
13127 "class": "ContainerProxyMixin",
13128 "module": "ember"
13129 },
13130 {
13131 "file": "packages/@ember/-internals/runtime/lib/mixins/container_proxy.js",
13132 "line": 110,
13133 "description": "Given a fullName return a factory manager.\n\n This method returns a manager which can be used for introspection of the\n factory's class or for the creation of factory instances with initial\n properties. The manager is an object with the following properties:\n\n * `class` - The registered or resolved class.\n * `create` - A function that will create an instance of the class with\n any dependencies injected.\n\n For example:\n\n ```javascript\n import { getOwner } from '@ember/application';\n\n let owner = getOwner(otherInstance);\n // the owner is commonly the `applicationInstance`, and can be accessed via\n // an instance initializer.\n\n let factory = owner.factoryFor('service:bespoke');\n\n factory.class;\n // The registered or resolved class. For example when used with an Ember-CLI\n // app, this would be the default export from `app/services/bespoke.js`.\n\n let instance = factory.create({\n someProperty: 'an initial property value'\n });\n // Create an instance with any injections and the passed options as\n // initial properties.\n ```\n\n Any instances created via the factory's `.create()` method *must* be destroyed\n manually by the caller of `.create()`. Typically, this is done during the creating\n objects own `destroy` or `willDestroy` methods.",
13134 "access": "public",
13135 "tagname": "",
13136 "itemtype": "method",
13137 "name": "factoryFor",
13138 "params": [
13139 {
13140 "name": "fullName",
13141 "description": "",
13142 "type": "String"
13143 },
13144 {
13145 "name": "options",
13146 "description": "",
13147 "type": "Object"
13148 }
13149 ],
13150 "return": {
13151 "description": "",
13152 "type": "FactoryManager"
13153 },
13154 "class": "ContainerProxyMixin",
13155 "module": "ember"
13156 },
13157 {
13158 "file": "packages/@ember/-internals/runtime/lib/mixins/copyable.js",
13159 "line": 22,
13160 "description": "__Required.__ You must implement this method to apply this mixin.\n\nOverride to return a copy of the receiver. Default implementation raises\nan exception.",
13161 "itemtype": "method",
13162 "name": "copy",
13163 "params": [
13164 {
13165 "name": "deep",
13166 "description": "if `true`, a deep copy of the object should be made",
13167 "type": "Boolean"
13168 }
13169 ],
13170 "return": {
13171 "description": "copy of receiver",
13172 "type": "Object"
13173 },
13174 "access": "private",
13175 "tagname": "",
13176 "class": "Ember.Copyable",
13177 "module": "ember",
13178 "namespace": "Ember"
13179 },
13180 {
13181 "file": "packages/@ember/-internals/runtime/lib/mixins/evented.js",
13182 "line": 54,
13183 "description": "Subscribes to a named event with given function.\n\n```javascript\nperson.on('didLoad', function() {\n // fired once the person has loaded\n});\n```\n\nAn optional target can be passed in as the 2nd argument that will\nbe set as the \"this\" for the callback. This is a good way to give your\nfunction access to the object triggering the event. When the target\nparameter is used the callback method becomes the third argument.",
13184 "itemtype": "method",
13185 "name": "on",
13186 "params": [
13187 {
13188 "name": "name",
13189 "description": "The name of the event",
13190 "type": "String"
13191 },
13192 {
13193 "name": "target",
13194 "description": "The \"this\" binding for the callback",
13195 "type": "Object",
13196 "optional": true
13197 },
13198 {
13199 "name": "method",
13200 "description": "A function or the name of a function to be called on `target`",
13201 "type": "Function|String"
13202 }
13203 ],
13204 "return": {
13205 "description": "this"
13206 },
13207 "access": "public",
13208 "tagname": "",
13209 "class": "Evented",
13210 "module": "@ember/object"
13211 },
13212 {
13213 "file": "packages/@ember/-internals/runtime/lib/mixins/evented.js",
13214 "line": 80,
13215 "description": "Subscribes a function to a named event and then cancels the subscription\nafter the first time the event is triggered. It is good to use ``one`` when\nyou only care about the first time an event has taken place.\n\nThis function takes an optional 2nd argument that will become the \"this\"\nvalue for the callback. When the target parameter is used the callback method\nbecomes the third argument.",
13216 "itemtype": "method",
13217 "name": "one",
13218 "params": [
13219 {
13220 "name": "name",
13221 "description": "The name of the event",
13222 "type": "String"
13223 },
13224 {
13225 "name": "target",
13226 "description": "The \"this\" binding for the callback",
13227 "type": "Object",
13228 "optional": true
13229 },
13230 {
13231 "name": "method",
13232 "description": "A function or the name of a function to be called on `target`",
13233 "type": "Function|String"
13234 }
13235 ],
13236 "return": {
13237 "description": "this"
13238 },
13239 "access": "public",
13240 "tagname": "",
13241 "class": "Evented",
13242 "module": "@ember/object"
13243 },
13244 {
13245 "file": "packages/@ember/-internals/runtime/lib/mixins/evented.js",
13246 "line": 101,
13247 "description": "Triggers a named event for the object. Any additional arguments\nwill be passed as parameters to the functions that are subscribed to the\nevent.\n\n```javascript\nperson.on('didEat', function(food) {\n console.log('person ate some ' + food);\n});\n\nperson.trigger('didEat', 'broccoli');\n\n// outputs: person ate some broccoli\n```",
13248 "itemtype": "method",
13249 "name": "trigger",
13250 "params": [
13251 {
13252 "name": "name",
13253 "description": "The name of the event",
13254 "type": "String"
13255 },
13256 {
13257 "name": "args",
13258 "description": "Optional arguments to pass on",
13259 "type": "Object..."
13260 }
13261 ],
13262 "access": "public",
13263 "tagname": "",
13264 "class": "Evented",
13265 "module": "@ember/object"
13266 },
13267 {
13268 "file": "packages/@ember/-internals/runtime/lib/mixins/evented.js",
13269 "line": 124,
13270 "description": "Cancels subscription for given name, target, and method.",
13271 "itemtype": "method",
13272 "name": "off",
13273 "params": [
13274 {
13275 "name": "name",
13276 "description": "The name of the event",
13277 "type": "String"
13278 },
13279 {
13280 "name": "target",
13281 "description": "The target of the subscription",
13282 "type": "Object"
13283 },
13284 {
13285 "name": "method",
13286 "description": "The function or the name of a function of the subscription",
13287 "type": "Function|String"
13288 }
13289 ],
13290 "return": {
13291 "description": "this"
13292 },
13293 "access": "public",
13294 "tagname": "",
13295 "class": "Evented",
13296 "module": "@ember/object"
13297 },
13298 {
13299 "file": "packages/@ember/-internals/runtime/lib/mixins/evented.js",
13300 "line": 139,
13301 "description": "Checks to see if object has any subscriptions for named event.",
13302 "itemtype": "method",
13303 "name": "has",
13304 "params": [
13305 {
13306 "name": "name",
13307 "description": "The name of the event",
13308 "type": "String"
13309 }
13310 ],
13311 "return": {
13312 "description": "does the object have a subscription for event",
13313 "type": "Boolean"
13314 },
13315 "access": "public",
13316 "tagname": "",
13317 "class": "Evented",
13318 "module": "@ember/object"
13319 },
13320 {
13321 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13322 "line": 93,
13323 "description": "Retrieves the value of a property from the object.\n\nThis method is usually similar to using `object[keyName]` or `object.keyName`,\nhowever it supports both computed properties and the unknownProperty\nhandler.\n\nBecause `get` unifies the syntax for accessing all these kinds\nof properties, it can make many refactorings easier, such as replacing a\nsimple property with a computed property, or vice versa.\n\n### Computed Properties\n\nComputed properties are methods defined with the `property` modifier\ndeclared at the end, such as:\n\n```javascript\nimport { computed } from '@ember/object';\n\nfullName: computed('firstName', 'lastName', function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n})\n```\n\nWhen you call `get` on a computed property, the function will be\ncalled and the return value will be returned instead of the function\nitself.\n\n### Unknown Properties\n\nLikewise, if you try to call `get` on a property whose value is\n`undefined`, the `unknownProperty()` method will be called on the object.\nIf this method returns any value other than `undefined`, it will be returned\ninstead. This allows you to implement \"virtual\" properties that are\nnot defined upfront.",
13324 "itemtype": "method",
13325 "name": "get",
13326 "params": [
13327 {
13328 "name": "keyName",
13329 "description": "The property to retrieve",
13330 "type": "String"
13331 }
13332 ],
13333 "return": {
13334 "description": "The property value or undefined.",
13335 "type": "Object"
13336 },
13337 "access": "public",
13338 "tagname": "",
13339 "class": "Observable",
13340 "module": "@ember/object"
13341 },
13342 {
13343 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13344 "line": 138,
13345 "description": "To get the values of multiple properties at once, call `getProperties`\nwith a list of strings or an array:\n\n```javascript\nrecord.getProperties('firstName', 'lastName', 'zipCode');\n// { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n```\n\nis equivalent to:\n\n```javascript\nrecord.getProperties(['firstName', 'lastName', 'zipCode']);\n// { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n```",
13346 "itemtype": "method",
13347 "name": "getProperties",
13348 "params": [
13349 {
13350 "name": "list",
13351 "description": "of keys to get",
13352 "type": "String...|Array"
13353 }
13354 ],
13355 "return": {
13356 "description": "",
13357 "type": "Object"
13358 },
13359 "access": "public",
13360 "tagname": "",
13361 "class": "Observable",
13362 "module": "@ember/object"
13363 },
13364 {
13365 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13366 "line": 163,
13367 "description": "Sets the provided key or path to the value.\n\n```javascript\nrecord.set(\"key\", value);\n```\n\nThis method is generally very similar to calling `object[\"key\"] = value` or\n`object.key = value`, except that it provides support for computed\nproperties, the `setUnknownProperty()` method and property observers.\n\n### Computed Properties\n\nIf you try to set a value on a key that has a computed property handler\ndefined (see the `get()` method for an example), then `set()` will call\nthat method, passing both the value and key instead of simply changing\nthe value itself. This is useful for those times when you need to\nimplement a property that is composed of one or more member\nproperties.\n\n### Unknown Properties\n\nIf you try to set a value on a key that is undefined in the target\nobject, then the `setUnknownProperty()` handler will be called instead. This\ngives you an opportunity to implement complex \"virtual\" properties that\nare not predefined on the object. If `setUnknownProperty()` returns\nundefined, then `set()` will simply set the value on the object.\n\n### Property Observers\n\nIn addition to changing the property, `set()` will also register a property\nchange with the object. Unless you have placed this call inside of a\n`beginPropertyChanges()` and `endPropertyChanges(),` any \"local\" observers\n(i.e. observer methods declared on the same object), will be called\nimmediately. Any \"remote\" observers (i.e. observer methods declared on\nanother object) will be placed in a queue and called at a later time in a\ncoalesced manner.",
13368 "itemtype": "method",
13369 "name": "set",
13370 "params": [
13371 {
13372 "name": "keyName",
13373 "description": "The property to set",
13374 "type": "String"
13375 },
13376 {
13377 "name": "value",
13378 "description": "The value to set or `null`.",
13379 "type": "Object"
13380 }
13381 ],
13382 "return": {
13383 "description": "The passed value",
13384 "type": "Object"
13385 },
13386 "access": "public",
13387 "tagname": "",
13388 "class": "Observable",
13389 "module": "@ember/object"
13390 },
13391 {
13392 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13393 "line": 211,
13394 "description": "Sets a list of properties at once. These properties are set inside\na single `beginPropertyChanges` and `endPropertyChanges` batch, so\nobservers will be buffered.\n\n```javascript\nrecord.setProperties({ firstName: 'Charles', lastName: 'Jolley' });\n```",
13395 "itemtype": "method",
13396 "name": "setProperties",
13397 "params": [
13398 {
13399 "name": "hash",
13400 "description": "the hash of keys and values to set",
13401 "type": "Object"
13402 }
13403 ],
13404 "return": {
13405 "description": "The passed in hash",
13406 "type": "Object"
13407 },
13408 "access": "public",
13409 "tagname": "",
13410 "class": "Observable",
13411 "module": "@ember/object"
13412 },
13413 {
13414 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13415 "line": 229,
13416 "description": "Begins a grouping of property changes.\n\nYou can use this method to group property changes so that notifications\nwill not be sent until the changes are finished. If you plan to make a\nlarge number of changes to an object at one time, you should call this\nmethod at the beginning of the changes to begin deferring change\nnotifications. When you are done making changes, call\n`endPropertyChanges()` to deliver the deferred change notifications and end\ndeferring.",
13417 "itemtype": "method",
13418 "name": "beginPropertyChanges",
13419 "return": {
13420 "description": "",
13421 "type": "Observable"
13422 },
13423 "access": "private",
13424 "tagname": "",
13425 "class": "Observable",
13426 "module": "@ember/object"
13427 },
13428 {
13429 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13430 "line": 249,
13431 "description": "Ends a grouping of property changes.\n\nYou can use this method to group property changes so that notifications\nwill not be sent until the changes are finished. If you plan to make a\nlarge number of changes to an object at one time, you should call\n`beginPropertyChanges()` at the beginning of the changes to defer change\nnotifications. When you are done making changes, call this method to\ndeliver the deferred change notifications and end deferring.",
13432 "itemtype": "method",
13433 "name": "endPropertyChanges",
13434 "return": {
13435 "description": "",
13436 "type": "Observable"
13437 },
13438 "access": "private",
13439 "tagname": "",
13440 "class": "Observable",
13441 "module": "@ember/object"
13442 },
13443 {
13444 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13445 "line": 268,
13446 "description": "Notify the observer system that a property has just changed.\n\nSometimes you need to change a value directly or indirectly without\nactually calling `get()` or `set()` on it. In this case, you can use this\nmethod instead. Calling this method will notify all observers that the\nproperty has potentially changed value.",
13447 "itemtype": "method",
13448 "name": "notifyPropertyChange",
13449 "params": [
13450 {
13451 "name": "keyName",
13452 "description": "The property key to be notified about.",
13453 "type": "String"
13454 }
13455 ],
13456 "return": {
13457 "description": "",
13458 "type": "Observable"
13459 },
13460 "access": "public",
13461 "tagname": "",
13462 "class": "Observable",
13463 "module": "@ember/object"
13464 },
13465 {
13466 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13467 "line": 286,
13468 "description": "Adds an observer on a property.\n\nThis is the core method used to register an observer for a property.\n\nOnce you call this method, any time the key's value is set, your observer\nwill be notified. Note that the observers are triggered any time the\nvalue is set, regardless of whether it has actually changed. Your\nobserver should be prepared to handle that.\n\nThere are two common invocation patterns for `.addObserver()`:\n\n- Passing two arguments:\n - the name of the property to observe (as a string)\n - the function to invoke (an actual function)\n- Passing three arguments:\n - the name of the property to observe (as a string)\n - the target object (will be used to look up and invoke a\n function on)\n - the name of the function to invoke on the target object\n (as a string).\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n init() {\n this._super(...arguments);\n\n // the following are equivalent:\n\n // using three arguments\n this.addObserver('foo', this, 'fooDidChange');\n\n // using two arguments\n this.addObserver('foo', (...args) => {\n this.fooDidChange(...args);\n });\n },\n\n fooDidChange() {\n // your custom logic code\n }\n});\n```\n\n### Observer Methods\n\nObserver methods have the following signature:\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n init() {\n this._super(...arguments);\n this.addObserver('foo', this, 'fooDidChange');\n },\n\n fooDidChange(sender, key, value, rev) {\n // your code\n }\n});\n```\n\nThe `sender` is the object that changed. The `key` is the property that\nchanges. The `value` property is currently reserved and unused. The `rev`\nis the last property revision of the object when it changed, which you can\nuse to detect if the key value has really changed or not.\n\nUsually you will not need the value or revision parameters at\nthe end. In this case, it is common to write observer methods that take\nonly a sender and key value as parameters or, if you aren't interested in\nany of these values, to write an observer that has no parameters at all.",
13469 "itemtype": "method",
13470 "name": "addObserver",
13471 "params": [
13472 {
13473 "name": "key",
13474 "description": "The key to observe",
13475 "type": "String"
13476 },
13477 {
13478 "name": "target",
13479 "description": "The target object to invoke",
13480 "type": "Object"
13481 },
13482 {
13483 "name": "method",
13484 "description": "The method to invoke",
13485 "type": "String|Function"
13486 },
13487 {
13488 "name": "sync",
13489 "description": "Whether the observer is sync or not",
13490 "type": "Boolean"
13491 }
13492 ],
13493 "return": {
13494 "description": "",
13495 "type": "Observable"
13496 },
13497 "access": "public",
13498 "tagname": "",
13499 "class": "Observable",
13500 "module": "@ember/object"
13501 },
13502 {
13503 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13504 "line": 374,
13505 "description": "Remove an observer you have previously registered on this object. Pass\nthe same key, target, and method you passed to `addObserver()` and your\ntarget will no longer receive notifications.",
13506 "itemtype": "method",
13507 "name": "removeObserver",
13508 "params": [
13509 {
13510 "name": "key",
13511 "description": "The key to observe",
13512 "type": "String"
13513 },
13514 {
13515 "name": "target",
13516 "description": "The target object to invoke",
13517 "type": "Object"
13518 },
13519 {
13520 "name": "method",
13521 "description": "The method to invoke",
13522 "type": "String|Function"
13523 },
13524 {
13525 "name": "sync",
13526 "description": "Whether the observer is async or not",
13527 "type": "Boolean"
13528 }
13529 ],
13530 "return": {
13531 "description": "",
13532 "type": "Observable"
13533 },
13534 "access": "public",
13535 "tagname": "",
13536 "class": "Observable",
13537 "module": "@ember/object"
13538 },
13539 {
13540 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13541 "line": 392,
13542 "description": "Returns `true` if the object currently has observers registered for a\nparticular key. You can use this method to potentially defer performing\nan expensive action until someone begins observing a particular property\non the object.",
13543 "itemtype": "method",
13544 "name": "hasObserverFor",
13545 "params": [
13546 {
13547 "name": "key",
13548 "description": "Key to check",
13549 "type": "String"
13550 }
13551 ],
13552 "return": {
13553 "description": "",
13554 "type": "Boolean"
13555 },
13556 "access": "private",
13557 "tagname": "",
13558 "class": "Observable",
13559 "module": "@ember/object"
13560 },
13561 {
13562 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13563 "line": 407,
13564 "description": "Retrieves the value of a property, or a default value in the case that the\nproperty returns `undefined`.\n\n```javascript\nperson.getWithDefault('lastName', 'Doe');\n```",
13565 "itemtype": "method",
13566 "name": "getWithDefault",
13567 "params": [
13568 {
13569 "name": "keyName",
13570 "description": "The name of the property to retrieve",
13571 "type": "String"
13572 },
13573 {
13574 "name": "defaultValue",
13575 "description": "The value to return if the property value is undefined",
13576 "type": "Object"
13577 }
13578 ],
13579 "return": {
13580 "description": "The property value or the defaultValue.",
13581 "type": "Object"
13582 },
13583 "access": "public",
13584 "tagname": "",
13585 "class": "Observable",
13586 "module": "@ember/object"
13587 },
13588 {
13589 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13590 "line": 425,
13591 "description": "Set the value of a property to the current value plus some amount.\n\n```javascript\nperson.incrementProperty('age');\nteam.incrementProperty('score', 2);\n```",
13592 "itemtype": "method",
13593 "name": "incrementProperty",
13594 "params": [
13595 {
13596 "name": "keyName",
13597 "description": "The name of the property to increment",
13598 "type": "String"
13599 },
13600 {
13601 "name": "increment",
13602 "description": "The amount to increment by. Defaults to 1",
13603 "type": "Number"
13604 }
13605 ],
13606 "return": {
13607 "description": "The new property value",
13608 "type": "Number"
13609 },
13610 "access": "public",
13611 "tagname": "",
13612 "class": "Observable",
13613 "module": "@ember/object"
13614 },
13615 {
13616 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13617 "line": 447,
13618 "description": "Set the value of a property to the current value minus some amount.\n\n```javascript\nplayer.decrementProperty('lives');\norc.decrementProperty('health', 5);\n```",
13619 "itemtype": "method",
13620 "name": "decrementProperty",
13621 "params": [
13622 {
13623 "name": "keyName",
13624 "description": "The name of the property to decrement",
13625 "type": "String"
13626 },
13627 {
13628 "name": "decrement",
13629 "description": "The amount to decrement by. Defaults to 1",
13630 "type": "Number"
13631 }
13632 ],
13633 "return": {
13634 "description": "The new property value",
13635 "type": "Number"
13636 },
13637 "access": "public",
13638 "tagname": "",
13639 "class": "Observable",
13640 "module": "@ember/object"
13641 },
13642 {
13643 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13644 "line": 469,
13645 "description": "Set the value of a boolean property to the opposite of its\ncurrent value.\n\n```javascript\nstarship.toggleProperty('warpDriveEngaged');\n```",
13646 "itemtype": "method",
13647 "name": "toggleProperty",
13648 "params": [
13649 {
13650 "name": "keyName",
13651 "description": "The name of the property to toggle",
13652 "type": "String"
13653 }
13654 ],
13655 "return": {
13656 "description": "The new property value",
13657 "type": "Boolean"
13658 },
13659 "access": "public",
13660 "tagname": "",
13661 "class": "Observable",
13662 "module": "@ember/object"
13663 },
13664 {
13665 "file": "packages/@ember/-internals/runtime/lib/mixins/observable.js",
13666 "line": 486,
13667 "description": "Returns the cached value of a computed property, if it exists.\nThis allows you to inspect the value of a computed property\nwithout accidentally invoking it if it is intended to be\ngenerated lazily.",
13668 "itemtype": "method",
13669 "name": "cacheFor",
13670 "params": [
13671 {
13672 "name": "keyName",
13673 "description": "",
13674 "type": "String"
13675 }
13676 ],
13677 "return": {
13678 "description": "The cached value of the computed property, if any",
13679 "type": "Object"
13680 },
13681 "access": "public",
13682 "tagname": "",
13683 "class": "Observable",
13684 "module": "@ember/object"
13685 },
13686 {
13687 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13688 "line": 101,
13689 "description": "If the proxied promise is rejected this will contain the reason\nprovided.",
13690 "itemtype": "property",
13691 "name": "reason",
13692 "default": "null",
13693 "access": "public",
13694 "tagname": "",
13695 "class": "PromiseProxyMixin",
13696 "module": "@ember/object"
13697 },
13698 {
13699 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13700 "line": 111,
13701 "description": "Once the proxied promise has settled this will become `false`.",
13702 "itemtype": "property",
13703 "name": "isPending",
13704 "default": "true",
13705 "access": "public",
13706 "tagname": "",
13707 "class": "PromiseProxyMixin",
13708 "module": "@ember/object"
13709 },
13710 {
13711 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13712 "line": 122,
13713 "description": "Once the proxied promise has settled this will become `true`.",
13714 "itemtype": "property",
13715 "name": "isSettled",
13716 "default": "false",
13717 "access": "public",
13718 "tagname": "",
13719 "class": "PromiseProxyMixin",
13720 "module": "@ember/object"
13721 },
13722 {
13723 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13724 "line": 133,
13725 "description": "Will become `true` if the proxied promise is rejected.",
13726 "itemtype": "property",
13727 "name": "isRejected",
13728 "default": "false",
13729 "access": "public",
13730 "tagname": "",
13731 "class": "PromiseProxyMixin",
13732 "module": "@ember/object"
13733 },
13734 {
13735 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13736 "line": 142,
13737 "description": "Will become `true` if the proxied promise is fulfilled.",
13738 "itemtype": "property",
13739 "name": "isFulfilled",
13740 "default": "false",
13741 "access": "public",
13742 "tagname": "",
13743 "class": "PromiseProxyMixin",
13744 "module": "@ember/object"
13745 },
13746 {
13747 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13748 "line": 151,
13749 "description": "The promise whose fulfillment value is being proxied by this object.\n\nThis property must be specified upon creation, and should not be\nchanged once created.\n\nExample:\n\n```javascript\nimport ObjectProxy from '@ember/object/proxy';\nimport PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n\nObjectProxy.extend(PromiseProxyMixin).create({\n promise: <thenable>\n});\n```",
13750 "itemtype": "property",
13751 "name": "promise",
13752 "access": "public",
13753 "tagname": "",
13754 "class": "PromiseProxyMixin",
13755 "module": "@ember/object"
13756 },
13757 {
13758 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13759 "line": 180,
13760 "description": "An alias to the proxied promise's `then`.\n\nSee RSVP.Promise.then.",
13761 "itemtype": "method",
13762 "name": "then",
13763 "params": [
13764 {
13765 "name": "callback",
13766 "description": "",
13767 "type": "Function"
13768 }
13769 ],
13770 "return": {
13771 "description": "",
13772 "type": "RSVP.Promise"
13773 },
13774 "access": "public",
13775 "tagname": "",
13776 "class": "PromiseProxyMixin",
13777 "module": "@ember/object"
13778 },
13779 {
13780 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13781 "line": 192,
13782 "description": "An alias to the proxied promise's `catch`.\n\nSee RSVP.Promise.catch.",
13783 "itemtype": "method",
13784 "name": "catch",
13785 "params": [
13786 {
13787 "name": "callback",
13788 "description": "",
13789 "type": "Function"
13790 }
13791 ],
13792 "return": {
13793 "description": "",
13794 "type": "RSVP.Promise"
13795 },
13796 "since": "1.3.0",
13797 "access": "public",
13798 "tagname": "",
13799 "class": "PromiseProxyMixin",
13800 "module": "@ember/object"
13801 },
13802 {
13803 "file": "packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js",
13804 "line": 205,
13805 "description": "An alias to the proxied promise's `finally`.\n\nSee RSVP.Promise.finally.",
13806 "itemtype": "method",
13807 "name": "finally",
13808 "params": [
13809 {
13810 "name": "callback",
13811 "description": "",
13812 "type": "Function"
13813 }
13814 ],
13815 "return": {
13816 "description": "",
13817 "type": "RSVP.Promise"
13818 },
13819 "since": "1.3.0",
13820 "access": "public",
13821 "tagname": "",
13822 "class": "PromiseProxyMixin",
13823 "module": "@ember/object"
13824 },
13825 {
13826 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
13827 "line": 18,
13828 "description": "Given a fullName return the corresponding factory.",
13829 "access": "public",
13830 "tagname": "",
13831 "itemtype": "method",
13832 "name": "resolveRegistration",
13833 "params": [
13834 {
13835 "name": "fullName",
13836 "description": "",
13837 "type": "String"
13838 }
13839 ],
13840 "return": {
13841 "description": "fullName's factory",
13842 "type": "Function"
13843 },
13844 "class": "RegistryProxyMixin",
13845 "module": "ember"
13846 },
13847 {
13848 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
13849 "line": 31,
13850 "description": "Registers a factory that can be used for dependency injection (with\n`inject`) or for service lookup. Each factory is registered with\na full name including two parts: `type:name`.\n\nA simple example:\n\n```javascript\nimport Application from '@ember/application';\nimport EmberObject from '@ember/object';\n\nlet App = Application.create();\n\nApp.Orange = EmberObject.extend();\nApp.register('fruit:favorite', App.Orange);\n```\n\nEmber will resolve factories from the `App` namespace automatically.\nFor example `App.CarsController` will be discovered and returned if\nan application requests `controller:cars`.\n\nAn example of registering a controller with a non-standard name:\n\n```javascript\nimport Application from '@ember/application';\nimport Controller from '@ember/controller';\n\nlet App = Application.create();\nlet Session = Controller.extend();\n\nApp.register('controller:session', Session);\n\n// The Session controller can now be treated like a normal controller,\n// despite its non-standard name.\nApp.ApplicationController = Controller.extend({\n needs: ['session']\n});\n```\n\nRegistered factories are **instantiated** by having `create`\ncalled on them. Additionally they are **singletons**, each time\nthey are looked up they return the same instance.\n\nSome examples modifying that default behavior:\n\n```javascript\nimport Application from '@ember/application';\nimport EmberObject from '@ember/object';\n\nlet App = Application.create();\n\nApp.Person = EmberObject.extend();\nApp.Orange = EmberObject.extend();\nApp.Email = EmberObject.extend();\nApp.session = EmberObject.create();\n\nApp.register('model:user', App.Person, { singleton: false });\nApp.register('fruit:favorite', App.Orange);\nApp.register('communication:main', App.Email, { singleton: false });\nApp.register('session', App.session, { instantiate: false });\n```",
13851 "itemtype": "method",
13852 "name": "register",
13853 "params": [
13854 {
13855 "name": "fullName",
13856 "description": "type:name (e.g., 'model:user')",
13857 "type": "String"
13858 },
13859 {
13860 "name": "factory",
13861 "description": "(e.g., App.Person)",
13862 "type": "Any"
13863 },
13864 {
13865 "name": "options",
13866 "description": "(optional) disable instantiation or singleton usage",
13867 "type": "Object"
13868 }
13869 ],
13870 "access": "public",
13871 "tagname": "",
13872 "class": "RegistryProxyMixin",
13873 "module": "ember"
13874 },
13875 {
13876 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
13877 "line": 101,
13878 "description": "Unregister a factory.\n\n```javascript\nimport Application from '@ember/application';\nimport EmberObject from '@ember/object';\n\nlet App = Application.create();\nlet User = EmberObject.extend();\nApp.register('model:user', User);\n\nApp.resolveRegistration('model:user').create() instanceof User //=> true\n\nApp.unregister('model:user')\nApp.resolveRegistration('model:user') === undefined //=> true\n```",
13879 "access": "public",
13880 "tagname": "",
13881 "itemtype": "method",
13882 "name": "unregister",
13883 "params": [
13884 {
13885 "name": "fullName",
13886 "description": "",
13887 "type": "String"
13888 }
13889 ],
13890 "class": "RegistryProxyMixin",
13891 "module": "ember"
13892 },
13893 {
13894 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
13895 "line": 124,
13896 "description": "Check if a factory is registered.",
13897 "access": "public",
13898 "tagname": "",
13899 "itemtype": "method",
13900 "name": "hasRegistration",
13901 "params": [
13902 {
13903 "name": "fullName",
13904 "description": "",
13905 "type": "String"
13906 }
13907 ],
13908 "return": {
13909 "description": "",
13910 "type": "Boolean"
13911 },
13912 "class": "RegistryProxyMixin",
13913 "module": "ember"
13914 },
13915 {
13916 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
13917 "line": 134,
13918 "description": "Return a specific registered option for a particular factory.",
13919 "access": "public",
13920 "tagname": "",
13921 "itemtype": "method",
13922 "name": "registeredOption",
13923 "params": [
13924 {
13925 "name": "fullName",
13926 "description": "",
13927 "type": "String"
13928 },
13929 {
13930 "name": "optionName",
13931 "description": "",
13932 "type": "String"
13933 }
13934 ],
13935 "return": {
13936 "description": "options",
13937 "type": "Object"
13938 },
13939 "class": "RegistryProxyMixin",
13940 "module": "ember"
13941 },
13942 {
13943 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
13944 "line": 145,
13945 "description": "Register options for a particular factory.",
13946 "access": "public",
13947 "tagname": "",
13948 "itemtype": "method",
13949 "name": "registerOptions",
13950 "params": [
13951 {
13952 "name": "fullName",
13953 "description": "",
13954 "type": "String"
13955 },
13956 {
13957 "name": "options",
13958 "description": "",
13959 "type": "Object"
13960 }
13961 ],
13962 "class": "RegistryProxyMixin",
13963 "module": "ember"
13964 },
13965 {
13966 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
13967 "line": 155,
13968 "description": "Return registered options for a particular factory.",
13969 "access": "public",
13970 "tagname": "",
13971 "itemtype": "method",
13972 "name": "registeredOptions",
13973 "params": [
13974 {
13975 "name": "fullName",
13976 "description": "",
13977 "type": "String"
13978 }
13979 ],
13980 "return": {
13981 "description": "options",
13982 "type": "Object"
13983 },
13984 "class": "RegistryProxyMixin",
13985 "module": "ember"
13986 },
13987 {
13988 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
13989 "line": 165,
13990 "description": "Allow registering options for all factories of a type.\n\n```javascript\nimport Application from '@ember/application';\n\nlet App = Application.create();\nlet appInstance = App.buildInstance();\n\n// if all of type `connection` must not be singletons\nappInstance.registerOptionsForType('connection', { singleton: false });\n\nappInstance.register('connection:twitter', TwitterConnection);\nappInstance.register('connection:facebook', FacebookConnection);\n\nlet twitter = appInstance.lookup('connection:twitter');\nlet twitter2 = appInstance.lookup('connection:twitter');\n\ntwitter === twitter2; // => false\n\nlet facebook = appInstance.lookup('connection:facebook');\nlet facebook2 = appInstance.lookup('connection:facebook');\n\nfacebook === facebook2; // => false\n```",
13991 "access": "public",
13992 "tagname": "",
13993 "itemtype": "method",
13994 "name": "registerOptionsForType",
13995 "params": [
13996 {
13997 "name": "type",
13998 "description": "",
13999 "type": "String"
14000 },
14001 {
14002 "name": "options",
14003 "description": "",
14004 "type": "Object"
14005 }
14006 ],
14007 "class": "RegistryProxyMixin",
14008 "module": "ember"
14009 },
14010 {
14011 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
14012 "line": 198,
14013 "description": "Return the registered options for all factories of a type.",
14014 "access": "public",
14015 "tagname": "",
14016 "itemtype": "method",
14017 "name": "registeredOptionsForType",
14018 "params": [
14019 {
14020 "name": "type",
14021 "description": "",
14022 "type": "String"
14023 }
14024 ],
14025 "return": {
14026 "description": "options",
14027 "type": "Object"
14028 },
14029 "class": "RegistryProxyMixin",
14030 "module": "ember"
14031 },
14032 {
14033 "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js",
14034 "line": 208,
14035 "description": "Define a dependency injection onto a specific factory or all factories\nof a type.\n\nWhen Ember instantiates a controller, view, or other framework component\nit can attach a dependency to that component. This is often used to\nprovide services to a set of framework components.\n\nAn example of providing a session object to all controllers:\n\n```javascript\nimport { alias } from '@ember/object/computed';\nimport Application from '@ember/application';\nimport Controller from '@ember/controller';\nimport EmberObject from '@ember/object';\n\nlet App = Application.create();\nlet Session = EmberObject.extend({ isAuthenticated: false });\n\n// A factory must be registered before it can be injected\nApp.register('session:main', Session);\n\n// Inject 'session:main' onto all factories of the type 'controller'\n// with the name 'session'\nApp.inject('controller', 'session', 'session:main');\n\nApp.IndexController = Controller.extend({\n isLoggedIn: alias('session.isAuthenticated')\n});\n```\n\nInjections can also be performed on specific factories.\n\n```javascript\nApp.inject(<full_name or type>, <property name>, <full_name>)\nApp.inject('route', 'source', 'source:main')\nApp.inject('route:application', 'email', 'model:email')\n```\n\nIt is important to note that injections can only be performed on\nclasses that are instantiated by Ember itself. Instantiating a class\ndirectly (via `create` or `new`) bypasses the dependency injection\nsystem.",
14036 "access": "public",
14037 "tagname": "",
14038 "itemtype": "method",
14039 "name": "inject",
14040 "params": [
14041 {
14042 "name": "factoryNameOrType",
14043 "description": "",
14044 "type": "String"
14045 },
14046 {
14047 "name": "property",
14048 "description": "",
14049 "type": "String"
14050 },
14051 {
14052 "name": "injectionName",
14053 "description": "",
14054 "type": "String"
14055 }
14056 ],
14057 "class": "RegistryProxyMixin",
14058 "module": "ember"
14059 },
14060 {
14061 "file": "packages/@ember/-internals/runtime/lib/mixins/target_action_support.js",
14062 "line": 39,
14063 "description": "Send an `action` with an `actionContext` to a `target`. The action, actionContext\nand target will be retrieved from properties of the object. For example:\n\n```javascript\nimport { alias } from '@ember/object/computed';\n\nApp.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n target: alias('controller'),\n action: 'save',\n actionContext: alias('context'),\n click() {\n this.triggerAction(); // Sends the `save` action, along with the current context\n // to the current controller\n }\n});\n```\n\nThe `target`, `action`, and `actionContext` can be provided as properties of\nan optional object argument to `triggerAction` as well.\n\n```javascript\nApp.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n click() {\n this.triggerAction({\n action: 'save',\n target: this.get('controller'),\n actionContext: this.get('context')\n }); // Sends the `save` action, along with the current context\n // to the current controller\n }\n});\n```\n\nThe `actionContext` defaults to the object you are mixing `TargetActionSupport` into.\nBut `target` and `action` must be specified either as properties or with the argument\nto `triggerAction`, or a combination:\n\n```javascript\nimport { alias } from '@ember/object/computed';\n\nApp.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n target: alias('controller'),\n click() {\n this.triggerAction({\n action: 'save'\n }); // Sends the `save` action, along with a reference to `this`,\n // to the current controller\n }\n});\n```",
14064 "itemtype": "method",
14065 "name": "triggerAction",
14066 "params": [
14067 {
14068 "name": "opts",
14069 "description": "(optional, with the optional keys action, target and/or actionContext)",
14070 "type": "Object"
14071 }
14072 ],
14073 "return": {
14074 "description": "true if the action was sent successfully and did not return false",
14075 "type": "Boolean"
14076 },
14077 "access": "private",
14078 "tagname": "",
14079 "class": "Ember.TargetActionSupport",
14080 "module": "ember",
14081 "namespace": "Ember"
14082 },
14083 {
14084 "file": "packages/@ember/-internals/runtime/lib/system/array_proxy.js",
14085 "line": 138,
14086 "description": "The content array. Must be an object that implements `Array` and/or\n`MutableArray.`",
14087 "itemtype": "property",
14088 "name": "content",
14089 "type": "EmberArray",
14090 "access": "public",
14091 "tagname": "",
14092 "class": "ArrayProxy",
14093 "module": "@ember/array"
14094 },
14095 {
14096 "file": "packages/@ember/-internals/runtime/lib/system/array_proxy.js",
14097 "line": 147,
14098 "description": "Should actually retrieve the object at the specified index from the\ncontent. You can override this method in subclasses to transform the\ncontent item to something new.\n\nThis method will only be called if content is non-`null`.",
14099 "itemtype": "method",
14100 "name": "objectAtContent",
14101 "params": [
14102 {
14103 "name": "idx",
14104 "description": "The index to retrieve.",
14105 "type": "Number"
14106 }
14107 ],
14108 "return": {
14109 "description": "the value or undefined if none found",
14110 "type": "Object"
14111 },
14112 "access": "public",
14113 "tagname": "",
14114 "class": "ArrayProxy",
14115 "module": "@ember/array"
14116 },
14117 {
14118 "file": "packages/@ember/-internals/runtime/lib/system/array_proxy.js",
14119 "line": 173,
14120 "description": "Should actually replace the specified objects on the content array.\nYou can override this method in subclasses to transform the content item\ninto something new.\n\nThis method will only be called if content is non-`null`.",
14121 "itemtype": "method",
14122 "name": "replaceContent",
14123 "params": [
14124 {
14125 "name": "idx",
14126 "description": "The starting index",
14127 "type": "Number"
14128 },
14129 {
14130 "name": "amt",
14131 "description": "The number of items to remove from the content.",
14132 "type": "Number"
14133 },
14134 {
14135 "name": "objects",
14136 "description": "Optional array of objects to insert or null if no\n objects.",
14137 "type": "EmberArray"
14138 }
14139 ],
14140 "return": {
14141 "description": "",
14142 "type": "Void"
14143 },
14144 "access": "public",
14145 "tagname": "",
14146 "class": "ArrayProxy",
14147 "module": "@ember/array"
14148 },
14149 {
14150 "file": "packages/@ember/-internals/runtime/lib/system/array_proxy.js",
14151 "line": 343,
14152 "description": "The array that the proxy pretends to be. In the default `ArrayProxy`\nimplementation, this and `content` are the same. Subclasses of `ArrayProxy`\ncan override this property to provide things like sorting and filtering.",
14153 "itemtype": "property",
14154 "name": "arrangedContent",
14155 "access": "public",
14156 "tagname": "",
14157 "class": "ArrayProxy",
14158 "module": "@ember/array"
14159 },
14160 {
14161 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14162 "line": 290,
14163 "description": "An overridable method called when objects are instantiated. By default,\ndoes nothing unless it is overridden during class definition.\n\nExample:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n init() {\n alert(`Name is ${this.get('name')}`);\n }\n});\n\nlet steve = Person.create({\n name: 'Steve'\n});\n\n// alerts 'Name is Steve'.\n```\n\nNOTE: If you do override `init` for a framework class like `Component`\nfrom `@ember/component`, be sure to call `this._super(...arguments)`\nin your `init` declaration!\nIf you don't, Ember may not have an opportunity to\ndo important setup work, and you'll see strange behavior in your\napplication.",
14164 "itemtype": "method",
14165 "name": "init",
14166 "access": "public",
14167 "tagname": "",
14168 "class": "CoreObject",
14169 "module": "@ember/object"
14170 },
14171 {
14172 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14173 "line": 324,
14174 "description": "Defines the properties that will be concatenated from the superclass\n(instead of overridden).\n\nBy default, when you extend an Ember class a property defined in\nthe subclass overrides a property with the same name that is defined\nin the superclass. However, there are some cases where it is preferable\nto build up a property's value by combining the superclass' property\nvalue with the subclass' value. An example of this in use within Ember\nis the `classNames` property of `Component` from `@ember/component`.\n\nHere is some sample code showing the difference between a concatenated\nproperty and a normal one:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Bar = EmberObject.extend({\n // Configure which properties to concatenate\n concatenatedProperties: ['concatenatedProperty'],\n\n someNonConcatenatedProperty: ['bar'],\n concatenatedProperty: ['bar']\n});\n\nconst FooBar = Bar.extend({\n someNonConcatenatedProperty: ['foo'],\n concatenatedProperty: ['foo']\n});\n\nlet fooBar = FooBar.create();\nfooBar.get('someNonConcatenatedProperty'); // ['foo']\nfooBar.get('concatenatedProperty'); // ['bar', 'foo']\n```\n\nThis behavior extends to object creation as well. Continuing the\nabove example:\n\n```javascript\nlet fooBar = FooBar.create({\n someNonConcatenatedProperty: ['baz'],\n concatenatedProperty: ['baz']\n})\nfooBar.get('someNonConcatenatedProperty'); // ['baz']\nfooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n```\n\nAdding a single property that is not an array will just add it in the array:\n\n```javascript\nlet fooBar = FooBar.create({\n concatenatedProperty: 'baz'\n})\nview.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n```\n\nUsing the `concatenatedProperties` property, we can tell Ember to mix the\ncontent of the properties.\n\nIn `Component` the `classNames`, `classNameBindings` and\n`attributeBindings` properties are concatenated.\n\nThis feature is available for you to use throughout the Ember object model,\nalthough typical app developers are likely to use it infrequently. Since\nit changes expectations about behavior of properties, you should properly\ndocument its usage in each individual concatenated property (to not\nmislead your users to think they can override the property in a subclass).",
14175 "itemtype": "property",
14176 "name": "concatenatedProperties",
14177 "type": "Array",
14178 "default": "null",
14179 "access": "public",
14180 "tagname": "",
14181 "class": "CoreObject",
14182 "module": "@ember/object"
14183 },
14184 {
14185 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14186 "line": 398,
14187 "description": "Defines the properties that will be merged from the superclass\n(instead of overridden).\n\nBy default, when you extend an Ember class a property defined in\nthe subclass overrides a property with the same name that is defined\nin the superclass. However, there are some cases where it is preferable\nto build up a property's value by merging the superclass property value\nwith the subclass property's value. An example of this in use within Ember\nis the `queryParams` property of routes.\n\nHere is some sample code showing the difference between a merged\nproperty and a normal one:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Bar = EmberObject.extend({\n // Configure which properties are to be merged\n mergedProperties: ['mergedProperty'],\n\n someNonMergedProperty: {\n nonMerged: 'superclass value of nonMerged'\n },\n mergedProperty: {\n page: { replace: false },\n limit: { replace: true }\n }\n});\n\nconst FooBar = Bar.extend({\n someNonMergedProperty: {\n completelyNonMerged: 'subclass value of nonMerged'\n },\n mergedProperty: {\n limit: { replace: false }\n }\n});\n\nlet fooBar = FooBar.create();\n\nfooBar.get('someNonMergedProperty');\n// => { completelyNonMerged: 'subclass value of nonMerged' }\n//\n// Note the entire object, including the nonMerged property of\n// the superclass object, has been replaced\n\nfooBar.get('mergedProperty');\n// => {\n// page: {replace: false},\n// limit: {replace: false}\n// }\n//\n// Note the page remains from the superclass, and the\n// `limit` property's value of `false` has been merged from\n// the subclass.\n```\n\nThis behavior is not available during object `create` calls. It is only\navailable at `extend` time.\n\nIn `Route` the `queryParams` property is merged.\n\nThis feature is available for you to use throughout the Ember object model,\nalthough typical app developers are likely to use it infrequently. Since\nit changes expectations about behavior of properties, you should properly\ndocument its usage in each individual merged property (to not\nmislead your users to think they can override the property in a subclass).",
14188 "itemtype": "property",
14189 "name": "mergedProperties",
14190 "type": "Array",
14191 "default": "null",
14192 "access": "public",
14193 "tagname": "",
14194 "class": "CoreObject",
14195 "module": "@ember/object"
14196 },
14197 {
14198 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14199 "line": 473,
14200 "description": "Destroyed object property flag.\n\nif this property is `true` the observers and bindings were already\nremoved by the effect of calling the `destroy()` method.",
14201 "itemtype": "property",
14202 "name": "isDestroyed",
14203 "default": "false",
14204 "access": "public",
14205 "tagname": "",
14206 "class": "CoreObject",
14207 "module": "@ember/object"
14208 },
14209 {
14210 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14211 "line": 491,
14212 "description": "Destruction scheduled flag. The `destroy()` method has been called.\n\nThe object stays intact until the end of the run loop at which point\nthe `isDestroyed` flag is set.",
14213 "itemtype": "property",
14214 "name": "isDestroying",
14215 "default": "false",
14216 "access": "public",
14217 "tagname": "",
14218 "class": "CoreObject",
14219 "module": "@ember/object"
14220 },
14221 {
14222 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14223 "line": 509,
14224 "description": "Destroys an object by setting the `isDestroyed` flag and removing its\nmetadata, which effectively destroys observers and bindings.\n\nIf you try to set a property on a destroyed object, an exception will be\nraised.\n\nNote that destruction is scheduled for the end of the run loop and does not\nhappen immediately. It will set an isDestroying flag immediately.",
14225 "itemtype": "method",
14226 "name": "destroy",
14227 "return": {
14228 "description": "receiver",
14229 "type": "EmberObject"
14230 },
14231 "access": "public",
14232 "tagname": "",
14233 "class": "CoreObject",
14234 "module": "@ember/object"
14235 },
14236 {
14237 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14238 "line": 536,
14239 "description": "Override to implement teardown.",
14240 "itemtype": "method",
14241 "name": "willDestroy",
14242 "access": "public",
14243 "tagname": "",
14244 "class": "CoreObject",
14245 "module": "@ember/object"
14246 },
14247 {
14248 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14249 "line": 544,
14250 "description": "Returns a string representation which attempts to provide more information\nthan Javascript's `toString` typically does, in a generic way for all Ember\nobjects.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend();\nperson = Person.create();\nperson.toString(); //=> \"<Person:ember1024>\"\n```\n\nIf the object's class is not defined on an Ember namespace, it will\nindicate it is a subclass of the registered superclass:\n\n```javascript\nconst Student = Person.extend();\nlet student = Student.create();\nstudent.toString(); //=> \"<(subclass of Person):ember1025>\"\n```\n\nIf the method `toStringExtension` is defined, its return value will be\nincluded in the output.\n\n```javascript\nconst Teacher = Person.extend({\n toStringExtension() {\n return this.get('fullName');\n }\n});\nteacher = Teacher.create();\nteacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n```",
14251 "itemtype": "method",
14252 "name": "toString",
14253 "return": {
14254 "description": "string representation",
14255 "type": "String"
14256 },
14257 "access": "public",
14258 "tagname": "",
14259 "class": "CoreObject",
14260 "module": "@ember/object"
14261 },
14262 {
14263 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14264 "line": 594,
14265 "description": "Creates a new subclass.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n say(thing) {\n alert(thing);\n }\n});\n```\n\nThis defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n\nYou can also create a subclass from any existing class by calling its `extend()` method.\nFor example, you might want to create a subclass of Ember's built-in `Component` class:\n\n```javascript\nimport Component from '@ember/component';\n\nconst PersonComponent = Component.extend({\n tagName: 'li',\n classNameBindings: ['isAdministrator']\n});\n```\n\nWhen defining a subclass, you can override methods but still access the\nimplementation of your parent class by calling the special `_super()` method:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n say(thing) {\n let name = this.get('name');\n alert(`${name} says: ${thing}`);\n }\n});\n\nconst Soldier = Person.extend({\n say(thing) {\n this._super(`${thing}, sir!`);\n },\n march(numberOfHours) {\n alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n }\n});\n\nlet yehuda = Soldier.create({\n name: 'Yehuda Katz'\n});\n\nyehuda.say('Yes'); // alerts \"Yehuda Katz says: Yes, sir!\"\n```\n\nThe `create()` on line #17 creates an *instance* of the `Soldier` class.\nThe `extend()` on line #8 creates a *subclass* of `Person`. Any instance\nof the `Person` class will *not* have the `march()` method.\n\nYou can also pass `Mixin` classes to add additional properties to the subclass.\n\n```javascript\nimport EmberObject from '@ember/object';\nimport Mixin from '@ember/object/mixin';\n\nconst Person = EmberObject.extend({\n say(thing) {\n alert(`${this.get('name')} says: ${thing}`);\n }\n});\n\nconst SingingMixin = Mixin.create({\n sing(thing) {\n alert(`${this.get('name')} sings: la la la ${thing}`);\n }\n});\n\nconst BroadwayStar = Person.extend(SingingMixin, {\n dance() {\n alert(`${this.get('name')} dances: tap tap tap tap `);\n }\n});\n```\n\nThe `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.",
14266 "itemtype": "method",
14267 "name": "extend",
14268 "static": 1,
14269 "params": [
14270 {
14271 "name": "mixins",
14272 "description": "One or more Mixin classes",
14273 "type": "Mixin",
14274 "optional": true,
14275 "multiple": true
14276 },
14277 {
14278 "name": "arguments",
14279 "description": "Object containing values to use within the new class",
14280 "type": "Object",
14281 "optional": true,
14282 "multiple": true
14283 }
14284 ],
14285 "access": "public",
14286 "tagname": "",
14287 "class": "@ember/object",
14288 "module": "@ember/object"
14289 },
14290 {
14291 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14292 "line": 694,
14293 "description": "Creates an instance of a class. Accepts either no arguments, or an object\ncontaining values to initialize the newly instantiated object with.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n helloWorld() {\n alert(`Hi, my name is ${this.get('name')}`);\n }\n});\n\nlet tom = Person.create({\n name: 'Tom Dale'\n});\n\ntom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n```\n\n`create` will call the `init` function if defined during\n`AnyObject.extend`\n\nIf no arguments are passed to `create`, it will not set values to the new\ninstance during initialization:\n\n```javascript\nlet noName = Person.create();\nnoName.helloWorld(); // alerts undefined\n```\n\nNOTE: For performance reasons, you cannot declare methods or computed\nproperties during `create`. You should instead declare methods and computed\nproperties when using `extend`.",
14294 "itemtype": "method",
14295 "name": "create",
14296 "static": 1,
14297 "params": [
14298 {
14299 "name": "arguments",
14300 "description": "",
14301 "optional": true,
14302 "multiple": true
14303 }
14304 ],
14305 "access": "public",
14306 "tagname": "",
14307 "class": "@ember/object",
14308 "module": "@ember/object"
14309 },
14310 {
14311 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14312 "line": 754,
14313 "description": "Augments a constructor's prototype with additional\nproperties and functions:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst MyObject = EmberObject.extend({\n name: 'an object'\n});\n\no = MyObject.create();\no.get('name'); // 'an object'\n\nMyObject.reopen({\n say(msg) {\n console.log(msg);\n }\n});\n\no2 = MyObject.create();\no2.say('hello'); // logs \"hello\"\n\no.say('goodbye'); // logs \"goodbye\"\n```\n\nTo add functions and properties to the constructor itself,\nsee `reopenClass`",
14314 "itemtype": "method",
14315 "name": "reopen",
14316 "static": 1,
14317 "access": "public",
14318 "tagname": "",
14319 "class": "@ember/object",
14320 "module": "@ember/object"
14321 },
14322 {
14323 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14324 "line": 808,
14325 "description": "Augments a constructor's own properties and functions:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst MyObject = EmberObject.extend({\n name: 'an object'\n});\n\nMyObject.reopenClass({\n canBuild: false\n});\n\nMyObject.canBuild; // false\no = MyObject.create();\n```\n\nIn other words, this creates static properties and functions for the class.\nThese are only available on the class and not on any instance of that class.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n name: '',\n sayHello() {\n alert(`Hello. My name is ${this.get('name')}`);\n }\n});\n\nPerson.reopenClass({\n species: 'Homo sapiens',\n\n createPerson(name) {\n return Person.create({ name });\n }\n});\n\nlet tom = Person.create({\n name: 'Tom Dale'\n});\nlet yehuda = Person.createPerson('Yehuda Katz');\n\ntom.sayHello(); // \"Hello. My name is Tom Dale\"\nyehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\nalert(Person.species); // \"Homo sapiens\"\n```\n\nNote that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\nvariables. They are only valid on `Person`.\n\nTo add functions and properties to instances of\na constructor by extending the constructor's prototype\nsee `reopen`",
14326 "itemtype": "method",
14327 "name": "reopenClass",
14328 "static": 1,
14329 "access": "public",
14330 "tagname": "",
14331 "class": "@ember/object",
14332 "module": "@ember/object"
14333 },
14334 {
14335 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14336 "line": 891,
14337 "description": "In some cases, you may want to annotate computed properties with additional\nmetadata about how they function or what values they operate on. For\nexample, computed property functions may close over variables that are then\nno longer available for introspection.\n\nYou can pass a hash of these values to a computed property like this:\n\n```javascript\nimport { computed } from '@ember/object';\n\nperson: computed(function() {\n let personId = this.get('personId');\n return Person.create({ id: personId });\n}).meta({ type: Person })\n```\n\nOnce you've done this, you can retrieve the values saved to the computed\nproperty from your class like this:\n\n```javascript\nMyClass.metaForProperty('person');\n```\n\nThis will return the original hash that was passed to `meta()`.",
14338 "static": 1,
14339 "itemtype": "method",
14340 "name": "metaForProperty",
14341 "params": [
14342 {
14343 "name": "key",
14344 "description": "property name",
14345 "type": "String"
14346 }
14347 ],
14348 "access": "private",
14349 "tagname": "",
14350 "class": "@ember/object",
14351 "module": "@ember/object"
14352 },
14353 {
14354 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14355 "line": 934,
14356 "description": "Iterate over each computed property for the class, passing its name\nand any associated metadata (see `metaForProperty`) to the callback.",
14357 "static": 1,
14358 "itemtype": "method",
14359 "name": "eachComputedProperty",
14360 "params": [
14361 {
14362 "name": "callback",
14363 "description": "",
14364 "type": "Function"
14365 },
14366 {
14367 "name": "binding",
14368 "description": "",
14369 "type": "Object"
14370 }
14371 ],
14372 "access": "private",
14373 "tagname": "",
14374 "class": "@ember/object",
14375 "module": "@ember/object"
14376 },
14377 {
14378 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14379 "line": 1043,
14380 "description": "Provides lookup-time type validation for injected properties.",
14381 "access": "private",
14382 "tagname": "",
14383 "itemtype": "method",
14384 "name": "_onLookup",
14385 "class": "@ember/object",
14386 "module": "@ember/object"
14387 },
14388 {
14389 "file": "packages/@ember/-internals/runtime/lib/system/core_object.js",
14390 "line": 1064,
14391 "description": "Returns a hash of property names and container names that injected\nproperties will lookup on the container lazily.",
14392 "itemtype": "method",
14393 "name": "_lazyInjections",
14394 "return": {
14395 "description": "Hash of all lazy injected property keys to container names",
14396 "type": "Object"
14397 },
14398 "access": "private",
14399 "tagname": "",
14400 "class": "@ember/object",
14401 "module": "@ember/object"
14402 },
14403 {
14404 "file": "packages/@ember/-internals/runtime/lib/compare.js",
14405 "line": 44,
14406 "description": "Compares two javascript values and returns:\n\n - -1 if the first is smaller than the second,\n - 0 if both are equal,\n - 1 if the first is greater than the second.\n\n ```javascript\n import { compare } from '@ember/utils';\n\n compare('hello', 'hello'); // 0\n compare('abc', 'dfg'); // -1\n compare(2, 1); // 1\n ```\n\nIf the types of the two objects are different precedence occurs in the\nfollowing order, with types earlier in the list considered `<` types\nlater in the list:\n\n - undefined\n - null\n - boolean\n - number\n - string\n - array\n - object\n - instance\n - function\n - class\n - date\n\n ```javascript\n import { compare } from '@ember/utils';\n\n compare('hello', 50); // 1\n compare(50, 'hello'); // -1\n ```",
14407 "itemtype": "method",
14408 "name": "compare",
14409 "static": 1,
14410 "params": [
14411 {
14412 "name": "v",
14413 "description": "First value to compare",
14414 "type": "Object"
14415 },
14416 {
14417 "name": "w",
14418 "description": "Second value to compare",
14419 "type": "Object"
14420 }
14421 ],
14422 "return": {
14423 "description": "-1 if v < w, 0 if v = w and 1 if v > w.",
14424 "type": "Number"
14425 },
14426 "access": "public",
14427 "tagname": "",
14428 "class": "@ember/utils",
14429 "module": "@ember/utils"
14430 },
14431 {
14432 "file": "packages/@ember/-internals/runtime/lib/copy.js",
14433 "line": 79,
14434 "description": "Creates a shallow copy of the passed object. A deep copy of the object is\nreturned if the optional `deep` argument is `true`.\n\nIf the passed object implements the `Copyable` interface, then this\nfunction will delegate to the object's `copy()` method and return the\nresult. See `Copyable` for further details.\n\nFor primitive values (which are immutable in JavaScript), the passed object\nis simply returned.",
14435 "itemtype": "method",
14436 "name": "copy",
14437 "deprecated": true,
14438 "deprecationMessage": "Use 'ember-copy' addon instead",
14439 "static": 1,
14440 "params": [
14441 {
14442 "name": "obj",
14443 "description": "The object to clone",
14444 "type": "Object"
14445 },
14446 {
14447 "name": "deep",
14448 "description": "If true, a deep copy of the object is made.",
14449 "type": "Boolean",
14450 "optional": true,
14451 "optdefault": "false"
14452 }
14453 ],
14454 "return": {
14455 "description": "The copied object",
14456 "type": "Object"
14457 },
14458 "access": "public",
14459 "tagname": "",
14460 "class": "@ember/object/internals",
14461 "module": "@ember/object"
14462 },
14463 {
14464 "file": "packages/@ember/-internals/runtime/lib/is-equal.js",
14465 "line": 4,
14466 "description": "Compares two objects, returning true if they are equal.\n\n```javascript\nimport { isEqual } from '@ember/utils';\n\nisEqual('hello', 'hello'); // true\nisEqual(1, 2); // false\n```\n\n`isEqual` is a more specific comparison than a triple equal comparison.\nIt will call the `isEqual` instance method on the objects being\ncompared, allowing finer control over when objects should be considered\nequal to each other.\n\n```javascript\nimport { isEqual } from '@ember/utils';\nimport EmberObject from '@ember/object';\n\nlet Person = EmberObject.extend({\n isEqual(other) { return this.ssn == other.ssn; }\n});\n\nlet personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\nlet personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n\nisEqual(personA, personB); // true\n```\n\nDue to the expense of array comparisons, collections will never be equal to\neach other even if each of their items are equal to each other.\n\n```javascript\nimport { isEqual } from '@ember/utils';\n\nisEqual([4, 2], [4, 2]); // false\n```",
14467 "itemtype": "method",
14468 "name": "isEqual",
14469 "static": 1,
14470 "params": [
14471 {
14472 "name": "a",
14473 "description": "first object to compare",
14474 "type": "Object"
14475 },
14476 {
14477 "name": "b",
14478 "description": "second object to compare",
14479 "type": "Object"
14480 }
14481 ],
14482 "return": {
14483 "description": "",
14484 "type": "Boolean"
14485 },
14486 "access": "public",
14487 "tagname": "",
14488 "class": "@ember/utils",
14489 "module": "@ember/utils"
14490 },
14491 {
14492 "file": "packages/@ember/-internals/runtime/lib/type-of.js",
14493 "line": 24,
14494 "description": "Returns a consistent type for the passed object.\n\nUse this instead of the built-in `typeof` to get the type of an item.\nIt will return the same result across all browsers and includes a bit\nmore detail. Here is what will be returned:\n\n | Return Value | Meaning |\n |---------------|------------------------------------------------------|\n | 'string' | String primitive or String object. |\n | 'number' | Number primitive or Number object. |\n | 'boolean' | Boolean primitive or Boolean object. |\n | 'null' | Null value |\n | 'undefined' | Undefined value |\n | 'function' | A function |\n | 'array' | An instance of Array |\n | 'regexp' | An instance of RegExp |\n | 'date' | An instance of Date |\n | 'filelist' | An instance of FileList |\n | 'class' | An Ember class (created using EmberObject.extend()) |\n | 'instance' | An Ember object instance |\n | 'error' | An instance of the Error object |\n | 'object' | A JavaScript object not inheriting from EmberObject |\n\nExamples:\n\n```javascript\nimport { A } from '@ember/array';\nimport { typeOf } from '@ember/utils';\nimport EmberObject from '@ember/object';\n\ntypeOf(); // 'undefined'\ntypeOf(null); // 'null'\ntypeOf(undefined); // 'undefined'\ntypeOf('michael'); // 'string'\ntypeOf(new String('michael')); // 'string'\ntypeOf(101); // 'number'\ntypeOf(new Number(101)); // 'number'\ntypeOf(true); // 'boolean'\ntypeOf(new Boolean(true)); // 'boolean'\ntypeOf(A); // 'function'\ntypeOf(A()); // 'array'\ntypeOf([1, 2, 90]); // 'array'\ntypeOf(/abc/); // 'regexp'\ntypeOf(new Date()); // 'date'\ntypeOf(event.target.files); // 'filelist'\ntypeOf(EmberObject.extend()); // 'class'\ntypeOf(EmberObject.create()); // 'instance'\ntypeOf(new Error('teamocil')); // 'error'\n\n// 'normal' JavaScript object\ntypeOf({ a: 'b' }); // 'object'\n```",
14495 "itemtype": "method",
14496 "name": "typeOf",
14497 "params": [
14498 {
14499 "name": "item",
14500 "description": "the item to check",
14501 "type": "Object"
14502 }
14503 ],
14504 "return": {
14505 "description": "the type",
14506 "type": "String"
14507 },
14508 "access": "public",
14509 "tagname": "",
14510 "static": 1,
14511 "class": "@ember/utils",
14512 "module": "@ember/utils"
14513 },
14514 {
14515 "file": "packages/@ember/-internals/utils/lib/guid.ts",
14516 "line": 8,
14517 "description": "Previously we used `Ember.$.uuid`, however `$.uuid` has been removed from\njQuery master. We'll just bootstrap our own uuid now.",
14518 "access": "private",
14519 "tagname": "",
14520 "return": {
14521 "description": "the uuid",
14522 "type": "Number"
14523 },
14524 "class": "Ember",
14525 "module": "@ember/object"
14526 },
14527 {
14528 "file": "packages/@ember/-internals/utils/lib/guid.ts",
14529 "line": 17,
14530 "description": "Generates a universally unique identifier. This method\nis used internally by Ember for assisting with\nthe generation of GUID's and other unique identifiers.",
14531 "access": "public",
14532 "tagname": "",
14533 "return": {
14534 "description": "[description]",
14535 "type": "Number"
14536 },
14537 "class": "Ember",
14538 "module": "@ember/object"
14539 },
14540 {
14541 "file": "packages/@ember/-internals/utils/lib/guid.ts",
14542 "line": 29,
14543 "description": "Prefix used for guids through out Ember.",
14544 "access": "private",
14545 "tagname": "",
14546 "itemtype": "property",
14547 "name": "GUID_PREFIX",
14548 "type": "String",
14549 "final": 1,
14550 "class": "Ember",
14551 "module": "@ember/object"
14552 },
14553 {
14554 "file": "packages/@ember/-internals/utils/lib/guid.ts",
14555 "line": 42,
14556 "description": "A unique key used to assign guids and other private metadata to objects.\nIf you inspect an object in your browser debugger you will often see these.\nThey can be safely ignored.\n\nOn browsers that support it, these properties are added with enumeration\ndisabled so they won't show up when you iterate over your properties.",
14557 "access": "private",
14558 "tagname": "",
14559 "itemtype": "property",
14560 "name": "GUID_KEY",
14561 "type": "String",
14562 "final": 1,
14563 "class": "Ember",
14564 "module": "@ember/object"
14565 },
14566 {
14567 "file": "packages/@ember/-internals/utils/lib/guid.ts",
14568 "line": 58,
14569 "description": "Generates a new guid, optionally saving the guid to the object that you\npass in. You will rarely need to use this method. Instead you should\ncall `guidFor(obj)`, which return an existing guid if available.",
14570 "access": "private",
14571 "tagname": "",
14572 "itemtype": "method",
14573 "name": "generateGuid",
14574 "static": 1,
14575 "params": [
14576 {
14577 "name": "obj",
14578 "description": "Object the guid will be used for. If passed in, the guid will\n be saved on the object and reused whenever you pass the same object\n again.\n\n If no object is passed, just generate a new guid.",
14579 "type": "Object",
14580 "optional": true
14581 },
14582 {
14583 "name": "prefix",
14584 "description": "Prefix to place in front of the guid. Useful when you want to\n separate the guid into separate namespaces.",
14585 "type": "String",
14586 "optional": true
14587 }
14588 ],
14589 "return": {
14590 "description": "the guid",
14591 "type": "String"
14592 },
14593 "class": "@ember/object/internals",
14594 "module": "@ember/object"
14595 },
14596 {
14597 "file": "packages/@ember/-internals/utils/lib/guid.ts",
14598 "line": 86,
14599 "description": "Returns a unique id for the object. If the object does not yet have a guid,\none will be assigned to it. You can call this on any object,\n`EmberObject`-based or not.\n\nYou can also use this method on DOM Element objects.",
14600 "access": "public",
14601 "tagname": "",
14602 "static": 1,
14603 "itemtype": "method",
14604 "name": "guidFor",
14605 "params": [
14606 {
14607 "name": "obj",
14608 "description": "any object, string, number, Element, or primitive",
14609 "type": "Object"
14610 }
14611 ],
14612 "return": {
14613 "description": "the unique guid for this instance.",
14614 "type": "String"
14615 },
14616 "class": "@ember/object/internals",
14617 "module": "@ember/object"
14618 },
14619 {
14620 "file": "packages/@ember/-internals/utils/lib/inspect.ts",
14621 "line": 14,
14622 "description": "Convenience method to inspect an object. This method will attempt to\nconvert the object into a useful string description.\n\nIt is a pretty simple implementation. If you want something more robust,\nuse something like JSDump: https://github.com/NV/jsDump",
14623 "itemtype": "method",
14624 "name": "inspect",
14625 "static": 1,
14626 "params": [
14627 {
14628 "name": "obj",
14629 "description": "The object you want to inspect.",
14630 "type": "Object"
14631 }
14632 ],
14633 "return": {
14634 "description": "A description of the object",
14635 "type": "String"
14636 },
14637 "since": "1.4.0",
14638 "access": "private",
14639 "tagname": "",
14640 "class": "Ember",
14641 "module": "@ember/debug"
14642 },
14643 {
14644 "file": "packages/@ember/-internals/utils/lib/intern.ts",
14645 "line": 1,
14646 "description": "Strongly hint runtimes to intern the provided string.\n\nWhen do I need to use this function?\n\nFor the most part, never. Pre-mature optimization is bad, and often the\nruntime does exactly what you need it to, and more often the trade-off isn't\nworth it.\n\nWhy?\n\nRuntimes store strings in at least 2 different representations:\nRopes and Symbols (interned strings). The Rope provides a memory efficient\ndata-structure for strings created from concatenation or some other string\nmanipulation like splitting.\n\nUnfortunately checking equality of different ropes can be quite costly as\nruntimes must resort to clever string comparison algorithms. These\nalgorithms typically cost in proportion to the length of the string.\nLuckily, this is where the Symbols (interned strings) shine. As Symbols are\nunique by their string content, equality checks can be done by pointer\ncomparison.\n\nHow do I know if my string is a rope or symbol?\n\nTypically (warning general sweeping statement, but truthy in runtimes at\npresent) static strings created as part of the JS source are interned.\nStrings often used for comparisons can be interned at runtime if some\ncriteria are met. One of these criteria can be the size of the entire rope.\nFor example, in chrome 38 a rope longer then 12 characters will not\nintern, nor will segments of that rope.\n\nSome numbers: http://jsperf.com/eval-vs-keys/8\n\nKnown Trick™",
14647 "access": "private",
14648 "tagname": "",
14649 "return": {
14650 "description": "interned version of the provided string",
14651 "type": "String"
14652 },
14653 "class": "Ember",
14654 "module": "@ember/debug"
14655 },
14656 {
14657 "file": "packages/@ember/-internals/utils/lib/invoke.ts",
14658 "line": 1,
14659 "description": "Checks to see if the `methodName` exists on the `obj`.\n\n```javascript\nlet foo = { bar: function() { return 'bar'; }, baz: null };\n\nEmber.canInvoke(foo, 'bar'); // true\nEmber.canInvoke(foo, 'baz'); // false\nEmber.canInvoke(foo, 'bat'); // false\n```",
14660 "itemtype": "method",
14661 "name": "canInvoke",
14662 "params": [
14663 {
14664 "name": "obj",
14665 "description": "The object to check for the method",
14666 "type": "Object"
14667 },
14668 {
14669 "name": "methodName",
14670 "description": "The method name to check for",
14671 "type": "String"
14672 }
14673 ],
14674 "return": {
14675 "description": "",
14676 "type": "Boolean"
14677 },
14678 "access": "private",
14679 "tagname": "",
14680 "class": "Ember",
14681 "module": "@ember/debug"
14682 },
14683 {
14684 "file": "packages/@ember/-internals/utils/lib/invoke.ts",
14685 "line": 27,
14686 "description": "Checks to see if the `methodName` exists on the `obj`,\nand if it does, invokes it with the arguments passed.\n\n```javascript\nimport { tryInvoke } from '@ember/utils';\n\nlet d = new Date('03/15/2013');\n\ntryInvoke(d, 'getTime'); // 1363320000000\ntryInvoke(d, 'setFullYear', [2014]); // 1394856000000\ntryInvoke(d, 'noSuchMethod', [2014]); // undefined\n```",
14687 "itemtype": "method",
14688 "name": "tryInvoke",
14689 "static": 1,
14690 "params": [
14691 {
14692 "name": "obj",
14693 "description": "The object to check for the method",
14694 "type": "Object"
14695 },
14696 {
14697 "name": "methodName",
14698 "description": "The method name to check for",
14699 "type": "String"
14700 },
14701 {
14702 "name": "args",
14703 "description": "The arguments to pass to the method",
14704 "type": "Array",
14705 "optional": true
14706 }
14707 ],
14708 "return": {
14709 "description": "the return value of the invoked method or undefined if it cannot be invoked",
14710 "type": "*"
14711 },
14712 "access": "public",
14713 "tagname": "",
14714 "class": "@ember/utils",
14715 "module": "@ember/utils"
14716 },
14717 {
14718 "file": "packages/@ember/-internals/utils/lib/make-array.ts",
14719 "line": 5,
14720 "description": "Forces the passed object to be part of an array. If the object is already\nan array, it will return the object. Otherwise, it will add the object to\nan array. If object is `null` or `undefined`, it will return an empty array.\n\n```javascript\nimport { makeArray } from '@ember/array';\nimport ArrayProxy from '@ember/array/proxy';\n\nmakeArray(); // []\nmakeArray(null); // []\nmakeArray(undefined); // []\nmakeArray('lindsay'); // ['lindsay']\nmakeArray([1, 2, 42]); // [1, 2, 42]\n\nlet proxy = ArrayProxy.create({ content: [] });\n\nmakeArray(proxy) === proxy; // false\n```",
14721 "itemtype": "method",
14722 "name": "makeArray",
14723 "static": 1,
14724 "params": [
14725 {
14726 "name": "obj",
14727 "description": "the object",
14728 "type": "Object"
14729 }
14730 ],
14731 "return": {
14732 "description": "",
14733 "type": "Array"
14734 },
14735 "access": "private",
14736 "tagname": "",
14737 "class": "@ember/array",
14738 "module": "@ember/array"
14739 },
14740 {
14741 "file": "packages/@ember/-internals/utils/lib/spec.ts",
14742 "line": 1,
14743 "description": "Returns whether Type(value) is Object.\n\nUseful for checking whether a value is a valid WeakMap key.\n\nRefs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n https://tc39.github.io/ecma262/#sec-weakmap.prototype.set",
14744 "access": "private",
14745 "tagname": "",
14746 "itemtype": "method",
14747 "name": "isObject",
14748 "class": "Ember",
14749 "module": "@ember/array"
14750 },
14751 {
14752 "file": "packages/@ember/-internals/utils/lib/super.ts",
14753 "line": 73,
14754 "description": "Wraps the passed function so that `this._super` will point to the superFunc\nwhen the function is invoked. This is the primitive we use to implement\ncalls to super.",
14755 "access": "private",
14756 "tagname": "",
14757 "itemtype": "method",
14758 "name": "wrap",
14759 "params": [
14760 {
14761 "name": "func",
14762 "description": "The function to call",
14763 "type": "Function"
14764 },
14765 {
14766 "name": "superFunc",
14767 "description": "The super function.",
14768 "type": "Function"
14769 }
14770 ],
14771 "return": {
14772 "description": "wrapped function.",
14773 "type": "Function"
14774 },
14775 "class": "Ember",
14776 "module": "@ember/array"
14777 },
14778 {
14779 "file": "packages/@ember/-internals/views/lib/mixins/action_support.js",
14780 "line": 40,
14781 "description": "Calls an action passed to a component.\n\nFor example a component for playing or pausing music may translate click events\ninto action notifications of \"play\" or \"stop\" depending on some internal state\nof the component:\n\n```app/components/play-button.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n click() {\n if (this.get('isPlaying')) {\n this.sendAction('play');\n } else {\n this.sendAction('stop');\n }\n }\n});\n```\n\nThe actions \"play\" and \"stop\" must be passed to this `play-button` component:\n\n```handlebars\n{{! app/templates/application.hbs }}\n{{play-button play=(action \"musicStarted\") stop=(action \"musicStopped\")}}\n```\n\nWhen the component receives a browser `click` event it translate this\ninteraction into application-specific semantics (\"play\" or \"stop\") and\ncalls the specified action.\n\n```app/controller/application.js\nimport Controller from '@ember/controller';\n\nexport default Controller.extend({\n actions: {\n musicStarted() {\n // called when the play button is clicked\n // and the music started playing\n },\n musicStopped() {\n // called when the play button is clicked\n // and the music stopped playing\n }\n }\n});\n```\n\nIf no action is passed to `sendAction` a default name of \"action\"\nis assumed.\n\n```app/components/next-button.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n click() {\n this.sendAction();\n }\n});\n```\n\n```handlebars\n{{! app/templates/application.hbs }}\n{{next-button action=(action \"playNextSongInAlbum\")}}\n```\n\n```app/controllers/application.js\nimport Controller from '@ember/controller';\n\nexport default Controller.extend({\n actions: {\n playNextSongInAlbum() {\n ...\n }\n }\n});\n```",
14782 "itemtype": "method",
14783 "name": "sendAction",
14784 "params": [
14785 {
14786 "name": "action",
14787 "description": "the action to call",
14788 "type": "String",
14789 "optional": true
14790 },
14791 {
14792 "name": "params",
14793 "description": "arguments for the action",
14794 "type": "*",
14795 "optional": true
14796 }
14797 ],
14798 "access": "public",
14799 "tagname": "",
14800 "deprecated": true,
14801 "class": "Ember.ActionSupport",
14802 "module": "ember"
14803 },
14804 {
14805 "file": "packages/@ember/-internals/views/lib/mixins/child_views_support.js",
14806 "line": 8,
14807 "description": "Array of child views. You should never edit this array directly.",
14808 "itemtype": "property",
14809 "name": "childViews",
14810 "type": "Array",
14811 "default": "[]",
14812 "access": "private",
14813 "tagname": "",
14814 "class": "Ember.ClassNamesSupport",
14815 "module": "ember"
14816 },
14817 {
14818 "file": "packages/@ember/-internals/views/lib/mixins/class_names_support.js",
14819 "line": 31,
14820 "description": "Standard CSS class names to apply to the view's outer element. This\nproperty automatically inherits any class names defined by the view's\nsuperclasses as well.",
14821 "itemtype": "property",
14822 "name": "classNames",
14823 "type": "Array",
14824 "default": "['ember-view']",
14825 "access": "public",
14826 "tagname": "",
14827 "class": "Ember.ClassNamesSupport",
14828 "module": "ember",
14829 "namespace": "Ember"
14830 },
14831 {
14832 "file": "packages/@ember/-internals/views/lib/mixins/class_names_support.js",
14833 "line": 43,
14834 "description": "A list of properties of the view to apply as class names. If the property\nis a string value, the value of that string will be applied as a class\nname.\n\n```javascript\n// Applies the 'high' class to the view element\nimport Component from '@ember/component';\nComponent.extend({\n classNameBindings: ['priority'],\n priority: 'high'\n});\n```\n\nIf the value of the property is a Boolean, the name of that property is\nadded as a dasherized class name.\n\n```javascript\n// Applies the 'is-urgent' class to the view element\nimport Component from '@ember/component';\nComponent.extend({\n classNameBindings: ['isUrgent'],\n isUrgent: true\n});\n```\n\nIf you would prefer to use a custom value instead of the dasherized\nproperty name, you can pass a binding like this:\n\n```javascript\n// Applies the 'urgent' class to the view element\nimport Component from '@ember/component';\nComponent.extend({\n classNameBindings: ['isUrgent:urgent'],\n isUrgent: true\n});\n```\n\nIf you would like to specify a class that should only be added when the\nproperty is false, you can declare a binding like this:\n\n```javascript\n// Applies the 'disabled' class to the view element\nimport Component from '@ember/component';\nComponent.extend({\n classNameBindings: ['isEnabled::disabled'],\n isEnabled: false\n});\n```\n\nThis list of properties is inherited from the component's superclasses as well.",
14835 "itemtype": "property",
14836 "name": "classNameBindings",
14837 "type": "Array",
14838 "default": "[]",
14839 "access": "public",
14840 "tagname": "",
14841 "class": "Ember.ClassNamesSupport",
14842 "module": "ember",
14843 "namespace": "Ember"
14844 },
14845 {
14846 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
14847 "line": 146,
14848 "description": "Whether the `keyUp` event that triggers an `action` to be sent continues\npropagating to other views.\n\nBy default, when the user presses the return key on their keyboard and\nthe text field has an `action` set, the action will be sent to the view's\ncontroller and the key event will stop propagating.\n\nIf you would like parent views to receive the `keyUp` event even after an\naction has been dispatched, set `bubbles` to true.",
14849 "itemtype": "property",
14850 "name": "bubbles",
14851 "type": "Boolean",
14852 "default": "false",
14853 "access": "private",
14854 "tagname": "",
14855 "class": "Ember.TextSupport",
14856 "module": "ember",
14857 "namespace": "Ember"
14858 },
14859 {
14860 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
14861 "line": 182,
14862 "description": "Allows you to specify a controller action to invoke when either the `enter`\nkey is pressed or, in the case of the field being a textarea, when a newline\nis inserted. To use this method, give your field an `insert-newline`\nattribute. The value of that attribute should be the name of the action\nin your controller that you wish to invoke.\n\nFor an example on how to use the `insert-newline` attribute, please\nreference the example near the top of this file.",
14863 "itemtype": "method",
14864 "name": "insertNewline",
14865 "params": [
14866 {
14867 "name": "event",
14868 "description": "",
14869 "type": "Event"
14870 }
14871 ],
14872 "access": "private",
14873 "tagname": "",
14874 "class": "Ember.TextSupport",
14875 "module": "ember",
14876 "namespace": "Ember"
14877 },
14878 {
14879 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
14880 "line": 201,
14881 "description": "Allows you to specify a controller action to invoke when the escape button\nis pressed. To use this method, give your field an `escape-press`\nattribute. The value of that attribute should be the name of the action\nin your controller that you wish to invoke.\n\nFor an example on how to use the `escape-press` attribute, please reference\nthe example near the top of this file.",
14882 "itemtype": "method",
14883 "name": "cancel",
14884 "params": [
14885 {
14886 "name": "event",
14887 "description": "",
14888 "type": "Event"
14889 }
14890 ],
14891 "access": "private",
14892 "tagname": "",
14893 "class": "Ember.TextSupport",
14894 "module": "ember",
14895 "namespace": "Ember"
14896 },
14897 {
14898 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
14899 "line": 218,
14900 "description": "Allows you to specify a controller action to invoke when a field receives\nfocus. To use this method, give your field a `focus-in` attribute. The value\nof that attribute should be the name of the action in your controller\nthat you wish to invoke.\n\nFor an example on how to use the `focus-in` attribute, please reference the\nexample near the top of this file.",
14901 "itemtype": "method",
14902 "name": "focusIn",
14903 "params": [
14904 {
14905 "name": "event",
14906 "description": "",
14907 "type": "Event"
14908 }
14909 ],
14910 "access": "private",
14911 "tagname": "",
14912 "class": "Ember.TextSupport",
14913 "module": "ember",
14914 "namespace": "Ember"
14915 },
14916 {
14917 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
14918 "line": 235,
14919 "description": "Allows you to specify a controller action to invoke when a field loses\nfocus. To use this method, give your field a `focus-out` attribute. The value\nof that attribute should be the name of the action in your controller\nthat you wish to invoke.\n\nFor an example on how to use the `focus-out` attribute, please reference the\nexample near the top of this file.",
14920 "itemtype": "method",
14921 "name": "focusOut",
14922 "params": [
14923 {
14924 "name": "event",
14925 "description": "",
14926 "type": "Event"
14927 }
14928 ],
14929 "access": "private",
14930 "tagname": "",
14931 "class": "Ember.TextSupport",
14932 "module": "ember",
14933 "namespace": "Ember"
14934 },
14935 {
14936 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
14937 "line": 253,
14938 "description": "Allows you to specify a controller action to invoke when a key is pressed.\nTo use this method, give your field a `key-press` attribute. The value of\nthat attribute should be the name of the action in your controller you\nthat wish to invoke.\n\nFor an example on how to use the `key-press` attribute, please reference the\nexample near the top of this file.",
14939 "itemtype": "method",
14940 "name": "keyPress",
14941 "params": [
14942 {
14943 "name": "event",
14944 "description": "",
14945 "type": "Event"
14946 }
14947 ],
14948 "access": "private",
14949 "tagname": "",
14950 "class": "Ember.TextSupport",
14951 "module": "ember",
14952 "namespace": "Ember"
14953 },
14954 {
14955 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
14956 "line": 270,
14957 "description": "Allows you to specify a controller action to invoke when a key-up event is\nfired. To use this method, give your field a `key-up` attribute. The value\nof that attribute should be the name of the action in your controller\nthat you wish to invoke.\n\nFor an example on how to use the `key-up` attribute, please reference the\nexample near the top of this file.",
14958 "itemtype": "method",
14959 "name": "keyUp",
14960 "params": [
14961 {
14962 "name": "event",
14963 "description": "",
14964 "type": "Event"
14965 }
14966 ],
14967 "access": "private",
14968 "tagname": "",
14969 "class": "Ember.TextSupport",
14970 "module": "ember",
14971 "namespace": "Ember"
14972 },
14973 {
14974 "file": "packages/@ember/-internals/views/lib/mixins/text_support.js",
14975 "line": 288,
14976 "description": "Allows you to specify a controller action to invoke when a key-down event is\nfired. To use this method, give your field a `key-down` attribute. The value\nof that attribute should be the name of the action in your controller that\nyou wish to invoke.\n\nFor an example on how to use the `key-down` attribute, please reference the\nexample near the top of this file.",
14977 "itemtype": "method",
14978 "name": "keyDown",
14979 "params": [
14980 {
14981 "name": "event",
14982 "description": "",
14983 "type": "Event"
14984 }
14985 ],
14986 "access": "private",
14987 "tagname": "",
14988 "class": "Ember.TextSupport",
14989 "module": "ember",
14990 "namespace": "Ember"
14991 },
14992 {
14993 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
14994 "line": 15,
14995 "description": "A list of properties of the view to apply as attributes. If the property\nis a string value, the value of that string will be applied as the value\nfor an attribute of the property's name.\n\nThe following example creates a tag like `<div priority=\"high\" />`.\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n attributeBindings: ['priority'],\n priority: 'high'\n });\n```\n\nIf the value of the property is a Boolean, the attribute is treated as\nan HTML Boolean attribute. It will be present if the property is `true`\nand omitted if the property is `false`.\n\nThe following example creates markup like `<div visible />`.\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n attributeBindings: ['visible'],\n visible: true\n });\n```\n\nIf you would prefer to use a custom value instead of the property name,\nyou can create the same markup as the last example with a binding like\nthis:\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n attributeBindings: ['isVisible:visible'],\n isVisible: true\n });\n```\n\nThis list of attributes is inherited from the component's superclasses,\nas well.",
14996 "itemtype": "property",
14997 "name": "attributeBindings",
14998 "type": "Array",
14999 "default": "[]",
15000 "access": "public",
15001 "tagname": "",
15002 "class": "Ember.ViewMixin",
15003 "module": "ember"
15004 },
15005 {
15006 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15007 "line": 73,
15008 "description": "Return the nearest ancestor that is an instance of the provided\nclass or mixin.",
15009 "itemtype": "method",
15010 "name": "nearestOfType",
15011 "params": [
15012 {
15013 "name": "klass",
15014 "description": "Subclass of Ember.View (or Ember.View itself),\nor an instance of Mixin.",
15015 "type": "Class,Mixin"
15016 }
15017 ],
15018 "return": {
15019 "description": "Ember.View"
15020 },
15021 "deprecated": true,
15022 "deprecationMessage": "use `yield` and contextual components for composition instead.",
15023 "access": "private",
15024 "tagname": "",
15025 "class": "Ember.ViewMixin",
15026 "module": "ember"
15027 },
15028 {
15029 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15030 "line": 97,
15031 "description": "Return the nearest ancestor that has a given property.",
15032 "itemtype": "method",
15033 "name": "nearestWithProperty",
15034 "params": [
15035 {
15036 "name": "property",
15037 "description": "A property name",
15038 "type": "String"
15039 }
15040 ],
15041 "return": {
15042 "description": "Ember.View"
15043 },
15044 "deprecated": true,
15045 "deprecationMessage": "use `yield` and contextual components for composition instead.",
15046 "access": "private",
15047 "tagname": "",
15048 "class": "Ember.ViewMixin",
15049 "module": "ember"
15050 },
15051 {
15052 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15053 "line": 117,
15054 "description": "Renders the view again. This will work regardless of whether the\nview is already in the DOM or not. If the view is in the DOM, the\nrendering process will be deferred to give bindings a chance\nto synchronize.\n\nIf children were added during the rendering process using `appendChild`,\n`rerender` will remove them, because they will be added again\nif needed by the next `render`.\n\nIn general, if the display of your view changes, you should modify\nthe DOM element directly instead of manually calling `rerender`, which can\nbe slow.",
15055 "itemtype": "method",
15056 "name": "rerender",
15057 "access": "public",
15058 "tagname": "",
15059 "class": "Ember.ViewMixin",
15060 "module": "ember"
15061 },
15062 {
15063 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15064 "line": 142,
15065 "description": "Returns the current DOM element for the view.",
15066 "itemtype": "property",
15067 "name": "element",
15068 "type": "DOMElement",
15069 "access": "public",
15070 "tagname": "",
15071 "class": "Ember.ViewMixin",
15072 "module": "ember"
15073 },
15074 {
15075 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15076 "line": 157,
15077 "description": "Appends the view's element to the specified parent element.\n\nNote that this method just schedules the view to be appended; the DOM\nelement will not be appended to the given element until all bindings have\nfinished synchronizing.\n\nThis is not typically a function that you will need to call directly when\nbuilding your application. If you do need to use `appendTo`, be sure that\nthe target element you are providing is associated with an `Application`\nand does not have an ancestor element that is associated with an Ember view.",
15078 "itemtype": "method",
15079 "name": "appendTo",
15080 "params": [
15081 {
15082 "name": "A",
15083 "description": "selector, element, HTML string, or jQuery object",
15084 "type": "String|DOMElement|jQuery"
15085 }
15086 ],
15087 "return": {
15088 "description": "receiver",
15089 "type": "Ember.View"
15090 },
15091 "access": "private",
15092 "tagname": "",
15093 "class": "Ember.ViewMixin",
15094 "module": "ember"
15095 },
15096 {
15097 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15098 "line": 215,
15099 "description": "Appends the view's element to the document body. If the view does\nnot have an HTML representation yet\nthe element will be generated automatically.\n\nIf your application uses the `rootElement` property, you must append\nthe view within that element. Rendering views outside of the `rootElement`\nis not supported.\n\nNote that this method just schedules the view to be appended; the DOM\nelement will not be appended to the document body until all bindings have\nfinished synchronizing.",
15100 "itemtype": "method",
15101 "name": "append",
15102 "return": {
15103 "description": "receiver",
15104 "type": "Ember.View"
15105 },
15106 "access": "private",
15107 "tagname": "",
15108 "class": "Ember.ViewMixin",
15109 "module": "ember"
15110 },
15111 {
15112 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15113 "line": 236,
15114 "description": "The HTML `id` of the view's element in the DOM. You can provide this\nvalue yourself but it must be unique (just as in HTML):\n\n```handlebars\n{{my-component elementId=\"a-really-cool-id\"}}\n```\n\nIf not manually set a default value will be provided by the framework.\n\nOnce rendered an element's `elementId` is considered immutable and you\nshould never change it. If you need to compute a dynamic value for the\n`elementId`, you should do this when the component or element is being\ninstantiated:\n\n```app/components/my-component.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n init() {\n this._super(...arguments);\n let index = this.get('index');\n this.set('elementId', 'component-id' + index);\n }\n });\n```",
15115 "itemtype": "property",
15116 "name": "elementId",
15117 "type": "String",
15118 "access": "public",
15119 "tagname": "",
15120 "class": "Ember.ViewMixin",
15121 "module": "ember"
15122 },
15123 {
15124 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15125 "line": 269,
15126 "description": "Called when a view is going to insert an element into the DOM.",
15127 "itemtype": "event",
15128 "name": "willInsertElement",
15129 "access": "public",
15130 "tagname": "",
15131 "class": "Ember.ViewMixin",
15132 "module": "ember"
15133 },
15134 {
15135 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15136 "line": 277,
15137 "description": "Called when the element of the view has been inserted into the DOM.\nOverride this function to do any set up that requires an element\nin the document body.\n\nWhen a view has children, didInsertElement will be called on the\nchild view(s) first and on itself afterwards.",
15138 "itemtype": "event",
15139 "name": "didInsertElement",
15140 "access": "public",
15141 "tagname": "",
15142 "class": "Ember.ViewMixin",
15143 "module": "ember"
15144 },
15145 {
15146 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15147 "line": 290,
15148 "description": "Called when the view is about to rerender, but before anything has\nbeen torn down. This is a good opportunity to tear down any manual\nobservers you have installed based on the DOM state",
15149 "itemtype": "event",
15150 "name": "willClearRender",
15151 "access": "public",
15152 "tagname": "",
15153 "class": "Ember.ViewMixin",
15154 "module": "ember"
15155 },
15156 {
15157 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15158 "line": 300,
15159 "description": "You must call `destroy` on a view to destroy the view (and all of its\nchild views). This will remove the view from any parent node, then make\nsure that the DOM element managed by the view can be released by the\nmemory manager.",
15160 "itemtype": "method",
15161 "name": "destroy",
15162 "access": "private",
15163 "tagname": "",
15164 "class": "Ember.ViewMixin",
15165 "module": "ember"
15166 },
15167 {
15168 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15169 "line": 314,
15170 "description": "Called when the element of the view is going to be destroyed. Override\nthis function to do any teardown that requires an element, like removing\nevent listeners.\n\nPlease note: any property changes made during this event will have no\neffect on object observers.",
15171 "itemtype": "event",
15172 "name": "willDestroyElement",
15173 "access": "public",
15174 "tagname": "",
15175 "class": "Ember.ViewMixin",
15176 "module": "ember"
15177 },
15178 {
15179 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15180 "line": 327,
15181 "description": "Called after the element of the view is destroyed.",
15182 "itemtype": "event",
15183 "name": "willDestroyElement",
15184 "access": "public",
15185 "tagname": "",
15186 "class": "Ember.ViewMixin",
15187 "module": "ember"
15188 },
15189 {
15190 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15191 "line": 335,
15192 "description": "Called when the parentView property has changed.",
15193 "itemtype": "event",
15194 "name": "parentViewDidChange",
15195 "access": "private",
15196 "tagname": "",
15197 "class": "Ember.ViewMixin",
15198 "module": "ember"
15199 },
15200 {
15201 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15202 "line": 347,
15203 "description": "Tag name for the view's outer element. The tag name is only used when an\nelement is first created. If you change the `tagName` for an element, you\nmust destroy and recreate the view element.\n\nBy default, the render buffer will use a `<div>` tag for views.\n\nIf the tagName is `''`, the view will be tagless, with no outer element.\nComponent properties that depend on the presence of an outer element, such\nas `classNameBindings` and `attributeBindings`, do not work with tagless\ncomponents. Tagless components cannot implement methods to handle events,\nand have no associated jQuery object to return with `$()`.",
15204 "itemtype": "property",
15205 "name": "tagName",
15206 "type": "String",
15207 "default": "null",
15208 "access": "public",
15209 "tagname": "",
15210 "class": "Ember.ViewMixin",
15211 "module": "ember"
15212 },
15213 {
15214 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15215 "line": 374,
15216 "description": "Setup a view, but do not finish waking it up.\n\n* configure `childViews`\n* register the view with the global views hash, which is used for event\ndispatch",
15217 "itemtype": "method",
15218 "name": "init",
15219 "access": "private",
15220 "tagname": "",
15221 "class": "Ember.ViewMixin",
15222 "module": "ember"
15223 },
15224 {
15225 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15226 "line": 410,
15227 "description": "Handle events from `EventDispatcher`",
15228 "itemtype": "method",
15229 "name": "handleEvent",
15230 "params": [
15231 {
15232 "name": "eventName",
15233 "description": "",
15234 "type": "String"
15235 },
15236 {
15237 "name": "evt",
15238 "description": "",
15239 "type": "Event"
15240 }
15241 ],
15242 "access": "private",
15243 "tagname": "",
15244 "class": "Ember.ViewMixin",
15245 "module": "ember"
15246 },
15247 {
15248 "file": "packages/@ember/-internals/views/lib/mixins/view_support.js",
15249 "line": 424,
15250 "description": "Returns a jQuery object for this view's element. If you pass in a selector\nstring, this method will return a jQuery object, using the current element\nas its buffer.\n\nFor example, calling `view.$('li')` will return a jQuery object containing\nall of the `li` elements inside the DOM element of this view.",
15251 "itemtype": "method",
15252 "name": "$",
15253 "params": [
15254 {
15255 "name": "selector",
15256 "description": "a jQuery-compatible selector string",
15257 "type": "String",
15258 "optional": true
15259 }
15260 ],
15261 "return": {
15262 "description": "the jQuery object for the DOM node",
15263 "type": "JQuery"
15264 },
15265 "access": "public",
15266 "tagname": "",
15267 "deprecated": true,
15268 "class": "Ember.ViewMixin",
15269 "module": "ember"
15270 },
15271 {
15272 "file": "packages/@ember/-internals/views/lib/system/action_manager.js",
15273 "line": 7,
15274 "description": "Global action id hash.",
15275 "access": "private",
15276 "tagname": "",
15277 "itemtype": "property",
15278 "name": "registeredActions",
15279 "type": "Object",
15280 "class": "Ember.EventDispatcher",
15281 "module": "ember"
15282 },
15283 {
15284 "file": "packages/@ember/-internals/views/lib/system/event_dispatcher.js",
15285 "line": 37,
15286 "description": "The set of events names (and associated handler function names) to be setup\nand dispatched by the `EventDispatcher`. Modifications to this list can be done\nat setup time, generally via the `Application.customEvents` hash.\n\nTo add new events to be listened to:\n\n```javascript\nimport Application from '@ember/application';\n\nlet App = Application.create({\n customEvents: {\n paste: 'paste'\n }\n});\n```\n\nTo prevent default events from being listened to:\n\n```javascript\nimport Application from '@ember/application';\n\nlet App = Application.create({\n customEvents: {\n mouseenter: null,\n mouseleave: null\n }\n});\n```",
15287 "itemtype": "property",
15288 "name": "events",
15289 "type": "Object",
15290 "access": "private",
15291 "tagname": "",
15292 "class": "Ember.EventDispatcher",
15293 "module": "ember",
15294 "namespace": "Ember"
15295 },
15296 {
15297 "file": "packages/@ember/-internals/views/lib/system/event_dispatcher.js",
15298 "line": 106,
15299 "description": "The root DOM element to which event listeners should be attached. Event\nlisteners will be attached to the document unless this is overridden.\n\nCan be specified as a DOMElement or a selector string.\n\nThe default body is a string since this may be evaluated before document.body\nexists in the DOM.",
15300 "access": "private",
15301 "tagname": "",
15302 "itemtype": "property",
15303 "name": "rootElement",
15304 "type": "DOMElement",
15305 "default": "'body'",
15306 "class": "Ember.EventDispatcher",
15307 "module": "ember",
15308 "namespace": "Ember"
15309 },
15310 {
15311 "file": "packages/@ember/-internals/views/lib/system/event_dispatcher.js",
15312 "line": 138,
15313 "description": "Sets up event listeners for standard browser events.\n\nThis will be called after the browser sends a `DOMContentReady` event. By\ndefault, it will set up all of the listeners on the document body. If you\nwould like to register the listeners on a different element, set the event\ndispatcher's `root` property.",
15314 "access": "private",
15315 "tagname": "",
15316 "itemtype": "method",
15317 "name": "setup",
15318 "params": [
15319 {
15320 "name": "addedEvents",
15321 "description": "",
15322 "type": "Object"
15323 }
15324 ],
15325 "class": "Ember.EventDispatcher",
15326 "module": "ember",
15327 "namespace": "Ember"
15328 },
15329 {
15330 "file": "packages/@ember/-internals/views/lib/system/event_dispatcher.js",
15331 "line": 232,
15332 "description": "Registers an event listener on the rootElement. If the given event is\ntriggered, the provided event handler will be triggered on the target view.\n\nIf the target view does not implement the event handler, or if the handler\nreturns `false`, the parent view will be called. The event will continue to\nbubble to each successive parent view until it reaches the top.",
15333 "access": "private",
15334 "tagname": "",
15335 "itemtype": "method",
15336 "name": "setupHandler",
15337 "params": [
15338 {
15339 "name": "rootElement",
15340 "description": "",
15341 "type": "Element"
15342 },
15343 {
15344 "name": "event",
15345 "description": "the browser-originated event to listen to",
15346 "type": "String"
15347 },
15348 {
15349 "name": "eventName",
15350 "description": "the name of the method to call on the view",
15351 "type": "String"
15352 }
15353 ],
15354 "class": "Ember.EventDispatcher",
15355 "module": "ember",
15356 "namespace": "Ember"
15357 },
15358 {
15359 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15360 "line": 41,
15361 "access": "private",
15362 "tagname": "",
15363 "itemtype": "method",
15364 "name": "getRootViews",
15365 "params": [
15366 {
15367 "name": "owner",
15368 "description": "",
15369 "type": "Object"
15370 }
15371 ],
15372 "class": "Ember.CoreView",
15373 "module": "ember"
15374 },
15375 {
15376 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15377 "line": 62,
15378 "access": "private",
15379 "tagname": "",
15380 "itemtype": "method",
15381 "name": "getViewId",
15382 "params": [
15383 {
15384 "name": "view",
15385 "description": "",
15386 "type": "Ember.View"
15387 }
15388 ],
15389 "class": "Ember.CoreView",
15390 "module": "ember"
15391 },
15392 {
15393 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15394 "line": 82,
15395 "access": "private",
15396 "tagname": "",
15397 "itemtype": "method",
15398 "name": "getViewElement",
15399 "params": [
15400 {
15401 "name": "view",
15402 "description": "",
15403 "type": "Ember.View"
15404 }
15405 ],
15406 "class": "Ember.CoreView",
15407 "module": "ember"
15408 },
15409 {
15410 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15411 "line": 114,
15412 "access": "private",
15413 "tagname": "",
15414 "itemtype": "method",
15415 "name": "getChildViews",
15416 "params": [
15417 {
15418 "name": "view",
15419 "description": "",
15420 "type": "Ember.View"
15421 }
15422 ],
15423 "class": "Ember.CoreView",
15424 "module": "ember"
15425 },
15426 {
15427 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15428 "line": 156,
15429 "access": "private",
15430 "tagname": "",
15431 "itemtype": "method",
15432 "name": "getViewBounds",
15433 "params": [
15434 {
15435 "name": "view",
15436 "description": "",
15437 "type": "Ember.View"
15438 }
15439 ],
15440 "class": "Ember.CoreView",
15441 "module": "ember"
15442 },
15443 {
15444 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15445 "line": 165,
15446 "access": "private",
15447 "tagname": "",
15448 "itemtype": "method",
15449 "name": "getViewRange",
15450 "params": [
15451 {
15452 "name": "view",
15453 "description": "",
15454 "type": "Ember.View"
15455 }
15456 ],
15457 "class": "Ember.CoreView",
15458 "module": "ember"
15459 },
15460 {
15461 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15462 "line": 180,
15463 "description": "`getViewClientRects` provides information about the position of the border\nbox edges of a view relative to the viewport.\n\nIt is only intended to be used by development tools like the Ember Inspector\nand may not work on older browsers.",
15464 "access": "private",
15465 "tagname": "",
15466 "itemtype": "method",
15467 "name": "getViewClientRects",
15468 "params": [
15469 {
15470 "name": "view",
15471 "description": "",
15472 "type": "Ember.View"
15473 }
15474 ],
15475 "class": "Ember.CoreView",
15476 "module": "ember"
15477 },
15478 {
15479 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15480 "line": 196,
15481 "description": "`getViewBoundingClientRect` provides information about the position of the\nbounding border box edges of a view relative to the viewport.\n\nIt is only intended to be used by development tools like the Ember Inspector\nand may not work on older browsers.",
15482 "access": "private",
15483 "tagname": "",
15484 "itemtype": "method",
15485 "name": "getViewBoundingClientRect",
15486 "params": [
15487 {
15488 "name": "view",
15489 "description": "",
15490 "type": "Ember.View"
15491 }
15492 ],
15493 "class": "Ember.CoreView",
15494 "module": "ember"
15495 },
15496 {
15497 "file": "packages/@ember/-internals/views/lib/system/utils.ts",
15498 "line": 212,
15499 "description": "Determines if the element matches the specified selector.",
15500 "access": "private",
15501 "tagname": "",
15502 "itemtype": "method",
15503 "name": "matches",
15504 "params": [
15505 {
15506 "name": "el",
15507 "description": "",
15508 "type": "DOMElement"
15509 },
15510 {
15511 "name": "selector",
15512 "description": "",
15513 "type": "String"
15514 }
15515 ],
15516 "class": "Ember.CoreView",
15517 "module": "ember"
15518 },
15519 {
15520 "file": "packages/@ember/-internals/views/lib/views/core_view.js",
15521 "line": 37,
15522 "description": "If the view is currently inserted into the DOM of a parent view, this\nproperty will point to the parent of the view.",
15523 "itemtype": "property",
15524 "name": "parentView",
15525 "type": "Ember.View",
15526 "default": "null",
15527 "access": "private",
15528 "tagname": "",
15529 "class": "Ember.CoreView",
15530 "module": "ember",
15531 "namespace": "Ember"
15532 },
15533 {
15534 "file": "packages/@ember/-internals/views/lib/views/core_view.js",
15535 "line": 55,
15536 "description": "Override the default event firing from `Evented` to\nalso call methods with the given name.",
15537 "itemtype": "method",
15538 "name": "trigger",
15539 "params": [
15540 {
15541 "name": "name",
15542 "description": "",
15543 "type": "String"
15544 }
15545 ],
15546 "access": "private",
15547 "tagname": "",
15548 "class": "Ember.CoreView",
15549 "module": "ember",
15550 "namespace": "Ember"
15551 },
15552 {
15553 "file": "packages/@ember/application/lib/application.js",
15554 "line": 192,
15555 "description": "The root DOM element of the Application. This can be specified as an\nelement or a\n[jQuery-compatible selector string](http://api.jquery.com/category/selectors/).\n\nThis is the element that will be passed to the Application's,\n`eventDispatcher`, which sets up the listeners for event delegation. Every\nview in your application should be a child of the element you specify here.",
15556 "itemtype": "property",
15557 "name": "rootElement",
15558 "type": "DOMElement",
15559 "default": "'body'",
15560 "access": "public",
15561 "tagname": "",
15562 "class": "Application",
15563 "module": "@ember/application"
15564 },
15565 {
15566 "file": "packages/@ember/application/lib/application.js",
15567 "line": 208,
15568 "description": "The `Ember.EventDispatcher` responsible for delegating events to this\napplication's views.\n\nThe event dispatcher is created by the application at initialization time\nand sets up event listeners on the DOM element described by the\napplication's `rootElement` property.\n\nSee the documentation for `Ember.EventDispatcher` for more information.",
15569 "itemtype": "property",
15570 "name": "eventDispatcher",
15571 "type": "Ember.EventDispatcher",
15572 "default": "null",
15573 "access": "public",
15574 "tagname": "",
15575 "class": "Application",
15576 "module": "@ember/application"
15577 },
15578 {
15579 "file": "packages/@ember/application/lib/application.js",
15580 "line": 225,
15581 "description": "The DOM events for which the event dispatcher should listen.\n\nBy default, the application's `Ember.EventDispatcher` listens\nfor a set of standard DOM events, such as `mousedown` and\n`keyup`, and delegates them to your application's `Ember.View`\ninstances.\n\nIf you would like additional bubbling events to be delegated to your\nviews, set your `Application`'s `customEvents` property\nto a hash containing the DOM event name as the key and the\ncorresponding view method name as the value. Setting an event to\na value of `null` will prevent a default event listener from being\nadded for that event.\n\nTo add new events to be listened to:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n customEvents: {\n // add support for the paste event\n paste: 'paste'\n }\n});\n```\n\nTo prevent default events from being listened to:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n customEvents: {\n // remove support for mouseenter / mouseleave events\n mouseenter: null,\n mouseleave: null\n }\n});\n```",
15582 "itemtype": "property",
15583 "name": "customEvents",
15584 "type": "Object",
15585 "default": "null",
15586 "access": "public",
15587 "tagname": "",
15588 "class": "Application",
15589 "module": "@ember/application"
15590 },
15591 {
15592 "file": "packages/@ember/application/lib/application.js",
15593 "line": 273,
15594 "description": "Whether the application should automatically start routing and render\ntemplates to the `rootElement` on DOM ready. While default by true,\nother environments such as FastBoot or a testing harness can set this\nproperty to `false` and control the precise timing and behavior of the boot\nprocess.",
15595 "itemtype": "property",
15596 "name": "autoboot",
15597 "type": "Boolean",
15598 "default": "true",
15599 "access": "private",
15600 "tagname": "",
15601 "class": "Application",
15602 "module": "@ember/application"
15603 },
15604 {
15605 "file": "packages/@ember/application/lib/application.js",
15606 "line": 287,
15607 "description": "Whether the application should be configured for the legacy \"globals mode\".\nUnder this mode, the Application object serves as a global namespace for all\nclasses.\n\n```javascript\nimport Application from '@ember/application';\nimport Component from '@ember/component';\n\nlet App = Application.create({\n ...\n});\n\nApp.Router.reopen({\n location: 'none'\n});\n\nApp.Router.map({\n ...\n});\n\nApp.MyComponent = Component.extend({\n ...\n});\n```\n\nThis flag also exposes other internal APIs that assumes the existence of\na special \"default instance\", like `App.__container__.lookup(...)`.\n\nThis option is currently not configurable, its value is derived from\nthe `autoboot` flag – disabling `autoboot` also implies opting-out of\nglobals mode support, although they are ultimately orthogonal concerns.\n\nSome of the global modes features are already deprecated in 1.x. The\nexistence of this flag is to untangle the globals mode code paths from\nthe autoboot code paths, so that these legacy features can be reviewed\nfor deprecation/removal separately.\n\nForcing the (autoboot=true, _globalsMode=false) here and running the tests\nwould reveal all the places where we are still relying on these legacy\nbehavior internally (mostly just tests).",
15608 "itemtype": "property",
15609 "name": "_globalsMode",
15610 "type": "Boolean",
15611 "default": "true",
15612 "access": "private",
15613 "tagname": "",
15614 "class": "Application",
15615 "module": "@ember/application"
15616 },
15617 {
15618 "file": "packages/@ember/application/lib/application.js",
15619 "line": 336,
15620 "description": "An array of application instances created by `buildInstance()`. Used\ninternally to ensure that all instances get destroyed.",
15621 "itemtype": "property",
15622 "name": "_applicationInstances",
15623 "type": "Array",
15624 "default": "null",
15625 "access": "private",
15626 "tagname": "",
15627 "class": "Application",
15628 "module": "@ember/application"
15629 },
15630 {
15631 "file": "packages/@ember/application/lib/application.js",
15632 "line": 382,
15633 "description": "Create an ApplicationInstance for this application.",
15634 "access": "public",
15635 "tagname": "",
15636 "itemtype": "method",
15637 "name": "buildInstance",
15638 "return": {
15639 "description": "the application instance",
15640 "type": "ApplicationInstance"
15641 },
15642 "class": "Application",
15643 "module": "@ember/application"
15644 },
15645 {
15646 "file": "packages/@ember/application/lib/application.js",
15647 "line": 405,
15648 "description": "Start tracking an ApplicationInstance for this application.\nUsed when the ApplicationInstance is created.",
15649 "access": "private",
15650 "tagname": "",
15651 "itemtype": "method",
15652 "name": "_watchInstance",
15653 "class": "Application",
15654 "module": "@ember/application"
15655 },
15656 {
15657 "file": "packages/@ember/application/lib/application.js",
15658 "line": 416,
15659 "description": "Stop tracking an ApplicationInstance for this application.\nUsed when the ApplicationInstance is about to be destroyed.",
15660 "access": "private",
15661 "tagname": "",
15662 "itemtype": "method",
15663 "name": "_unwatchInstance",
15664 "class": "Application",
15665 "module": "@ember/application"
15666 },
15667 {
15668 "file": "packages/@ember/application/lib/application.js",
15669 "line": 427,
15670 "description": "Enable the legacy globals mode by allowing this application to act\nas a global namespace. See the docs on the `_globalsMode` property\nfor details.\n\nMost of these features are already deprecated in 1.x, so we can\nstop using them internally and try to remove them.",
15671 "access": "private",
15672 "tagname": "",
15673 "itemtype": "method",
15674 "name": "_prepareForGlobalsMode",
15675 "class": "Application",
15676 "module": "@ember/application"
15677 },
15678 {
15679 "file": "packages/@ember/application/lib/application.js",
15680 "line": 471,
15681 "description": "Automatically kick-off the boot process for the application once the\nDOM has become ready.\n\nThe initialization itself is scheduled on the actions queue which\nensures that code-loading finishes before booting.\n\nIf you are asynchronously loading code, you should call `deferReadiness()`\nto defer booting, and then call `advanceReadiness()` once all of your code\nhas finished loading.",
15682 "access": "private",
15683 "tagname": "",
15684 "itemtype": "method",
15685 "name": "waitForDOMReady",
15686 "class": "Application",
15687 "module": "@ember/application"
15688 },
15689 {
15690 "file": "packages/@ember/application/lib/application.js",
15691 "line": 493,
15692 "description": "This is the autoboot flow:\n\n1. Boot the app by calling `this.boot()`\n2. Create an instance (or use the `__deprecatedInstance__` in globals mode)\n3. Boot the instance by calling `instance.boot()`\n4. Invoke the `App.ready()` callback\n5. Kick-off routing on the instance\n\nIdeally, this is all we would need to do:\n\n```javascript\n_autoBoot() {\n this.boot().then(() => {\n let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.buildInstance();\n return instance.boot();\n }).then((instance) => {\n App.ready();\n instance.startRouting();\n });\n}\n```\n\nUnfortunately, we cannot actually write this because we need to participate\nin the \"synchronous\" boot process. While the code above would work fine on\nthe initial boot (i.e. DOM ready), when `App.reset()` is called, we need to\nboot a new instance synchronously (see the documentation on `_bootSync()`\nfor details).\n\nBecause of this restriction, the actual logic of this method is located\ninside `didBecomeReady()`.",
15693 "access": "private",
15694 "tagname": "",
15695 "itemtype": "method",
15696 "name": "domReady",
15697 "class": "Application",
15698 "module": "@ember/application"
15699 },
15700 {
15701 "file": "packages/@ember/application/lib/application.js",
15702 "line": 538,
15703 "description": "Use this to defer readiness until some condition is true.\n\nExample:\n\n```javascript\nimport Application from '@ember/application';\n\nlet App = Application.create();\n\nApp.deferReadiness();\n\n// $ is a reference to the jQuery object/function\nimport $ from 'jquery;\n\n$.getJSON('/auth-token', function(token) {\n App.token = token;\n App.advanceReadiness();\n});\n```\n\nThis allows you to perform asynchronous setup logic and defer\nbooting your application until the setup has finished.\n\nHowever, if the setup requires a loading UI, it might be better\nto use the router for this purpose.",
15704 "itemtype": "method",
15705 "name": "deferReadiness",
15706 "access": "public",
15707 "tagname": "",
15708 "class": "Application",
15709 "module": "@ember/application"
15710 },
15711 {
15712 "file": "packages/@ember/application/lib/application.js",
15713 "line": 589,
15714 "description": "Call `advanceReadiness` after any asynchronous setup logic has completed.\nEach call to `deferReadiness` must be matched by a call to `advanceReadiness`\nor the application will never become ready and routing will not begin.",
15715 "itemtype": "method",
15716 "name": "advanceReadiness",
15717 "see": [
15718 "{Application#deferReadiness}"
15719 ],
15720 "access": "public",
15721 "tagname": "",
15722 "class": "Application",
15723 "module": "@ember/application"
15724 },
15725 {
15726 "file": "packages/@ember/application/lib/application.js",
15727 "line": 626,
15728 "description": "Initialize the application and return a promise that resolves with the `Application`\nobject when the boot process is complete.\n\nRun any application initializers and run the application load hook. These hooks may\nchoose to defer readiness. For example, an authentication hook might want to defer\nreadiness until the auth token has been retrieved.\n\nBy default, this method is called automatically on \"DOM ready\"; however, if autoboot\nis disabled, this is automatically called when the first application instance is\ncreated via `visit`.",
15729 "access": "public",
15730 "tagname": "",
15731 "itemtype": "method",
15732 "name": "boot",
15733 "return": {
15734 "description": "",
15735 "type": "Promise<Application,Error>"
15736 },
15737 "class": "Application",
15738 "module": "@ember/application"
15739 },
15740 {
15741 "file": "packages/@ember/application/lib/application.js",
15742 "line": 664,
15743 "description": "Unfortunately, a lot of existing code assumes the booting process is\n\"synchronous\". Specifically, a lot of tests assumes the last call to\n`app.advanceReadiness()` or `app.reset()` will result in the app being\nfully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this assumption,\nso we created the asynchronous version above that returns a promise. But until\nwe have migrated all the code, we would have to expose this method for use\n*internally* in places where we need to boot an app \"synchronously\".",
15744 "access": "private",
15745 "tagname": "",
15746 "class": "Application",
15747 "module": "@ember/application"
15748 },
15749 {
15750 "file": "packages/@ember/application/lib/application.js",
15751 "line": 703,
15752 "description": "Reset the application. This is typically used only in tests. It cleans up\nthe application in the following order:\n\n1. Deactivate existing routes\n2. Destroy all objects in the container\n3. Create a new application container\n4. Re-route to the existing url\n\nTypical Example:\n\n```javascript\nimport Application from '@ember/application';\nlet App;\n\nrun(function() {\n App = Application.create();\n});\n\nmodule('acceptance test', {\n setup: function() {\n App.reset();\n }\n});\n\ntest('first test', function() {\n // App is freshly reset\n});\n\ntest('second test', function() {\n // App is again freshly reset\n});\n```\n\nAdvanced Example:\n\nOccasionally you may want to prevent the app from initializing during\nsetup. This could enable extra configuration, or enable asserting prior\nto the app becoming ready.\n\n```javascript\nimport Application from '@ember/application';\nlet App;\n\nrun(function() {\n App = Application.create();\n});\n\nmodule('acceptance test', {\n setup: function() {\n run(function() {\n App.reset();\n App.deferReadiness();\n });\n }\n});\n\ntest('first test', function() {\n ok(true, 'something before app is initialized');\n\n run(function() {\n App.advanceReadiness();\n });\n\n ok(true, 'something after app is initialized');\n});\n```",
15753 "itemtype": "method",
15754 "name": "reset",
15755 "access": "public",
15756 "tagname": "",
15757 "class": "Application",
15758 "module": "@ember/application"
15759 },
15760 {
15761 "file": "packages/@ember/application/lib/application.js",
15762 "line": 806,
15763 "access": "private",
15764 "tagname": "",
15765 "itemtype": "method",
15766 "name": "didBecomeReady",
15767 "class": "Application",
15768 "module": "@ember/application"
15769 },
15770 {
15771 "file": "packages/@ember/application/lib/application.js",
15772 "line": 861,
15773 "description": "Called when the Application has become ready, immediately before routing\nbegins. The call will be delayed until the DOM has become ready.",
15774 "itemtype": "event",
15775 "name": "ready",
15776 "access": "public",
15777 "tagname": "",
15778 "class": "Application",
15779 "module": "@ember/application"
15780 },
15781 {
15782 "file": "packages/@ember/application/lib/application.js",
15783 "line": 888,
15784 "description": "Boot a new instance of `ApplicationInstance` for the current\napplication and navigate it to the given `url`. Returns a `Promise` that\nresolves with the instance when the initial routing and rendering is\ncomplete, or rejects with any error that occurred during the boot process.\n\nWhen `autoboot` is disabled, calling `visit` would first cause the\napplication to boot, which runs the application initializers.\n\nThis method also takes a hash of boot-time configuration options for\ncustomizing the instance's behavior. See the documentation on\n`ApplicationInstance.BootOptions` for details.\n\n`ApplicationInstance.BootOptions` is an interface class that exists\npurely to document the available options; you do not need to construct it\nmanually. Simply pass a regular JavaScript object containing of the\ndesired options:\n\n```javascript\nMyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n```\n\n### Supported Scenarios\n\nWhile the `BootOptions` class exposes a large number of knobs, not all\ncombinations of them are valid; certain incompatible combinations might\nresult in unexpected behavior.\n\nFor example, booting the instance in the full browser environment\nwhile specifying a foreign `document` object (e.g. `{ isBrowser: true,\ndocument: iframe.contentDocument }`) does not work correctly today,\nlargely due to Ember's jQuery dependency.\n\nCurrently, there are three officially supported scenarios/configurations.\nUsages outside of these scenarios are not guaranteed to work, but please\nfeel free to file bug reports documenting your experience and any issues\nyou encountered to help expand support.\n\n#### Browser Applications (Manual Boot)\n\nThe setup is largely similar to how Ember works out-of-the-box. Normally,\nEmber will boot a default instance for your Application on \"DOM ready\".\nHowever, you can customize this behavior by disabling `autoboot`.\n\nFor example, this allows you to render a miniture demo of your application\ninto a specific area on your marketing website:\n\n```javascript\nimport MyApp from 'my-app';\n\n$(function() {\n let App = MyApp.create({ autoboot: false });\n\n let options = {\n // Override the router's location adapter to prevent it from updating\n // the URL in the address bar\n location: 'none',\n\n // Override the default `rootElement` on the app to render into a\n // specific `div` on the page\n rootElement: '#demo'\n };\n\n // Start the app at the special demo URL\n App.visit('/demo', options);\n});\n```\n\nOr perhaps you might want to boot two instances of your app on the same\npage for a split-screen multiplayer experience:\n\n```javascript\nimport MyApp from 'my-app';\n\n$(function() {\n let App = MyApp.create({ autoboot: false });\n\n let sessionId = MyApp.generateSessionID();\n\n let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n\n Promise.all([player1, player2]).then(() => {\n // Both apps have completed the initial render\n $('#loading').fadeOut();\n });\n});\n```\n\nDo note that each app instance maintains their own registry/container, so\nthey will run in complete isolation by default.\n\n#### Server-Side Rendering (also known as FastBoot)\n\nThis setup allows you to run your Ember app in a server environment using\nNode.js and render its content into static HTML for SEO purposes.\n\n```javascript\nconst HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n\nfunction renderURL(url) {\n let dom = new SimpleDOM.Document();\n let rootElement = dom.body;\n let options = { isBrowser: false, document: dom, rootElement: rootElement };\n\n return MyApp.visit(options).then(instance => {\n try {\n return HTMLSerializer.serialize(rootElement.firstChild);\n } finally {\n instance.destroy();\n }\n });\n}\n```\n\nIn this scenario, because Ember does not have access to a global `document`\nobject in the Node.js environment, you must provide one explicitly. In practice,\nin the non-browser environment, the stand-in `document` object only needs to\nimplement a limited subset of the full DOM API. The `SimpleDOM` library is known\nto work.\n\nSince there is no access to jQuery in the non-browser environment, you must also\nspecify a DOM `Element` object in the same `document` for the `rootElement` option\n(as opposed to a selector string like `\"body\"`).\n\nSee the documentation on the `isBrowser`, `document` and `rootElement` properties\non `ApplicationInstance.BootOptions` for details.\n\n#### Server-Side Resource Discovery\n\nThis setup allows you to run the routing layer of your Ember app in a server\nenvironment using Node.js and completely disable rendering. This allows you\nto simulate and discover the resources (i.e. AJAX requests) needed to fulfill\na given request and eagerly \"push\" these resources to the client.\n\n```app/initializers/network-service.js\nimport BrowserNetworkService from 'app/services/network/browser';\nimport NodeNetworkService from 'app/services/network/node';\n\n// Inject a (hypothetical) service for abstracting all AJAX calls and use\n// the appropriate implementation on the client/server. This also allows the\n// server to log all the AJAX calls made during a particular request and use\n// that for resource-discovery purpose.\n\nexport function initialize(application) {\n if (window) { // browser\n application.register('service:network', BrowserNetworkService);\n } else { // node\n application.register('service:network', NodeNetworkService);\n }\n\n application.inject('route', 'network', 'service:network');\n};\n\nexport default {\n name: 'network-service',\n initialize: initialize\n};\n```\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\n\n// An example of how the (hypothetical) service is used in routes.\n\nexport default Route.extend({\n model(params) {\n return this.network.fetch(`/api/posts/${params.post_id}.json`);\n },\n\n afterModel(post) {\n if (post.isExternalContent) {\n return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n } else {\n return post;\n }\n }\n});\n```\n\n```javascript\n// Finally, put all the pieces together\n\nfunction discoverResourcesFor(url) {\n return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n let networkService = instance.lookup('service:network');\n return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n });\n}\n```",
15785 "access": "public",
15786 "tagname": "",
15787 "itemtype": "method",
15788 "name": "visit",
15789 "params": [
15790 {
15791 "name": "url",
15792 "description": "The initial URL to navigate to",
15793 "type": "String"
15794 },
15795 {
15796 "name": "options",
15797 "description": "",
15798 "type": "ApplicationInstance.BootOptions"
15799 }
15800 ],
15801 "return": {
15802 "description": "",
15803 "type": "Promise<ApplicationInstance, Error>"
15804 },
15805 "class": "Application",
15806 "module": "@ember/application"
15807 },
15808 {
15809 "file": "packages/@ember/application/lib/application.js",
15810 "line": 1108,
15811 "description": "This creates a registry with the default Ember naming conventions.\n\nIt also configures the registry:\n\n* registered views are created every time they are looked up (they are\n not singletons)\n* registered templates are not factories; the registered value is\n returned directly.\n* the router receives the application as its `namespace` property\n* all controllers receive the router as their `target` and `controllers`\n properties\n* all controllers receive the application as their `namespace` property\n* the application view receives the application controller as its\n `controller` property\n* the application view receives the application template as its\n `defaultTemplate` property",
15812 "itemtype": "method",
15813 "name": "buildRegistry",
15814 "static": 1,
15815 "params": [
15816 {
15817 "name": "namespace",
15818 "description": "the application for which to\n build the registry",
15819 "type": "Application"
15820 }
15821 ],
15822 "return": {
15823 "description": "the built registry",
15824 "type": "Ember.Registry"
15825 },
15826 "access": "private",
15827 "tagname": "",
15828 "class": "Application",
15829 "module": "@ember/application"
15830 },
15831 {
15832 "file": "packages/@ember/application/lib/lazy_load.js",
15833 "line": 14,
15834 "description": "Detects when a specific package of Ember (e.g. 'Application')\nhas fully loaded and is available for extension.\n\nThe provided `callback` will be called with the `name` passed\nresolved from a string into the object:\n\n``` javascript\nimport { onLoad } from '@ember/application';\n\nonLoad('Ember.Application' function(hbars) {\n hbars.registerHelper(...);\n});\n```",
15835 "itemtype": "method",
15836 "name": "onLoad",
15837 "static": 1,
15838 "params": [
15839 {
15840 "name": "name",
15841 "description": "name of hook",
15842 "type": "String"
15843 },
15844 {
15845 "name": "callback",
15846 "description": "callback to be called",
15847 "type": "Function"
15848 }
15849 ],
15850 "access": "private",
15851 "tagname": "",
15852 "class": "@ember/application",
15853 "module": "@ember/application"
15854 },
15855 {
15856 "file": "packages/@ember/application/lib/lazy_load.js",
15857 "line": 47,
15858 "description": "Called when an Ember.js package (e.g Application) has finished\nloading. Triggers any callbacks registered for this event.",
15859 "itemtype": "method",
15860 "name": "runLoadHooks",
15861 "static": 1,
15862 "params": [
15863 {
15864 "name": "name",
15865 "description": "name of hook",
15866 "type": "String"
15867 },
15868 {
15869 "name": "object",
15870 "description": "object to pass to callbacks",
15871 "type": "Object"
15872 }
15873 ],
15874 "access": "private",
15875 "tagname": "",
15876 "class": "@ember/application",
15877 "module": "@ember/application"
15878 },
15879 {
15880 "file": "packages/@ember/application/globals-resolver.js",
15881 "line": 95,
15882 "description": "This will be set to the Application instance when it is\ncreated.",
15883 "itemtype": "property",
15884 "name": "namespace",
15885 "access": "public",
15886 "tagname": "",
15887 "deprecated": true,
15888 "class": "GlobalsResolver",
15889 "module": "@ember/application"
15890 },
15891 {
15892 "file": "packages/@ember/application/globals-resolver.js",
15893 "line": 137,
15894 "description": "This method is called via the container's resolver method.\nIt parses the provided `fullName` and then looks up and\nreturns the appropriate template or class.",
15895 "itemtype": "method",
15896 "name": "resolve",
15897 "params": [
15898 {
15899 "name": "fullName",
15900 "description": "the lookup string",
15901 "type": "String"
15902 }
15903 ],
15904 "return": {
15905 "description": "the resolved factory",
15906 "type": "Object"
15907 },
15908 "access": "public",
15909 "tagname": "",
15910 "class": "GlobalsResolver",
15911 "module": "@ember/application"
15912 },
15913 {
15914 "file": "packages/@ember/application/globals-resolver.js",
15915 "line": 188,
15916 "description": "Convert the string name of the form 'type:name' to\na Javascript object with the parsed aspects of the name\nbroken out.",
15917 "params": [
15918 {
15919 "name": "fullName",
15920 "description": "the lookup string",
15921 "type": "String"
15922 }
15923 ],
15924 "itemtype": "method",
15925 "name": "parseName",
15926 "access": "protected",
15927 "tagname": "",
15928 "class": "GlobalsResolver",
15929 "module": "@ember/application"
15930 },
15931 {
15932 "file": "packages/@ember/application/globals-resolver.js",
15933 "line": 245,
15934 "description": "Returns a human-readable description for a fullName. Used by the\nApplication namespace in assertions to describe the\nprecise name of the class that Ember is looking for, rather than\ncontainer keys.",
15935 "params": [
15936 {
15937 "name": "fullName",
15938 "description": "the lookup string",
15939 "type": "String"
15940 }
15941 ],
15942 "itemtype": "method",
15943 "name": "lookupDescription",
15944 "access": "protected",
15945 "tagname": "",
15946 "class": "GlobalsResolver",
15947 "module": "@ember/application"
15948 },
15949 {
15950 "file": "packages/@ember/application/globals-resolver.js",
15951 "line": 276,
15952 "description": "Given a parseName object (output from `parseName`), apply\nthe conventions expected by `Router`",
15953 "params": [
15954 {
15955 "name": "parsedName",
15956 "description": "a parseName object with the parsed\n fullName lookup string",
15957 "type": "Object"
15958 }
15959 ],
15960 "itemtype": "method",
15961 "name": "useRouterNaming",
15962 "access": "protected",
15963 "tagname": "",
15964 "class": "GlobalsResolver",
15965 "module": "@ember/application"
15966 },
15967 {
15968 "file": "packages/@ember/application/globals-resolver.js",
15969 "line": 292,
15970 "description": "Look up the template in Ember.TEMPLATES",
15971 "params": [
15972 {
15973 "name": "parsedName",
15974 "description": "a parseName object with the parsed\n fullName lookup string",
15975 "type": "Object"
15976 }
15977 ],
15978 "itemtype": "method",
15979 "name": "resolveTemplate",
15980 "access": "protected",
15981 "tagname": "",
15982 "class": "GlobalsResolver",
15983 "module": "@ember/application"
15984 },
15985 {
15986 "file": "packages/@ember/application/globals-resolver.js",
15987 "line": 306,
15988 "description": "Lookup the view using `resolveOther`",
15989 "params": [
15990 {
15991 "name": "parsedName",
15992 "description": "a parseName object with the parsed\n fullName lookup string",
15993 "type": "Object"
15994 }
15995 ],
15996 "itemtype": "method",
15997 "name": "resolveView",
15998 "access": "protected",
15999 "tagname": "",
16000 "class": "GlobalsResolver",
16001 "module": "@ember/application"
16002 },
16003 {
16004 "file": "packages/@ember/application/globals-resolver.js",
16005 "line": 319,
16006 "description": "Lookup the controller using `resolveOther`",
16007 "params": [
16008 {
16009 "name": "parsedName",
16010 "description": "a parseName object with the parsed\n fullName lookup string",
16011 "type": "Object"
16012 }
16013 ],
16014 "itemtype": "method",
16015 "name": "resolveController",
16016 "access": "protected",
16017 "tagname": "",
16018 "class": "GlobalsResolver",
16019 "module": "@ember/application"
16020 },
16021 {
16022 "file": "packages/@ember/application/globals-resolver.js",
16023 "line": 331,
16024 "description": "Lookup the route using `resolveOther`",
16025 "params": [
16026 {
16027 "name": "parsedName",
16028 "description": "a parseName object with the parsed\n fullName lookup string",
16029 "type": "Object"
16030 }
16031 ],
16032 "itemtype": "method",
16033 "name": "resolveRoute",
16034 "access": "protected",
16035 "tagname": "",
16036 "class": "GlobalsResolver",
16037 "module": "@ember/application"
16038 },
16039 {
16040 "file": "packages/@ember/application/globals-resolver.js",
16041 "line": 344,
16042 "description": "Lookup the model on the Application namespace",
16043 "params": [
16044 {
16045 "name": "parsedName",
16046 "description": "a parseName object with the parsed\n fullName lookup string",
16047 "type": "Object"
16048 }
16049 ],
16050 "itemtype": "method",
16051 "name": "resolveModel",
16052 "access": "protected",
16053 "tagname": "",
16054 "class": "GlobalsResolver",
16055 "module": "@ember/application"
16056 },
16057 {
16058 "file": "packages/@ember/application/globals-resolver.js",
16059 "line": 358,
16060 "description": "Look up the specified object (from parsedName) on the appropriate\nnamespace (usually on the Application)",
16061 "params": [
16062 {
16063 "name": "parsedName",
16064 "description": "a parseName object with the parsed\n fullName lookup string",
16065 "type": "Object"
16066 }
16067 ],
16068 "itemtype": "method",
16069 "name": "resolveHelper",
16070 "access": "protected",
16071 "tagname": "",
16072 "class": "GlobalsResolver",
16073 "module": "@ember/application"
16074 },
16075 {
16076 "file": "packages/@ember/application/globals-resolver.js",
16077 "line": 370,
16078 "description": "Look up the specified object (from parsedName) on the appropriate\nnamespace (usually on the Application)",
16079 "params": [
16080 {
16081 "name": "parsedName",
16082 "description": "a parseName object with the parsed\n fullName lookup string",
16083 "type": "Object"
16084 }
16085 ],
16086 "itemtype": "method",
16087 "name": "resolveOther",
16088 "access": "protected",
16089 "tagname": "",
16090 "class": "GlobalsResolver",
16091 "module": "@ember/application"
16092 },
16093 {
16094 "file": "packages/@ember/application/globals-resolver.js",
16095 "line": 390,
16096 "description": "Used to iterate all items of a given type.",
16097 "itemtype": "method",
16098 "name": "knownForType",
16099 "params": [
16100 {
16101 "name": "type",
16102 "description": "the type to search for",
16103 "type": "String"
16104 }
16105 ],
16106 "access": "private",
16107 "tagname": "",
16108 "class": "GlobalsResolver",
16109 "module": "@ember/application"
16110 },
16111 {
16112 "file": "packages/@ember/application/globals-resolver.js",
16113 "line": 417,
16114 "description": "Converts provided name from the backing namespace into a container lookup name.\n\nExamples:\n\n* App.FooBarHelper -> helper:foo-bar\n* App.THelper -> helper:t",
16115 "itemtype": "method",
16116 "name": "translateToContainerFullname",
16117 "params": [
16118 {
16119 "name": "type",
16120 "description": "",
16121 "type": "String"
16122 },
16123 {
16124 "name": "name",
16125 "description": "",
16126 "type": "String"
16127 }
16128 ],
16129 "access": "private",
16130 "tagname": "",
16131 "class": "GlobalsResolver",
16132 "module": "@ember/application"
16133 },
16134 {
16135 "file": "packages/@ember/application/globals-resolver.js",
16136 "line": 440,
16137 "itemtype": "method",
16138 "name": "_logLookup",
16139 "params": [
16140 {
16141 "name": "found",
16142 "description": "",
16143 "type": "Boolean"
16144 },
16145 {
16146 "name": "parsedName",
16147 "description": "",
16148 "type": "Object"
16149 }
16150 ],
16151 "access": "private",
16152 "tagname": "",
16153 "class": "GlobalsResolver",
16154 "module": "@ember/application"
16155 },
16156 {
16157 "file": "packages/@ember/application/instance.js",
16158 "line": 38,
16159 "description": "The `Application` for which this is an instance.",
16160 "itemtype": "property",
16161 "name": "application",
16162 "type": "Application",
16163 "access": "private",
16164 "tagname": "",
16165 "class": "ApplicationInstance",
16166 "module": "@ember/application"
16167 },
16168 {
16169 "file": "packages/@ember/application/instance.js",
16170 "line": 46,
16171 "description": "The DOM events for which the event dispatcher should listen.\n\nBy default, the application's `Ember.EventDispatcher` listens\nfor a set of standard DOM events, such as `mousedown` and\n`keyup`, and delegates them to your application's `Ember.View`\ninstances.",
16172 "access": "private",
16173 "tagname": "",
16174 "itemtype": "property",
16175 "name": "customEvents",
16176 "type": "Object",
16177 "class": "ApplicationInstance",
16178 "module": "@ember/application"
16179 },
16180 {
16181 "file": "packages/@ember/application/instance.js",
16182 "line": 59,
16183 "description": "The root DOM element of the Application as an element or a\n[jQuery-compatible selector\nstring](http://api.jquery.com/category/selectors/).",
16184 "access": "private",
16185 "tagname": "",
16186 "itemtype": "property",
16187 "name": "rootElement",
16188 "type": "String|DOMElement",
16189 "class": "ApplicationInstance",
16190 "module": "@ember/application"
16191 },
16192 {
16193 "file": "packages/@ember/application/instance.js",
16194 "line": 84,
16195 "description": "Overrides the base `EngineInstance._bootSync` method with concerns relevant\nto booting application (instead of engine) instances.\n\nThis method should only contain synchronous boot concerns. Asynchronous\nboot concerns should eventually be moved to the `boot` method, which\nreturns a promise.\n\nUntil all boot code has been made asynchronous, we need to continue to\nexpose this method for use *internally* in places where we need to boot an\ninstance synchronously.",
16196 "access": "private",
16197 "tagname": "",
16198 "class": "ApplicationInstance",
16199 "module": "@ember/application"
16200 },
16201 {
16202 "file": "packages/@ember/application/instance.js",
16203 "line": 136,
16204 "description": "This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\nwhen it has finished creating the root View. By default, we simply take the\nview and append it to the `rootElement` specified on the Application.\n\nIn cases like FastBoot and testing, we can override this hook and implement\ncustom behavior, such as serializing to a string and sending over an HTTP\nsocket rather than appending to DOM.",
16205 "params": [
16206 {
16207 "name": "view",
16208 "description": "the root-most view",
16209 "type": "Ember.View"
16210 }
16211 ],
16212 "deprecated": true,
16213 "access": "private",
16214 "tagname": "",
16215 "class": "ApplicationInstance",
16216 "module": "@ember/application"
16217 },
16218 {
16219 "file": "packages/@ember/application/instance.js",
16220 "line": 153,
16221 "description": "Tells the router to start routing. The router will ask the location for the\ncurrent URL of the page to determine the initial URL to start routing to.\nTo start the app at a specific URL, call `handleURL` instead.",
16222 "access": "private",
16223 "tagname": "",
16224 "class": "ApplicationInstance",
16225 "module": "@ember/application"
16226 },
16227 {
16228 "file": "packages/@ember/application/instance.js",
16229 "line": 165,
16230 "description": "Sets up the router, initializing the child router and configuring the\nlocation before routing begins.\n\nBecause setup should only occur once, multiple calls to `setupRouter`\nbeyond the first call have no effect.\n\nThis is commonly used in order to confirm things that rely on the router\nare functioning properly from tests that are primarily rendering related.\n\nFor example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n`setupRenderingTest` calling `this.owner.setupRouter()` would allow that\nrendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\nhave the correct URL.",
16231 "access": "public",
16232 "tagname": "",
16233 "class": "ApplicationInstance",
16234 "module": "@ember/application"
16235 },
16236 {
16237 "file": "packages/@ember/application/instance.js",
16238 "line": 191,
16239 "description": "Directs the router to route to a particular URL. This is useful in tests,\nfor example, to tell the app to start at a particular URL.",
16240 "params": [
16241 {
16242 "name": "url",
16243 "description": "the URL the router should route to",
16244 "type": "String"
16245 }
16246 ],
16247 "access": "private",
16248 "tagname": "",
16249 "class": "ApplicationInstance",
16250 "module": "@ember/application"
16251 },
16252 {
16253 "file": "packages/@ember/application/instance.js",
16254 "line": 203,
16255 "access": "private",
16256 "tagname": "",
16257 "class": "ApplicationInstance",
16258 "module": "@ember/application"
16259 },
16260 {
16261 "file": "packages/@ember/application/instance.js",
16262 "line": 217,
16263 "description": "Returns the current URL of the app instance. This is useful when your\napp does not update the browsers URL bar (i.e. it uses the `'none'`\nlocation adapter).",
16264 "access": "public",
16265 "tagname": "",
16266 "return": {
16267 "description": "the current URL",
16268 "type": "String"
16269 },
16270 "class": "ApplicationInstance",
16271 "module": "@ember/application"
16272 },
16273 {
16274 "file": "packages/@ember/application/instance.js",
16275 "line": 232,
16276 "description": "Navigate the instance to a particular URL. This is useful in tests, for\nexample, or to tell the app to start at a particular URL. This method\nreturns a promise that resolves with the app instance when the transition\nis complete, or rejects if the transion was aborted due to an error.",
16277 "access": "public",
16278 "tagname": "",
16279 "params": [
16280 {
16281 "name": "url",
16282 "description": "the destination URL",
16283 "type": "String"
16284 }
16285 ],
16286 "return": {
16287 "description": "",
16288 "type": "Promise<ApplicationInstance>"
16289 },
16290 "class": "ApplicationInstance",
16291 "module": "@ember/application"
16292 },
16293 {
16294 "file": "packages/@ember/application/instance.js",
16295 "line": 292,
16296 "access": "private",
16297 "tagname": "",
16298 "itemtype": "method",
16299 "name": "setupRegistry",
16300 "params": [
16301 {
16302 "name": "registry",
16303 "description": "",
16304 "type": "Registry"
16305 },
16306 {
16307 "name": "options",
16308 "description": "",
16309 "type": "BootOptions"
16310 }
16311 ],
16312 "class": "ApplicationInstance",
16313 "module": "@ember/application"
16314 },
16315 {
16316 "file": "packages/@ember/application/instance.js",
16317 "line": 338,
16318 "description": "Provide a specific instance of jQuery. This is useful in conjunction with\nthe `document` option, as it allows you to use a copy of `jQuery` that is\nappropriately bound to the foreign `document` (e.g. a jsdom).\n\nThis is highly experimental and support very incomplete at the moment.",
16319 "itemtype": "property",
16320 "name": "jQuery",
16321 "type": "Object",
16322 "default": "auto-detected",
16323 "access": "private",
16324 "tagname": "",
16325 "class": "ApplicationInstance.BootOptions",
16326 "module": "@ember/application",
16327 "namespace": "ApplicationInstance"
16328 },
16329 {
16330 "file": "packages/@ember/application/instance.js",
16331 "line": 352,
16332 "description": "Interactive mode: whether we need to set up event delegation and invoke\nlifecycle callbacks on Components.",
16333 "itemtype": "property",
16334 "name": "isInteractive",
16335 "type": "boolean",
16336 "default": "auto-detected",
16337 "access": "private",
16338 "tagname": "",
16339 "class": "ApplicationInstance.BootOptions",
16340 "module": "@ember/application",
16341 "namespace": "ApplicationInstance"
16342 },
16343 {
16344 "file": "packages/@ember/application/instance.js",
16345 "line": 363,
16346 "itemtype": "property",
16347 "name": "_renderMode",
16348 "type": "string",
16349 "default": "false",
16350 "access": "private",
16351 "tagname": "",
16352 "class": "ApplicationInstance.BootOptions",
16353 "module": "@ember/application",
16354 "namespace": "ApplicationInstance"
16355 },
16356 {
16357 "file": "packages/@ember/application/instance.js",
16358 "line": 371,
16359 "description": "Run in a full browser environment.\n\nWhen this flag is set to `false`, it will disable most browser-specific\nand interactive features. Specifically:\n\n* It does not use `jQuery` to append the root view; the `rootElement`\n (either specified as a subsequent option or on the application itself)\n must already be an `Element` in the given `document` (as opposed to a\n string selector).\n\n* It does not set up an `EventDispatcher`.\n\n* It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n\n* It sets the `location` option to `\"none\"`. (If you would like to use\n the location adapter specified in the app's router instead, you can also\n specify `{ location: null }` to specifically opt-out.)",
16360 "itemtype": "property",
16361 "name": "isBrowser",
16362 "type": "boolean",
16363 "default": "auto-detected",
16364 "access": "public",
16365 "tagname": "",
16366 "class": "ApplicationInstance.BootOptions",
16367 "module": "@ember/application",
16368 "namespace": "ApplicationInstance"
16369 },
16370 {
16371 "file": "packages/@ember/application/instance.js",
16372 "line": 407,
16373 "description": "Disable rendering completely.\n\nWhen this flag is set to `false`, it will disable the entire rendering\npipeline. Essentially, this puts the app into \"routing-only\" mode. No\ntemplates will be rendered, and no Components will be created.",
16374 "itemtype": "property",
16375 "name": "shouldRender",
16376 "type": "boolean",
16377 "default": "true",
16378 "access": "public",
16379 "tagname": "",
16380 "class": "ApplicationInstance.BootOptions",
16381 "module": "@ember/application",
16382 "namespace": "ApplicationInstance"
16383 },
16384 {
16385 "file": "packages/@ember/application/instance.js",
16386 "line": 430,
16387 "description": "If present, render into the given `Document` object instead of the\nglobal `window.document` object.\n\nIn practice, this is only useful in non-browser environment or in\nnon-interactive mode, because Ember's `jQuery` dependency is\nimplicitly bound to the current document, causing event delegation\nto not work properly when the app is rendered into a foreign\ndocument object (such as an iframe's `contentDocument`).\n\nIn non-browser mode, this could be a \"`Document`-like\" object as\nEmber only interact with a small subset of the DOM API in non-\ninteractive mode. While the exact requirements have not yet been\nformalized, the `SimpleDOM` library's implementation is known to\nwork.",
16388 "itemtype": "property",
16389 "name": "document",
16390 "type": "Document",
16391 "default": "the global `document` object",
16392 "access": "public",
16393 "tagname": "",
16394 "class": "ApplicationInstance.BootOptions",
16395 "module": "@ember/application",
16396 "namespace": "ApplicationInstance"
16397 },
16398 {
16399 "file": "packages/@ember/application/instance.js",
16400 "line": 457,
16401 "description": "If present, overrides the application's `rootElement` property on\nthe instance. This is useful for testing environment, where you\nmight want to append the root view to a fixture area.\n\nIn non-browser mode, because Ember does not have access to jQuery,\nthis options must be specified as a DOM `Element` object instead of\na selector string.\n\nSee the documentation on `Application`'s `rootElement` for\ndetails.",
16402 "itemtype": "property",
16403 "name": "rootElement",
16404 "type": "String|Element",
16405 "default": "null",
16406 "access": "public",
16407 "tagname": "",
16408 "class": "ApplicationInstance.BootOptions",
16409 "module": "@ember/application",
16410 "namespace": "ApplicationInstance"
16411 },
16412 {
16413 "file": "packages/@ember/application/instance.js",
16414 "line": 482,
16415 "description": "If present, overrides the router's `location` property with this\nvalue. This is useful for environments where trying to modify the\nURL would be inappropriate.",
16416 "itemtype": "property",
16417 "name": "location",
16418 "type": "string",
16419 "default": "null",
16420 "access": "public",
16421 "tagname": "",
16422 "class": "ApplicationInstance.BootOptions",
16423 "module": "@ember/application",
16424 "namespace": "ApplicationInstance"
16425 },
16426 {
16427 "file": "packages/@ember/canary-features/index.ts",
16428 "line": 38,
16429 "description": "Determine whether the specified `feature` is enabled. Used by Ember's\nbuild tools to exclude experimental features from beta/stable builds.\n\nYou can define the following configuration options:\n\n* `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n enabled/disabled.",
16430 "itemtype": "method",
16431 "name": "isEnabled",
16432 "params": [
16433 {
16434 "name": "feature",
16435 "description": "The feature to check",
16436 "type": "String"
16437 }
16438 ],
16439 "return": {
16440 "description": "",
16441 "type": "Boolean"
16442 },
16443 "since": "1.1.0",
16444 "access": "public",
16445 "tagname": "",
16446 "class": "FEATURES",
16447 "module": "@ember/canary-features"
16448 },
16449 {
16450 "file": "packages/@ember/component/template-only.ts",
16451 "line": 15,
16452 "description": "This utility function is used to declare a given component has no backing class. When the rendering engine detects this it\nis able to perform a number of optimizations. Templates that are associated with `templateOnly()` will be rendered _as is_\nwithout adding a wrapping `<div>` (or any of the other element customization behaviors of [@ember/component](/ember/release/classes/Component)).\nSpecifically, this means that the template will be rendered as \"outer HTML\".\n\nIn general, this method will be used by build time tooling and would not be directly written in an application. However,\nat times it may be useful to use directly to leverage the \"outer HTML\" semantics mentioned above. For example, if an addon would like\nto use these semantics for its templates but cannot be certain it will only be consumed by applications that have enabled the\n`template-only-glimmer-components` optional feature.",
16453 "example": [
16454 "\n\n```js\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n```"
16455 ],
16456 "access": "public",
16457 "tagname": "",
16458 "itemtype": "method",
16459 "name": "templateOnly",
16460 "params": [
16461 {
16462 "name": "moduleName",
16463 "description": "the module name that the template only component represents, this will be used for debugging purposes",
16464 "type": "String"
16465 }
16466 ],
16467 "category": [
16468 "EMBER_GLIMMER_SET_COMPONENT_TEMPLATE"
16469 ],
16470 "class": "Ember.ControllerMixin",
16471 "module": "@ember/component/template-only"
16472 },
16473 {
16474 "file": "packages/@ember/controller/lib/controller_mixin.js",
16475 "line": 21,
16476 "description": "The object to which actions from the view should be sent.\n\nFor example, when a Handlebars template uses the `{{action}}` helper,\nit will attempt to send the action to the view's controller's `target`.\n\nBy default, the value of the target property is set to the router, and\nis injected when a controller is instantiated. This injection is applied\nas part of the application's initialization process. In most cases the\n`target` property will automatically be set to the logical consumer of\nactions for the controller.",
16477 "itemtype": "property",
16478 "name": "target",
16479 "default": "null",
16480 "access": "public",
16481 "tagname": "",
16482 "class": "Ember.ControllerMixin",
16483 "module": "ember",
16484 "namespace": "Ember"
16485 },
16486 {
16487 "file": "packages/@ember/controller/lib/controller_mixin.js",
16488 "line": 41,
16489 "description": "The controller's current model. When retrieving or modifying a controller's\nmodel, this property should be used instead of the `content` property.",
16490 "itemtype": "property",
16491 "name": "model",
16492 "access": "public",
16493 "tagname": "",
16494 "class": "Ember.ControllerMixin",
16495 "module": "ember",
16496 "namespace": "Ember"
16497 },
16498 {
16499 "file": "packages/@ember/controller/index.js",
16500 "line": 17,
16501 "description": "Creates a property that lazily looks up another controller in the container.\nCan only be used when defining another controller.\n\nExample:\n\n```app/controllers/post.js\nimport Controller, {\n inject as controller\n} from '@ember/controller';\n\nexport default class PostController extends Controller {\n @controller posts;\n}\n```\n\nClassic Class Example:\n\n```app/controllers/post.js\nimport Controller, {\n inject as controller\n} from '@ember/controller';\n\nexport default Controller.extend({\n posts: controller()\n});\n```\n\nThis example will create a `posts` property on the `post` controller that\nlooks up the `posts` controller in the container, making it easy to reference\nother controllers.",
16502 "itemtype": "method",
16503 "name": "inject",
16504 "static": 1,
16505 "since": "1.10.0",
16506 "params": [
16507 {
16508 "name": "name",
16509 "description": "(optional) name of the controller to inject, defaults to\n the property's name",
16510 "type": "String"
16511 }
16512 ],
16513 "return": {
16514 "description": "injection decorator instance",
16515 "type": "ComputedDecorator"
16516 },
16517 "access": "public",
16518 "tagname": "",
16519 "class": "@ember/controller",
16520 "module": "@ember/controller"
16521 },
16522 {
16523 "file": "packages/@ember/debug/lib/capture-render-tree.ts",
16524 "line": 8,
16525 "description": "Ember Inspector calls this function to capture the current render tree.\n\nIn production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`\nbefore loading Ember.",
16526 "access": "private",
16527 "tagname": "",
16528 "static": 1,
16529 "itemtype": "method",
16530 "name": "captureRenderTree",
16531 "params": [
16532 {
16533 "name": "app",
16534 "description": "An `ApplicationInstance`.",
16535 "type": "ApplicationInstance"
16536 }
16537 ],
16538 "since": "3.14.0",
16539 "class": "@ember/debug",
16540 "module": "@ember/debug"
16541 },
16542 {
16543 "file": "packages/@ember/debug/lib/deprecate.ts",
16544 "line": 25,
16545 "description": "Allows for runtime registration of handler functions that override the default deprecation behavior.\nDeprecations are invoked by calls to [@ember/debug/deprecate](/ember/release/classes/@ember%2Fdebug/methods/deprecate?anchor=deprecate).\nThe following example demonstrates its usage by registering a handler that throws an error if the\nmessage contains the word \"should\", otherwise defers to the default handler.\n\n```javascript\nimport { registerDeprecationHandler } from '@ember/debug';\n\nregisterDeprecationHandler((message, options, next) => {\n if (message.indexOf('should') !== -1) {\n throw new Error(`Deprecation message with should: ${message}`);\n } else {\n // defer to whatever handler was registered before this one\n next(message, options);\n }\n});\n```\n\nThe handler function takes the following arguments:\n\n<ul>\n <li> <code>message</code> - The message received from the deprecation call.</li>\n <li> <code>options</code> - An object passed in with the deprecation call containing additional information including:</li>\n <ul>\n <li> <code>id</code> - An id of the deprecation in the form of <code>package-name.specific-deprecation</code>.</li>\n <li> <code>until</code> - The Ember version number the feature and deprecation will be removed in.</li>\n </ul>\n <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n</ul>",
16546 "access": "public",
16547 "tagname": "",
16548 "static": 1,
16549 "itemtype": "method",
16550 "name": "registerDeprecationHandler",
16551 "params": [
16552 {
16553 "name": "handler",
16554 "description": "A function to handle deprecation calls.",
16555 "type": "Function"
16556 }
16557 ],
16558 "since": "2.1.0",
16559 "class": "@ember/debug",
16560 "module": "@ember/debug"
16561 },
16562 {
16563 "file": "packages/@ember/debug/lib/deprecate.ts",
16564 "line": 161,
16565 "description": "Display a deprecation warning with the provided message and a stack trace\n(Chrome and Firefox only).\n\n* In a production build, this method is defined as an empty function (NOP).\nUses of this method in Ember itself are stripped from the ember.prod.js build.",
16566 "itemtype": "method",
16567 "name": "deprecate",
16568 "params": [
16569 {
16570 "name": "message",
16571 "description": "A description of the deprecation.",
16572 "type": "String"
16573 },
16574 {
16575 "name": "test",
16576 "description": "A boolean. If falsy, the deprecation will be displayed.",
16577 "type": "Boolean"
16578 },
16579 {
16580 "name": "options",
16581 "description": "",
16582 "type": "Object",
16583 "props": [
16584 {
16585 "name": "id",
16586 "description": "A unique id for this deprecation. The id can be\n used by Ember debugging tools to change the behavior (raise, log or silence)\n for that specific deprecation. The id should be namespaced by dots, e.g.\n \"view.helper.select\".",
16587 "type": "String"
16588 },
16589 {
16590 "name": "until",
16591 "description": "The version of Ember when this deprecation\n warning will be removed.",
16592 "type": "String"
16593 },
16594 {
16595 "name": "url",
16596 "description": "An optional url to the transition guide on the\n emberjs.com website.",
16597 "type": "String",
16598 "optional": true
16599 }
16600 ]
16601 }
16602 ],
16603 "static": 1,
16604 "access": "public",
16605 "tagname": "",
16606 "since": "1.0.0",
16607 "class": "@ember/debug",
16608 "module": "@ember/debug"
16609 },
16610 {
16611 "file": "packages/@ember/debug/lib/warn.ts",
16612 "line": 23,
16613 "description": "Allows for runtime registration of handler functions that override the default warning behavior.\nWarnings are invoked by calls made to [@ember/debug/warn](/ember/release/classes/@ember%2Fdebug/methods/warn?anchor=warn).\nThe following example demonstrates its usage by registering a handler that does nothing overriding Ember's\ndefault warning behavior.\n\n```javascript\nimport { registerWarnHandler } from '@ember/debug';\n\n// next is not called, so no warnings get the default behavior\nregisterWarnHandler(() => {});\n```\n\nThe handler function takes the following arguments:\n\n<ul>\n <li> <code>message</code> - The message received from the warn call. </li>\n <li> <code>options</code> - An object passed in with the warn call containing additional information including:</li>\n <ul>\n <li> <code>id</code> - An id of the warning in the form of <code>package-name.specific-warning</code>.</li>\n </ul>\n <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n</ul>",
16614 "access": "public",
16615 "tagname": "",
16616 "static": 1,
16617 "itemtype": "method",
16618 "name": "registerWarnHandler",
16619 "params": [
16620 {
16621 "name": "handler",
16622 "description": "A function to handle warnings.",
16623 "type": "Function"
16624 }
16625 ],
16626 "since": "2.1.0",
16627 "class": "@ember/debug",
16628 "module": "@ember/debug"
16629 },
16630 {
16631 "file": "packages/@ember/debug/lib/warn.ts",
16632 "line": 70,
16633 "description": "Display a warning with the provided message.\n\n* In a production build, this method is defined as an empty function (NOP).\nUses of this method in Ember itself are stripped from the ember.prod.js build.\n\n```javascript\nimport { warn } from '@ember/debug';\nimport tomsterCount from './tomster-counter'; // a module in my project\n\n// Log a warning if we have more than 3 tomsters\nwarn('Too many tomsters!', tomsterCount <= 3, {\n id: 'ember-debug.too-many-tomsters'\n});\n```",
16634 "itemtype": "method",
16635 "name": "warn",
16636 "static": 1,
16637 "params": [
16638 {
16639 "name": "message",
16640 "description": "A warning to display.",
16641 "type": "String"
16642 },
16643 {
16644 "name": "test",
16645 "description": "An optional boolean. If falsy, the warning\n will be displayed.",
16646 "type": "Boolean"
16647 },
16648 {
16649 "name": "options",
16650 "description": "An object that can be used to pass a unique\n `id` for this warning. The `id` can be used by Ember debugging tools\n to change the behavior (raise, log, or silence) for that specific warning.\n The `id` should be namespaced by dots, e.g. \"ember-debug.feature-flag-with-features-stripped\"",
16651 "type": "Object"
16652 }
16653 ],
16654 "access": "public",
16655 "tagname": "",
16656 "since": "1.0.0",
16657 "class": "@ember/debug",
16658 "module": "@ember/debug"
16659 },
16660 {
16661 "file": "packages/@ember/debug/index.ts",
16662 "line": 131,
16663 "description": "Verify that a certain expectation is met, or throw a exception otherwise.\n\nThis is useful for communicating assumptions in the code to other human\nreaders as well as catching bugs that accidentally violates these\nexpectations.\n\nAssertions are removed from production builds, so they can be freely added\nfor documentation and debugging purposes without worries of incuring any\nperformance penalty. However, because of that, they should not be used for\nchecks that could reasonably fail during normal usage. Furthermore, care\nshould be taken to avoid accidentally relying on side-effects produced from\nevaluating the condition itself, since the code will not run in production.\n\n```javascript\nimport { assert } from '@ember/debug';\n\n// Test for truthiness\nassert('Must pass a string', typeof str === 'string');\n\n// Fail unconditionally\nassert('This code path should never be run');\n```",
16664 "itemtype": "method",
16665 "name": "assert",
16666 "static": 1,
16667 "params": [
16668 {
16669 "name": "description",
16670 "description": "Describes the expectation. This will become the\n text of the Error thrown if the assertion fails.",
16671 "type": "String"
16672 },
16673 {
16674 "name": "condition",
16675 "description": "Must be truthy for the assertion to pass. If\n falsy, an exception will be thrown.",
16676 "type": "Any"
16677 }
16678 ],
16679 "access": "public",
16680 "tagname": "",
16681 "since": "1.0.0",
16682 "class": "@ember/debug",
16683 "module": "@ember/debug"
16684 },
16685 {
16686 "file": "packages/@ember/debug/index.ts",
16687 "line": 171,
16688 "description": "Display a debug notice.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.\n\n```javascript\nimport { debug } from '@ember/debug';\n\ndebug('I\\'m a debug notice!');\n```",
16689 "itemtype": "method",
16690 "name": "debug",
16691 "static": 1,
16692 "params": [
16693 {
16694 "name": "message",
16695 "description": "A debug message to display.",
16696 "type": "String"
16697 }
16698 ],
16699 "access": "public",
16700 "tagname": "",
16701 "class": "@ember/debug",
16702 "module": "@ember/debug"
16703 },
16704 {
16705 "file": "packages/@ember/debug/index.ts",
16706 "line": 200,
16707 "description": "Display an info notice.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.",
16708 "itemtype": "method",
16709 "name": "info",
16710 "access": "private",
16711 "tagname": "",
16712 "class": "@ember/debug",
16713 "module": "@ember/debug"
16714 },
16715 {
16716 "file": "packages/@ember/debug/index.ts",
16717 "line": 219,
16718 "description": "Alias an old, deprecated method with its new counterpart.\n\nDisplay a deprecation warning with the provided message and a stack trace\n(Chrome and Firefox only) when the assigned method is called.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.\n\n```javascript\nimport { deprecateFunc } from '@ember/debug';\n\nEmber.oldMethod = deprecateFunc('Please use the new, updated method', options, Ember.newMethod);\n```",
16719 "itemtype": "method",
16720 "name": "deprecateFunc",
16721 "static": 1,
16722 "params": [
16723 {
16724 "name": "message",
16725 "description": "A description of the deprecation.",
16726 "type": "String"
16727 },
16728 {
16729 "name": "options",
16730 "description": "The options object for `deprecate`.",
16731 "type": "Object",
16732 "optional": true
16733 },
16734 {
16735 "name": "func",
16736 "description": "The new function called to replace its deprecated counterpart.",
16737 "type": "Function"
16738 }
16739 ],
16740 "return": {
16741 "description": "A new function that wraps the original function with a deprecation warning",
16742 "type": "Function"
16743 },
16744 "access": "private",
16745 "tagname": "",
16746 "class": "@ember/debug",
16747 "module": "@ember/debug"
16748 },
16749 {
16750 "file": "packages/@ember/debug/index.ts",
16751 "line": 264,
16752 "description": "Run a function meant for debugging.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.\n\n```javascript\nimport Component from '@ember/component';\nimport { runInDebug } from '@ember/debug';\n\nrunInDebug(() => {\n Component.reopen({\n didInsertElement() {\n console.log(\"I'm happy\");\n }\n });\n});\n```",
16753 "itemtype": "method",
16754 "name": "runInDebug",
16755 "static": 1,
16756 "params": [
16757 {
16758 "name": "func",
16759 "description": "The function to be executed.",
16760 "type": "Function"
16761 }
16762 ],
16763 "since": "1.5.0",
16764 "access": "public",
16765 "tagname": "",
16766 "class": "@ember/debug",
16767 "module": "@ember/debug"
16768 },
16769 {
16770 "file": "packages/@ember/engine/lib/engine-parent.js",
16771 "line": 8,
16772 "description": "`getEngineParent` retrieves an engine instance's parent instance.",
16773 "itemtype": "method",
16774 "name": "getEngineParent",
16775 "params": [
16776 {
16777 "name": "engine",
16778 "description": "An engine instance.",
16779 "type": "EngineInstance"
16780 }
16781 ],
16782 "return": {
16783 "description": "The parent engine instance.",
16784 "type": "EngineInstance"
16785 },
16786 "static": 1,
16787 "access": "private",
16788 "tagname": "",
16789 "class": "@ember/engine",
16790 "module": "@ember/engine"
16791 },
16792 {
16793 "file": "packages/@ember/engine/lib/engine-parent.js",
16794 "line": 22,
16795 "description": "`setEngineParent` sets an engine instance's parent instance.",
16796 "itemtype": "method",
16797 "name": "setEngineParent",
16798 "params": [
16799 {
16800 "name": "engine",
16801 "description": "An engine instance.",
16802 "type": "EngineInstance"
16803 },
16804 {
16805 "name": "parent",
16806 "description": "The parent engine instance.",
16807 "type": "EngineInstance"
16808 }
16809 ],
16810 "access": "private",
16811 "tagname": "",
16812 "class": "@ember/engine",
16813 "module": "@ember/engine"
16814 },
16815 {
16816 "file": "packages/@ember/engine/index.js",
16817 "line": 54,
16818 "description": "A private flag indicating whether an engine's initializers have run yet.",
16819 "access": "private",
16820 "tagname": "",
16821 "itemtype": "property",
16822 "name": "_initializersRan",
16823 "class": "Engine",
16824 "module": "@ember/engine"
16825 },
16826 {
16827 "file": "packages/@ember/engine/index.js",
16828 "line": 62,
16829 "description": "Ensure that initializers are run once, and only once, per engine.",
16830 "access": "private",
16831 "tagname": "",
16832 "itemtype": "method",
16833 "name": "ensureInitializers",
16834 "class": "Engine",
16835 "module": "@ember/engine"
16836 },
16837 {
16838 "file": "packages/@ember/engine/index.js",
16839 "line": 75,
16840 "description": "Create an EngineInstance for this engine.",
16841 "access": "public",
16842 "tagname": "",
16843 "itemtype": "method",
16844 "name": "buildInstance",
16845 "return": {
16846 "description": "the engine instance",
16847 "type": "EngineInstance"
16848 },
16849 "class": "Engine",
16850 "module": "@ember/engine"
16851 },
16852 {
16853 "file": "packages/@ember/engine/index.js",
16854 "line": 88,
16855 "description": "Build and configure the registry for the current engine.",
16856 "access": "private",
16857 "tagname": "",
16858 "itemtype": "method",
16859 "name": "buildRegistry",
16860 "return": {
16861 "description": "the configured registry",
16862 "type": "Ember.Registry"
16863 },
16864 "class": "Engine",
16865 "module": "@ember/engine"
16866 },
16867 {
16868 "file": "packages/@ember/engine/index.js",
16869 "line": 101,
16870 "access": "private",
16871 "tagname": "",
16872 "itemtype": "method",
16873 "name": "initializer",
16874 "class": "Engine",
16875 "module": "@ember/engine"
16876 },
16877 {
16878 "file": "packages/@ember/engine/index.js",
16879 "line": 109,
16880 "access": "private",
16881 "tagname": "",
16882 "itemtype": "method",
16883 "name": "instanceInitializer",
16884 "class": "Engine",
16885 "module": "@ember/engine"
16886 },
16887 {
16888 "file": "packages/@ember/engine/index.js",
16889 "line": 117,
16890 "access": "private",
16891 "tagname": "",
16892 "itemtype": "method",
16893 "name": "runInitializers",
16894 "class": "Engine",
16895 "module": "@ember/engine"
16896 },
16897 {
16898 "file": "packages/@ember/engine/index.js",
16899 "line": 128,
16900 "access": "private",
16901 "tagname": "",
16902 "since": "1.12.0",
16903 "itemtype": "method",
16904 "name": "runInstanceInitializers",
16905 "class": "Engine",
16906 "module": "@ember/engine"
16907 },
16908 {
16909 "file": "packages/@ember/engine/index.js",
16910 "line": 159,
16911 "description": "The goal of initializers should be to register dependencies and injections.\nThis phase runs once. Because these initializers may load code, they are\nallowed to defer application readiness and advance it. If you need to access\nthe container or store you should use an InstanceInitializer that will be run\nafter all initializers and therefore after all code is loaded and the app is\nready.\n\nInitializer receives an object which has the following attributes:\n`name`, `before`, `after`, `initialize`. The only required attribute is\n`initialize`, all others are optional.\n\n* `name` allows you to specify under which name the initializer is registered.\nThis must be a unique name, as trying to register two initializers with the\nsame name will result in an error.\n\n```app/initializer/named-initializer.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Running namedInitializer!');\n}\n\nexport default {\n name: 'named-initializer',\n initialize\n};\n```\n\n* `before` and `after` are used to ensure that this initializer is ran prior\nor after the one identified by the value. This value can be a single string\nor an array of strings, referencing the `name` of other initializers.\n\nAn example of ordering initializers, we create an initializer named `first`:\n\n```app/initializer/first.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('First initializer!');\n}\n\nexport default {\n name: 'first',\n initialize\n};\n```\n\n```bash\n// DEBUG: First initializer!\n```\n\nWe add another initializer named `second`, specifying that it should run\nafter the initializer named `first`:\n\n```app/initializer/second.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Second initializer!');\n}\n\nexport default {\n name: 'second',\n after: 'first',\n initialize\n};\n```\n\n```\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n```\n\nAfterwards we add a further initializer named `pre`, this time specifying\nthat it should run before the initializer named `first`:\n\n```app/initializer/pre.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Pre initializer!');\n}\n\nexport default {\n name: 'pre',\n before: 'first',\n initialize\n};\n```\n\n```bash\n// DEBUG: Pre initializer!\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n```\n\nFinally we add an initializer named `post`, specifying it should run after\nboth the `first` and the `second` initializers:\n\n```app/initializer/post.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Post initializer!');\n}\n\nexport default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n};\n```\n\n```bash\n// DEBUG: Pre initializer!\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n// DEBUG: Post initializer!\n```\n\n* `initialize` is a callback function that receives one argument,\n `application`, on which you can operate.\n\nExample of using `application` to register an adapter:\n\n```app/initializer/api-adapter.js\nimport ApiAdapter from '../utils/api-adapter';\n\nexport function initialize(application) {\n application.register('api-adapter:main', ApiAdapter);\n}\n\nexport default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n};\n```",
16912 "itemtype": "method",
16913 "name": "initializer",
16914 "params": [
16915 {
16916 "name": "initializer",
16917 "description": "",
16918 "type": "Object"
16919 }
16920 ],
16921 "access": "public",
16922 "tagname": "",
16923 "class": "Engine",
16924 "module": "@ember/engine"
16925 },
16926 {
16927 "file": "packages/@ember/engine/index.js",
16928 "line": 306,
16929 "description": "Instance initializers run after all initializers have run. Because\ninstance initializers run after the app is fully set up. We have access\nto the store, container, and other items. However, these initializers run\nafter code has loaded and are not allowed to defer readiness.\n\nInstance initializer receives an object which has the following attributes:\n`name`, `before`, `after`, `initialize`. The only required attribute is\n`initialize`, all others are optional.\n\n* `name` allows you to specify under which name the instanceInitializer is\nregistered. This must be a unique name, as trying to register two\ninstanceInitializer with the same name will result in an error.\n\n```app/initializer/named-instance-initializer.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Running named-instance-initializer!');\n}\n\nexport default {\n name: 'named-instance-initializer',\n initialize\n};\n```\n\n* `before` and `after` are used to ensure that this initializer is ran prior\nor after the one identified by the value. This value can be a single string\nor an array of strings, referencing the `name` of other initializers.\n\n* See Application.initializer for discussion on the usage of before\nand after.\n\nExample instanceInitializer to preload data into the store.\n\n```app/initializer/preload-data.js\nimport $ from 'jquery';\n\nexport function initialize(application) {\n var userConfig, userConfigEncoded, store;\n // We have a HTML escaped JSON representation of the user's basic\n // configuration generated server side and stored in the DOM of the main\n // index.html file. This allows the app to have access to a set of data\n // without making any additional remote calls. Good for basic data that is\n // needed for immediate rendering of the page. Keep in mind, this data,\n // like all local models and data can be manipulated by the user, so it\n // should not be relied upon for security or authorization.\n\n // Grab the encoded data from the meta tag\n userConfigEncoded = $('head meta[name=app-user-config]').attr('content');\n\n // Unescape the text, then parse the resulting JSON into a real object\n userConfig = JSON.parse(unescape(userConfigEncoded));\n\n // Lookup the store\n store = application.lookup('service:store');\n\n // Push the encoded JSON into the store\n store.pushPayload(userConfig);\n}\n\nexport default {\n name: 'named-instance-initializer',\n initialize\n};\n```",
16930 "itemtype": "method",
16931 "name": "instanceInitializer",
16932 "params": [
16933 {
16934 "name": "instanceInitializer",
16935 "description": ""
16936 }
16937 ],
16938 "access": "public",
16939 "tagname": "",
16940 "class": "Engine",
16941 "module": "@ember/engine"
16942 },
16943 {
16944 "file": "packages/@ember/engine/index.js",
16945 "line": 380,
16946 "description": "This creates a registry with the default Ember naming conventions.\n\nIt also configures the registry:\n\n* registered views are created every time they are looked up (they are\n not singletons)\n* registered templates are not factories; the registered value is\n returned directly.\n* the router receives the application as its `namespace` property\n* all controllers receive the router as their `target` and `controllers`\n properties\n* all controllers receive the application as their `namespace` property\n* the application view receives the application controller as its\n `controller` property\n* the application view receives the application template as its\n `defaultTemplate` property",
16947 "itemtype": "method",
16948 "name": "buildRegistry",
16949 "static": 1,
16950 "params": [
16951 {
16952 "name": "namespace",
16953 "description": "the application for which to\n build the registry",
16954 "type": "Application"
16955 }
16956 ],
16957 "return": {
16958 "description": "the built registry",
16959 "type": "Ember.Registry"
16960 },
16961 "access": "private",
16962 "tagname": "",
16963 "class": "Engine",
16964 "module": "@ember/engine"
16965 },
16966 {
16967 "file": "packages/@ember/engine/index.js",
16968 "line": 420,
16969 "description": "Set this to provide an alternate class to `DefaultResolver`",
16970 "deprecated": true,
16971 "deprecationMessage": "Use 'Resolver' instead",
16972 "itemtype": "property",
16973 "name": "resolver",
16974 "access": "public",
16975 "tagname": "",
16976 "class": "Engine",
16977 "module": "@ember/engine"
16978 },
16979 {
16980 "file": "packages/@ember/engine/index.js",
16981 "line": 429,
16982 "description": "Set this to provide an alternate class to `DefaultResolver`",
16983 "itemtype": "property",
16984 "name": "resolver",
16985 "access": "public",
16986 "tagname": "",
16987 "class": "Engine",
16988 "module": "@ember/engine"
16989 },
16990 {
16991 "file": "packages/@ember/engine/index.js",
16992 "line": 438,
16993 "description": "This function defines the default lookup rules for container lookups:\n\n* templates are looked up on `Ember.TEMPLATES`\n* other names are looked up on the application after classifying the name.\n For example, `controller:post` looks up `App.PostController` by default.\n* if the default lookup fails, look for registered classes on the container\n\nThis allows the application to register default injections in the container\nthat could be overridden by the normal naming convention.",
16994 "access": "private",
16995 "tagname": "",
16996 "itemtype": "method",
16997 "name": "resolverFor",
16998 "params": [
16999 {
17000 "name": "namespace",
17001 "description": "the namespace to look for classes",
17002 "type": "Ember.Namespace"
17003 }
17004 ],
17005 "return": {
17006 "description": "the resolved value for a given lookup",
17007 "type": "*"
17008 },
17009 "class": "Engine",
17010 "module": "@ember/engine"
17011 },
17012 {
17013 "file": "packages/@ember/engine/instance.js",
17014 "line": 29,
17015 "description": "The base `Engine` for which this is an instance.",
17016 "itemtype": "property",
17017 "name": "engine",
17018 "type": "Engine",
17019 "access": "private",
17020 "tagname": "",
17021 "class": "EngineInstance",
17022 "module": "@ember/engine"
17023 },
17024 {
17025 "file": "packages/@ember/engine/instance.js",
17026 "line": 62,
17027 "description": "Initialize the `EngineInstance` and return a promise that resolves\nwith the instance itself when the boot process is complete.\n\nThe primary task here is to run any registered instance initializers.\n\nSee the documentation on `BootOptions` for the options it takes.",
17028 "access": "public",
17029 "tagname": "",
17030 "itemtype": "method",
17031 "name": "boot",
17032 "params": [
17033 {
17034 "name": "options",
17035 "description": "",
17036 "type": "Object"
17037 }
17038 ],
17039 "return": {
17040 "description": "",
17041 "type": "Promise<EngineInstance,Error>"
17042 },
17043 "class": "EngineInstance",
17044 "module": "@ember/engine"
17045 },
17046 {
17047 "file": "packages/@ember/engine/instance.js",
17048 "line": 85,
17049 "description": "Unfortunately, a lot of existing code assumes booting an instance is\nsynchronous – specifically, a lot of tests assume the last call to\n`app.advanceReadiness()` or `app.reset()` will result in a new instance\nbeing fully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this\nassumption, so we created the asynchronous version above that returns a\npromise. But until we have migrated all the code, we would have to expose\nthis method for use *internally* in places where we need to boot an instance\nsynchronously.",
17050 "access": "private",
17051 "tagname": "",
17052 "class": "EngineInstance",
17053 "module": "@ember/engine"
17054 },
17055 {
17056 "file": "packages/@ember/engine/instance.js",
17057 "line": 124,
17058 "description": "Unregister a factory.\n\nOverrides `RegistryProxy#unregister` in order to clear any cached instances\nof the unregistered factory.",
17059 "access": "public",
17060 "tagname": "",
17061 "itemtype": "method",
17062 "name": "unregister",
17063 "params": [
17064 {
17065 "name": "fullName",
17066 "description": "",
17067 "type": "String"
17068 }
17069 ],
17070 "class": "EngineInstance",
17071 "module": "@ember/engine"
17072 },
17073 {
17074 "file": "packages/@ember/engine/instance.js",
17075 "line": 139,
17076 "description": "Build a new `EngineInstance` that's a child of this instance.\n\nEngines must be registered by name with their parent engine\n(or application).",
17077 "access": "private",
17078 "tagname": "",
17079 "itemtype": "method",
17080 "name": "buildChildEngineInstance",
17081 "params": [
17082 {
17083 "name": "name",
17084 "description": "the registered name of the engine.",
17085 "type": "String"
17086 },
17087 {
17088 "name": "options",
17089 "description": "options provided to the engine instance.",
17090 "type": "Object"
17091 }
17092 ],
17093 "return": {
17094 "description": "",
17095 "type": "EngineInstance,Error"
17096 },
17097 "class": "EngineInstance",
17098 "module": "@ember/engine"
17099 },
17100 {
17101 "file": "packages/@ember/engine/instance.js",
17102 "line": 167,
17103 "description": "Clone dependencies shared between an engine instance and its parent.",
17104 "access": "private",
17105 "tagname": "",
17106 "itemtype": "method",
17107 "name": "cloneParentDependencies",
17108 "class": "EngineInstance",
17109 "module": "@ember/engine"
17110 },
17111 {
17112 "file": "packages/@ember/engine/instance.js",
17113 "line": 203,
17114 "access": "private",
17115 "tagname": "",
17116 "itemtype": "method",
17117 "name": "setupRegistry",
17118 "params": [
17119 {
17120 "name": "registry",
17121 "description": "",
17122 "type": "Registry"
17123 },
17124 {
17125 "name": "options",
17126 "description": "",
17127 "type": "BootOptions"
17128 }
17129 ],
17130 "class": "EngineInstance",
17131 "module": "@ember/engine"
17132 },
17133 {
17134 "file": "packages/@ember/instrumentation/index.ts",
17135 "line": 122,
17136 "description": "Notifies event's subscribers, calls `before` and `after` hooks.",
17137 "itemtype": "method",
17138 "name": "instrument",
17139 "static": 1,
17140 "params": [
17141 {
17142 "name": "name",
17143 "description": "Namespaced event name.",
17144 "type": "String",
17145 "optional": true
17146 },
17147 {
17148 "name": "payload",
17149 "description": "",
17150 "type": "Object"
17151 },
17152 {
17153 "name": "callback",
17154 "description": "Function that you're instrumenting.",
17155 "type": "Function"
17156 },
17157 {
17158 "name": "binding",
17159 "description": "Context that instrument function is called with.",
17160 "type": "Object"
17161 }
17162 ],
17163 "access": "private",
17164 "tagname": "",
17165 "class": "@ember/instrumentation",
17166 "module": "@ember/instrumentation"
17167 },
17168 {
17169 "file": "packages/@ember/instrumentation/index.ts",
17170 "line": 281,
17171 "description": "Subscribes to a particular event or instrumented block of code.",
17172 "itemtype": "method",
17173 "name": "subscribe",
17174 "static": 1,
17175 "params": [
17176 {
17177 "name": "pattern",
17178 "description": "Namespaced event name.",
17179 "type": "String",
17180 "optional": true
17181 },
17182 {
17183 "name": "object",
17184 "description": "Before and After hooks.",
17185 "type": "Object",
17186 "optional": true
17187 }
17188 ],
17189 "return": {
17190 "description": "",
17191 "type": "Subscriber"
17192 },
17193 "access": "private",
17194 "tagname": "",
17195 "class": "@ember/instrumentation",
17196 "module": "@ember/instrumentation"
17197 },
17198 {
17199 "file": "packages/@ember/instrumentation/index.ts",
17200 "line": 323,
17201 "description": "Unsubscribes from a particular event or instrumented block of code.",
17202 "itemtype": "method",
17203 "name": "unsubscribe",
17204 "static": 1,
17205 "params": [
17206 {
17207 "name": "subscriber",
17208 "description": "",
17209 "type": "Object",
17210 "optional": true
17211 }
17212 ],
17213 "access": "private",
17214 "tagname": "",
17215 "class": "@ember/instrumentation",
17216 "module": "@ember/instrumentation"
17217 },
17218 {
17219 "file": "packages/@ember/instrumentation/index.ts",
17220 "line": 346,
17221 "description": "Resets `Instrumentation` by flushing list of subscribers.",
17222 "itemtype": "method",
17223 "name": "reset",
17224 "static": 1,
17225 "access": "private",
17226 "tagname": "",
17227 "class": "@ember/instrumentation",
17228 "module": "@ember/instrumentation"
17229 },
17230 {
17231 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17232 "line": 63,
17233 "description": "A computed property macro that returns true if the value of the dependent\nproperty is null, an empty string, empty array, or empty function.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { empty } from '@ember/object/computed';\n\nclass ToDoList {\n constructor(todos) {\n set(this, 'todos', todos);\n }\n\n @empty('todos') isDone;\n}\n\nlet todoList = new ToDoList(\n ['Unit Test', 'Documentation', 'Release']\n);\n\ntodoList.isDone; // false\nset(todoList, 'todos', []);\ntodoList.isDone; // true\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { empty } from '@ember/object/computed';\n\nlet ToDoList = EmberObject.extend({\n isDone: empty('todos')\n});\n\nlet todoList = ToDoList.create({\n todos: ['Unit Test', 'Documentation', 'Release']\n});\n\ntodoList.isDone; // false\nset(todoList, 'todos', []);\ntodoList.isDone; // true\n```",
17234 "since": "1.6.0",
17235 "itemtype": "method",
17236 "name": "empty",
17237 "static": 1,
17238 "params": [
17239 {
17240 "name": "dependentKey",
17241 "description": "",
17242 "type": "String"
17243 }
17244 ],
17245 "return": {
17246 "description": "computed property which returns true if the value\nof the dependent property is null, an empty string, empty array, or empty\nfunction and false if the underlying value is not empty.",
17247 "type": "ComputedProperty"
17248 },
17249 "access": "public",
17250 "tagname": "",
17251 "class": "@ember/object/computed",
17252 "module": "@ember/object"
17253 },
17254 {
17255 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17256 "line": 131,
17257 "description": "A computed property that returns true if the value of the dependent property\nis NOT null, an empty string, empty array, or empty function.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\n\nclass Hamster {\n constructor(backpack) {\n set(this, 'backpack', backpack);\n }\n\n @notEmpty('backpack') hasStuff\n}\n\nlet hamster = new Hamster(\n ['Food', 'Sleeping Bag', 'Tent']\n);\n\nhamster.hasStuff; // true\nset(hamster, 'backpack', []);\nhamster.hasStuff; // false\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n hasStuff: notEmpty('backpack')\n});\n\nlet hamster = Hamster.create({\n backpack: ['Food', 'Sleeping Bag', 'Tent']\n});\n\nhamster.hasStuff; // true\nset(hamster, 'backpack', []);\nhamster.hasStuff; // false\n```",
17258 "itemtype": "method",
17259 "name": "notEmpty",
17260 "static": 1,
17261 "params": [
17262 {
17263 "name": "dependentKey",
17264 "description": "",
17265 "type": "String"
17266 }
17267 ],
17268 "return": {
17269 "description": "computed property which returns true if original\nvalue for property is not empty.",
17270 "type": "ComputedProperty"
17271 },
17272 "access": "public",
17273 "tagname": "",
17274 "class": "@ember/object/computed",
17275 "module": "@ember/object"
17276 },
17277 {
17278 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17279 "line": 196,
17280 "description": "A computed property that returns true if the value of the dependent property\nis null or undefined. This avoids errors from JSLint complaining about use of\n==, which can be technically confusing.\n\n```javascript\nimport { set } from '@ember/object';\nimport { none } from '@ember/object/computed';\n\nclass Hamster {\n @none('food') isHungry;\n}\n\nlet hamster = new Hamster();\n\nhamster.isHungry; // true\n\nset(hamster, 'food', 'Banana');\nhamster.isHungry; // false\n\nset(hamster, 'food', null);\nhamster.isHungry; // true\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { none } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n isHungry: none('food')\n});\n\nlet hamster = Hamster.create();\n\nhamster.isHungry; // true\n\nset(hamster, 'food', 'Banana');\nhamster.isHungry; // false\n\nset(hamster, 'food', null);\nhamster.isHungry; // true\n```",
17281 "itemtype": "method",
17282 "name": "none",
17283 "static": 1,
17284 "params": [
17285 {
17286 "name": "dependentKey",
17287 "description": "",
17288 "type": "String"
17289 }
17290 ],
17291 "return": {
17292 "description": "computed property which returns true if original\nvalue for property is null or undefined.",
17293 "type": "ComputedProperty"
17294 },
17295 "access": "public",
17296 "tagname": "",
17297 "class": "@ember/object/computed",
17298 "module": "@ember/object"
17299 },
17300 {
17301 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17302 "line": 260,
17303 "description": "A computed property that returns the inverse boolean value of the original\nvalue for the dependent property.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { not } from '@ember/object/computed';\n\nclass User {\n loggedIn = false;\n\n @not('loggedIn') isAnonymous;\n}\n\nlet user = new User();\n\nuser.isAnonymous; // true\nset(user, 'loggedIn', true);\nuser.isAnonymous; // false\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { not } from '@ember/object/computed';\n\nlet User = EmberObject.extend({\n loggedIn: false,\n\n isAnonymous: not('loggedIn')\n});\n\nlet user = User.create();\n\nuser.isAnonymous; // true\nset(user, 'loggedIn', true);\nuser.isAnonymous; // false\n```",
17304 "itemtype": "method",
17305 "name": "not",
17306 "static": 1,
17307 "params": [
17308 {
17309 "name": "dependentKey",
17310 "description": "",
17311 "type": "String"
17312 }
17313 ],
17314 "return": {
17315 "description": "computed property which returns inverse of the\noriginal value for property",
17316 "type": "ComputedProperty"
17317 },
17318 "access": "public",
17319 "tagname": "",
17320 "class": "@ember/object/computed",
17321 "module": "@ember/object"
17322 },
17323 {
17324 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17325 "line": 321,
17326 "description": "A computed property that converts the provided dependent property into a\nboolean value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { bool } from '@ember/object/computed';\n\n\nclass Hamster {\n @bool('numBananas') hasBananas\n}\n\nlet hamster = new Hamster();\n\nhamster.hasBananas; // false\n\nset(hamster, 'numBananas', 0);\nhamster.hasBananas; // false\n\nset(hamster, 'numBananas', 1);\nhamster.hasBananas; // true\n\nset(hamster, 'numBananas', null);\nhamster.hasBananas; // false\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { bool } from '@ember/object/computed';\n\n\nlet Hamster = EmberObject.extend({\n hasBananas: bool('numBananas')\n});\n\nlet hamster = Hamster.create();\n\nhamster.hasBananas; // false\n\nset(hamster, 'numBananas', 0);\nhamster.hasBananas; // false\n\nset(hamster, 'numBananas', 1);\nhamster.hasBananas; // true\n\nset(hamster, 'numBananas', null);\nhamster.hasBananas; // false\n```",
17327 "itemtype": "method",
17328 "name": "bool",
17329 "static": 1,
17330 "params": [
17331 {
17332 "name": "dependentKey",
17333 "description": "",
17334 "type": "String"
17335 }
17336 ],
17337 "return": {
17338 "description": "computed property which converts to boolean the\noriginal value for property",
17339 "type": "ComputedProperty"
17340 },
17341 "access": "public",
17342 "tagname": "",
17343 "class": "@ember/object/computed",
17344 "module": "@ember/object"
17345 },
17346 {
17347 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17348 "line": 394,
17349 "description": "A computed property which matches the original value for the dependent\nproperty against a given RegExp, returning `true` if the value matches the\nRegExp and `false` if it does not.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { match } from '@ember/object/computed';\n\nclass User {\n @match('email', /^.+@.+\\..+$/) hasValidEmail;\n}\n\nlet user = new User();\n\nuser.hasValidEmail; // false\n\nset(user, 'email', '');\nuser.hasValidEmail; // false\n\nset(user, 'email', 'ember_hamster@example.com');\nuser.hasValidEmail; // true\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { match } from '@ember/object/computed';\n\nlet User = EmberObject.extend({\n hasValidEmail: match('email', /^.+@.+\\..+$/)\n});\n\nlet user = User.create();\n\nuser.hasValidEmail; // false\n\nset(user, 'email', '');\nuser.hasValidEmail; // false\n\nset(user, 'email', 'ember_hamster@example.com');\nuser.hasValidEmail; // true\n```",
17350 "itemtype": "method",
17351 "name": "match",
17352 "static": 1,
17353 "params": [
17354 {
17355 "name": "dependentKey",
17356 "description": "",
17357 "type": "String"
17358 },
17359 {
17360 "name": "regexp",
17361 "description": "",
17362 "type": "RegExp"
17363 }
17364 ],
17365 "return": {
17366 "description": "computed property which match the original value\nfor property against a given RegExp",
17367 "type": "ComputedProperty"
17368 },
17369 "access": "public",
17370 "tagname": "",
17371 "class": "@ember/object/computed",
17372 "module": "@ember/object"
17373 },
17374 {
17375 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17376 "line": 462,
17377 "description": "A computed property that returns true if the provided dependent property is\nequal to the given value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { equal } from '@ember/object/computed';\n\nclass Hamster {\n @equal('percentCarrotsEaten', 100) satisfied;\n}\n\nlet hamster = new Hamster();\n\nhamster.satisfied; // false\n\nset(hamster, 'percentCarrotsEaten', 100);\nhamster.satisfied; // true\n\nset(hamster, 'percentCarrotsEaten', 50);\nhamster.satisfied; // false\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { equal } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n satisfied: equal('percentCarrotsEaten', 100)\n});\n\nlet hamster = Hamster.create();\n\nhamster.satisfied; // false\n\nset(hamster, 'percentCarrotsEaten', 100);\nhamster.satisfied; // true\n\nset(hamster, 'percentCarrotsEaten', 50);\nhamster.satisfied; // false\n```",
17378 "itemtype": "method",
17379 "name": "equal",
17380 "static": 1,
17381 "params": [
17382 {
17383 "name": "dependentKey",
17384 "description": "",
17385 "type": "String"
17386 },
17387 {
17388 "name": "value",
17389 "description": "",
17390 "type": "String|Number|Object"
17391 }
17392 ],
17393 "return": {
17394 "description": "computed property which returns true if the\noriginal value for property is equal to the given value.",
17395 "type": "ComputedProperty"
17396 },
17397 "access": "public",
17398 "tagname": "",
17399 "class": "@ember/object/computed",
17400 "module": "@ember/object"
17401 },
17402 {
17403 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17404 "line": 528,
17405 "description": "A computed property that returns true if the provided dependent property is\ngreater than the provided value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { gt } from '@ember/object/computed';\n\nclass Hamster {\n @gt('numBananas', 10) hasTooManyBananas;\n}\n\nlet hamster = new Hamster();\n\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 11);\nhamster.hasTooManyBananas; // true\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { gt } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n hasTooManyBananas: gt('numBananas', 10)\n});\n\nlet hamster = Hamster.create();\n\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 11);\nhamster.hasTooManyBananas; // true\n```",
17406 "itemtype": "method",
17407 "name": "gt",
17408 "static": 1,
17409 "params": [
17410 {
17411 "name": "dependentKey",
17412 "description": "",
17413 "type": "String"
17414 },
17415 {
17416 "name": "value",
17417 "description": "",
17418 "type": "Number"
17419 }
17420 ],
17421 "return": {
17422 "description": "computed property which returns true if the\noriginal value for property is greater than given value.",
17423 "type": "ComputedProperty"
17424 },
17425 "access": "public",
17426 "tagname": "",
17427 "class": "@ember/object/computed",
17428 "module": "@ember/object"
17429 },
17430 {
17431 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17432 "line": 594,
17433 "description": "A computed property that returns true if the provided dependent property is\ngreater than or equal to the provided value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { gte } from '@ember/object/computed';\n\nclass Hamster {\n @gte('numBananas', 10) hasTooManyBananas;\n}\n\nlet hamster = new Hamster();\n\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 10);\nhamster.hasTooManyBananas; // true\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { gte } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n hasTooManyBananas: gte('numBananas', 10)\n});\n\nlet hamster = Hamster.create();\n\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 10);\nhamster.hasTooManyBananas; // true\n```",
17434 "itemtype": "method",
17435 "name": "gte",
17436 "static": 1,
17437 "params": [
17438 {
17439 "name": "dependentKey",
17440 "description": "",
17441 "type": "String"
17442 },
17443 {
17444 "name": "value",
17445 "description": "",
17446 "type": "Number"
17447 }
17448 ],
17449 "return": {
17450 "description": "computed property which returns true if the\noriginal value for property is greater or equal then given value.",
17451 "type": "ComputedProperty"
17452 },
17453 "access": "public",
17454 "tagname": "",
17455 "class": "@ember/object/computed",
17456 "module": "@ember/object"
17457 },
17458 {
17459 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17460 "line": 660,
17461 "description": "A computed property that returns true if the provided dependent property is\nless than the provided value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { lt } from '@ember/object/computed';\n\nclass Hamster {\n @lt('numBananas', 3) needsMoreBananas;\n}\n\nlet hamster = new Hamster();\n\nhamster.needsMoreBananas; // true\n\nset(hamster, 'numBananas', 3);\nhamster.needsMoreBananas; // false\n\nset(hamster, 'numBananas', 2);\nhamster.needsMoreBananas; // true\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { lt } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n needsMoreBananas: lt('numBananas', 3)\n});\n\nlet hamster = Hamster.create();\n\nhamster.needsMoreBananas; // true\n\nset(hamster, 'numBananas', 3);\nhamster.needsMoreBananas; // false\n\nset(hamster, 'numBananas', 2);\nhamster.needsMoreBananas; // true\n```",
17462 "itemtype": "method",
17463 "name": "lt",
17464 "static": 1,
17465 "params": [
17466 {
17467 "name": "dependentKey",
17468 "description": "",
17469 "type": "String"
17470 },
17471 {
17472 "name": "value",
17473 "description": "",
17474 "type": "Number"
17475 }
17476 ],
17477 "return": {
17478 "description": "computed property which returns true if the\noriginal value for property is less then given value.",
17479 "type": "ComputedProperty"
17480 },
17481 "access": "public",
17482 "tagname": "",
17483 "class": "@ember/object/computed",
17484 "module": "@ember/object"
17485 },
17486 {
17487 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17488 "line": 726,
17489 "description": "A computed property that returns true if the provided dependent property is\nless than or equal to the provided value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { lte } from '@ember/object/computed';\n\nclass Hamster {\n @lte('numBananas', 3) needsMoreBananas;\n}\n\nlet hamster = new Hamster();\n\nhamster.needsMoreBananas; // true\n\nset(hamster, 'numBananas', 5);\nhamster.needsMoreBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.needsMoreBananas; // true\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { lte } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n needsMoreBananas: lte('numBananas', 3)\n});\n\nlet hamster = Hamster.create();\n\nhamster.needsMoreBananas; // true\n\nset(hamster, 'numBananas', 5);\nhamster.needsMoreBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.needsMoreBananas; // true\n```",
17490 "itemtype": "method",
17491 "name": "lte",
17492 "static": 1,
17493 "params": [
17494 {
17495 "name": "dependentKey",
17496 "description": "",
17497 "type": "String"
17498 },
17499 {
17500 "name": "value",
17501 "description": "",
17502 "type": "Number"
17503 }
17504 ],
17505 "return": {
17506 "description": "computed property which returns true if the\noriginal value for property is less or equal than given value.",
17507 "type": "ComputedProperty"
17508 },
17509 "access": "public",
17510 "tagname": "",
17511 "class": "@ember/object/computed",
17512 "module": "@ember/object"
17513 },
17514 {
17515 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17516 "line": 792,
17517 "description": "A computed property that performs a logical `and` on the original values for\nthe provided dependent properties.\n\nYou may pass in more than two properties and even use property brace\nexpansion. The computed property will return the first falsy value or last\ntruthy value just like JavaScript's `&&` operator.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { and } from '@ember/object/computed';\n\nclass Hamster {\n @and('hasTent', 'hasBackpack') readyForCamp;\n @and('hasWalkingStick', 'hasBackpack') readyForHike;\n}\n\nlet tomster = new Hamster();\n\ntomster.readyForCamp; // false\n\nset(tomster, 'hasTent', true);\ntomster.readyForCamp; // false\n\nset(tomster, 'hasBackpack', true);\ntomster.readyForCamp; // true\n\nset(tomster, 'hasBackpack', 'Yes');\ntomster.readyForCamp; // 'Yes'\n\nset(tomster, 'hasWalkingStick', null);\ntomster.readyForHike; // null\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { and } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n readyForCamp: and('hasTent', 'hasBackpack'),\n readyForHike: and('hasWalkingStick', 'hasBackpack')\n});\n\nlet tomster = Hamster.create();\n\ntomster.readyForCamp; // false\n\nset(tomster, 'hasTent', true);\ntomster.readyForCamp; // false\n\nset(tomster, 'hasBackpack', true);\ntomster.readyForCamp; // true\n\nset(tomster, 'hasBackpack', 'Yes');\ntomster.readyForCamp; // 'Yes'\n\nset(tomster, 'hasWalkingStick', null);\ntomster.readyForHike; // null\n```",
17518 "itemtype": "method",
17519 "name": "and",
17520 "static": 1,
17521 "params": [
17522 {
17523 "name": "dependentKey",
17524 "description": "",
17525 "type": "String",
17526 "multiple": true
17527 }
17528 ],
17529 "return": {
17530 "description": "computed property which performs a logical `and` on\nthe values of all the original values for properties.",
17531 "type": "ComputedProperty"
17532 },
17533 "access": "public",
17534 "tagname": "",
17535 "class": "@ember/object/computed",
17536 "module": "@ember/object"
17537 },
17538 {
17539 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17540 "line": 866,
17541 "description": "A computed property which performs a logical `or` on the original values for\nthe provided dependent properties.\n\nYou may pass in more than two properties and even use property brace\nexpansion. The computed property will return the first truthy value or last\nfalsy value just like JavaScript's `||` operator.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { or } from '@ember/object/computed';\n\nclass Hamster {\n @or('hasJacket', 'hasUmbrella') readyForRain;\n @or('hasSunscreen', 'hasUmbrella') readyForBeach;\n}\n\nlet tomster = new Hamster();\n\ntomster.readyForRain; // undefined\n\nset(tomster, 'hasUmbrella', true);\ntomster.readyForRain; // true\n\nset(tomster, 'hasJacket', 'Yes');\ntomster.readyForRain; // 'Yes'\n\nset(tomster, 'hasSunscreen', 'Check');\ntomster.readyForBeach; // 'Check'\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { or } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n readyForRain: or('hasJacket', 'hasUmbrella'),\n readyForBeach: or('hasSunscreen', 'hasUmbrella')\n});\n\nlet tomster = Hamster.create();\n\ntomster.readyForRain; // undefined\n\nset(tomster, 'hasUmbrella', true);\ntomster.readyForRain; // true\n\nset(tomster, 'hasJacket', 'Yes');\ntomster.readyForRain; // 'Yes'\n\nset(tomster, 'hasSunscreen', 'Check');\ntomster.readyForBeach; // 'Check'\n```",
17542 "itemtype": "method",
17543 "name": "or",
17544 "static": 1,
17545 "params": [
17546 {
17547 "name": "dependentKey",
17548 "description": "",
17549 "type": "String",
17550 "multiple": true
17551 }
17552 ],
17553 "return": {
17554 "description": "computed property which performs a logical `or` on\nthe values of all the original values for properties.",
17555 "type": "ComputedProperty"
17556 },
17557 "access": "public",
17558 "tagname": "",
17559 "class": "@ember/object/computed",
17560 "module": "@ember/object"
17561 },
17562 {
17563 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17564 "line": 934,
17565 "description": "Creates a new property that is an alias for another property on an object.\nCalls to `get` or `set` this property behave as though they were called on the\noriginal property.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { alias } from '@ember/object/computed';\n\nclass Person {\n name = 'Alex Matchneer';\n\n @alias('name') nomen;\n}\n\nlet alex = new Person();\n\nalex.nomen; // 'Alex Matchneer'\nalex.name; // 'Alex Matchneer'\n\nset(alex, 'nomen', '@machty');\nalex.name; // '@machty'\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { alias } from '@ember/object/computed';\n\nlet Person = EmberObject.extend({\n name: 'Alex Matchneer',\n\n nomen: alias('name')\n});\n\nlet alex = Person.create();\n\nalex.nomen; // 'Alex Matchneer'\nalex.name; // 'Alex Matchneer'\n\nset(alex, 'nomen', '@machty');\nalex.name; // '@machty'\n```",
17566 "itemtype": "method",
17567 "name": "alias",
17568 "static": 1,
17569 "params": [
17570 {
17571 "name": "dependentKey",
17572 "description": "",
17573 "type": "String"
17574 }
17575 ],
17576 "return": {
17577 "description": "computed property which creates an alias to the\noriginal value for property.",
17578 "type": "ComputedProperty"
17579 },
17580 "access": "public",
17581 "tagname": "",
17582 "class": "@ember/object/computed",
17583 "module": "@ember/object"
17584 },
17585 {
17586 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17587 "line": 990,
17588 "description": "Where `computed.alias` aliases `get` and `set`, and allows for bidirectional\ndata flow, `computed.oneWay` only provides an aliased `get`. The `set` will\nnot mutate the upstream property, rather causes the current property to become\nthe value set. This causes the downstream property to permanently diverge from\nthe upstream property.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { oneWay }from '@ember/object/computed';\n\nclass User {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n @oneWay('firstName') nickName;\n}\n\nlet teddy = new User('Teddy', 'Zeenny');\n\nteddy.nickName; // 'Teddy'\n\nset(teddy, 'nickName', 'TeddyBear');\nteddy.firstName; // 'Teddy'\nteddy.nickName; // 'TeddyBear'\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { oneWay } from '@ember/object/computed';\n\nlet User = EmberObject.extend({\n firstName: null,\n lastName: null,\n\n nickName: oneWay('firstName')\n});\n\nlet teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n});\n\nteddy.nickName; // 'Teddy'\n\nset(teddy, 'nickName', 'TeddyBear'); // 'TeddyBear'\nteddy.firstName; // 'Teddy'\nteddy.nickName; // 'TeddyBear'\n```",
17589 "itemtype": "method",
17590 "name": "oneWay",
17591 "static": 1,
17592 "params": [
17593 {
17594 "name": "dependentKey",
17595 "description": "",
17596 "type": "String"
17597 }
17598 ],
17599 "return": {
17600 "description": "computed property which creates a one way computed\nproperty to the original value for property.",
17601 "type": "ComputedProperty"
17602 },
17603 "access": "public",
17604 "tagname": "",
17605 "class": "@ember/object/computed",
17606 "module": "@ember/object"
17607 },
17608 {
17609 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17610 "line": 1063,
17611 "description": "This is a more semantically meaningful alias of `computed.oneWay`, whose name\nis somewhat ambiguous as to which direction the data flows.",
17612 "itemtype": "method",
17613 "name": "reads",
17614 "static": 1,
17615 "params": [
17616 {
17617 "name": "dependentKey",
17618 "description": "",
17619 "type": "String"
17620 }
17621 ],
17622 "return": {
17623 "description": "computed property which creates a one way computed\n property to the original value for property.",
17624 "type": "ComputedProperty"
17625 },
17626 "access": "public",
17627 "tagname": "",
17628 "class": "@ember/object/computed",
17629 "module": "@ember/object"
17630 },
17631 {
17632 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17633 "line": 1076,
17634 "description": "Where `computed.oneWay` provides oneWay bindings, `computed.readOnly` provides\na readOnly one way binding. Very often when using `computed.oneWay` one does\nnot also want changes to propagate back up, as they will replace the value.\n\nThis prevents the reverse flow, and also throws an exception when it occurs.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nclass User {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n @readOnly('firstName') nickName;\n});\n\nlet teddy = new User('Teddy', 'Zeenny');\n\nteddy.nickName; // 'Teddy'\n\nset(teddy, 'nickName', 'TeddyBear'); // throws Exception\n// throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n\nteddy.firstName; // 'Teddy'\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nlet User = EmberObject.extend({\n firstName: null,\n lastName: null,\n\n nickName: readOnly('firstName')\n});\n\nlet teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n});\n\nteddy.nickName; // 'Teddy'\n\nset(teddy, 'nickName', 'TeddyBear'); // throws Exception\n// throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n\nteddy.firstName; // 'Teddy'\n```",
17635 "itemtype": "method",
17636 "name": "readOnly",
17637 "static": 1,
17638 "params": [
17639 {
17640 "name": "dependentKey",
17641 "description": "",
17642 "type": "String"
17643 }
17644 ],
17645 "return": {
17646 "description": "computed property which creates a one way computed\nproperty to the original value for property.",
17647 "type": "ComputedProperty"
17648 },
17649 "since": "1.5.0",
17650 "access": "public",
17651 "tagname": "",
17652 "class": "@ember/object/computed",
17653 "module": "@ember/object"
17654 },
17655 {
17656 "file": "packages/@ember/object/lib/computed/computed_macros.js",
17657 "line": 1152,
17658 "description": "Creates a new property that is an alias for another property on an object.\nCalls to `get` or `set` this property behave as though they were called on the\noriginal property, but also print a deprecation warning.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { deprecatingAlias } from '@ember/object/computed';\n\nclass Hamster {\n @deprecatingAlias('cavendishCount', {\n id: 'hamster.deprecate-banana',\n until: '3.0.0'\n })\n bananaCount;\n}\n\nlet hamster = new Hamster();\n\nset(hamster, 'bananaCount', 5); // Prints a deprecation warning.\nhamster.cavendishCount; // 5\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { deprecatingAlias } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n bananaCount: deprecatingAlias('cavendishCount', {\n id: 'hamster.deprecate-banana',\n until: '3.0.0'\n })\n});\n\nlet hamster = Hamster.create();\n\nset(hamster, 'bananaCount', 5); // Prints a deprecation warning.\nhamster.cavendishCount; // 5\n```",
17659 "itemtype": "method",
17660 "name": "deprecatingAlias",
17661 "static": 1,
17662 "params": [
17663 {
17664 "name": "dependentKey",
17665 "description": "",
17666 "type": "String"
17667 },
17668 {
17669 "name": "options",
17670 "description": "Options for `deprecate`.",
17671 "type": "Object"
17672 }
17673 ],
17674 "return": {
17675 "description": "computed property which creates an alias with a\ndeprecation to the original value for property.",
17676 "type": "ComputedProperty"
17677 },
17678 "since": "1.7.0",
17679 "access": "public",
17680 "tagname": "",
17681 "class": "@ember/object/computed",
17682 "module": "@ember/object"
17683 },
17684 {
17685 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17686 "line": 56,
17687 "description": "A computed property that returns the sum of the values in the dependent array.\n\nExample:\n\n```javascript\nimport { sum } from '@ember/object/computed';\n\nclass Invoice {\n lineItems = [1.00, 2.50, 9.99];\n\n @sum('lineItems') total;\n}\n\nlet invoice = new Invoice();\n\ninvoice.total; // 13.49\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { sum } from '@ember/object/computed';\n\nlet Invoice = EmberObject.extend({\n lineItems: [1.00, 2.50, 9.99],\n\n total: sum('lineItems')\n})\n\nlet invoice = Invoice.create();\n\ninvoice.total; // 13.49\n```",
17688 "itemtype": "method",
17689 "name": "sum",
17690 "static": 1,
17691 "params": [
17692 {
17693 "name": "dependentKey",
17694 "description": "",
17695 "type": "String"
17696 }
17697 ],
17698 "return": {
17699 "description": "computes the sum of all values in the\ndependentKey's array",
17700 "type": "ComputedProperty"
17701 },
17702 "since": "1.4.0",
17703 "access": "public",
17704 "tagname": "",
17705 "class": "@ember/object/computed",
17706 "module": "@ember/object"
17707 },
17708 {
17709 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17710 "line": 110,
17711 "description": "A computed property that calculates the maximum value in the dependent array.\nThis will return `-Infinity` when the dependent array is empty.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { mapBy, max } from '@ember/object/computed';\n\nclass Person {\n children = [];\n\n @mapBy('children', 'age') childAges;\n @max('childAges') maxChildAge;\n}\n\nlet lordByron = new Person();\n\nlordByron.maxChildAge; // -Infinity\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.maxChildAge; // 7\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.maxChildAge; // 8\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { mapBy, max } from '@ember/object/computed';\n\nlet Person = EmberObject.extend({\n childAges: mapBy('children', 'age'),\n maxChildAge: max('childAges')\n});\n\nlet lordByron = Person.create({ children: [] });\n\nlordByron.maxChildAge; // -Infinity\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.maxChildAge; // 7\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.maxChildAge; // 8\n```\n\nIf the types of the arguments are not numbers, they will be converted to\nnumbers and the type of the return value will always be `Number`. For example,\nthe max of a list of Date objects will be the highest timestamp as a `Number`.\nThis behavior is consistent with `Math.max`.",
17712 "itemtype": "method",
17713 "name": "max",
17714 "static": 1,
17715 "params": [
17716 {
17717 "name": "dependentKey",
17718 "description": "",
17719 "type": "String"
17720 }
17721 ],
17722 "return": {
17723 "description": "computes the largest value in the dependentKey's\narray",
17724 "type": "ComputedProperty"
17725 },
17726 "access": "public",
17727 "tagname": "",
17728 "class": "@ember/object/computed",
17729 "module": "@ember/object"
17730 },
17731 {
17732 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17733 "line": 210,
17734 "description": "A computed property that calculates the minimum value in the dependent array.\nThis will return `Infinity` when the dependent array is empty.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { mapBy, min } from '@ember/object/computed';\n\nclass Person {\n children = [];\n\n @mapBy('children', 'age') childAges;\n @min('childAges') minChildAge;\n}\n\nlet lordByron = Person.create({ children: [] });\n\nlordByron.minChildAge; // Infinity\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.minChildAge; // 7\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.minChildAge; // 5\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { mapBy, min } from '@ember/object/computed';\n\nlet Person = EmberObject.extend({\n childAges: mapBy('children', 'age'),\n minChildAge: min('childAges')\n});\n\nlet lordByron = Person.create({ children: [] });\n\nlordByron.minChildAge; // Infinity\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.minChildAge; // 7\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.minChildAge; // 5\n```\n\nIf the types of the arguments are not numbers, they will be converted to\nnumbers and the type of the return value will always be `Number`. For example,\nthe min of a list of Date objects will be the lowest timestamp as a `Number`.\nThis behavior is consistent with `Math.min`.",
17735 "itemtype": "method",
17736 "name": "min",
17737 "static": 1,
17738 "params": [
17739 {
17740 "name": "dependentKey",
17741 "description": "",
17742 "type": "String"
17743 }
17744 ],
17745 "return": {
17746 "description": "computes the smallest value in the dependentKey's array",
17747 "type": "ComputedProperty"
17748 },
17749 "access": "public",
17750 "tagname": "",
17751 "class": "@ember/object/computed",
17752 "module": "@ember/object"
17753 },
17754 {
17755 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17756 "line": 309,
17757 "description": "Returns an array mapped via the callback\n\nThe callback method you provide should have the following signature:\n- `item` is the current item in the iteration.\n- `index` is the integer index of the current item in the iteration.\n\n```javascript\nfunction mapCallback(item, index);\n```\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { map } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @map('chores', function(chore, index) {\n return `${chore.toUpperCase()}!`;\n })\n excitingChores;\n});\n\nlet hamster = new Hamster(['clean', 'write more unit tests']);\n\nhamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { map } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n excitingChores: map('chores', function(chore, index) {\n return `${chore.toUpperCase()}!`;\n })\n});\n\nlet hamster = Hamster.create({\n chores: ['clean', 'write more unit tests']\n});\n\nhamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n```\n\nYou can optionally pass an array of additional dependent keys as the second\nparameter to the macro, if your map function relies on any external values:\n\n```javascript\nimport { set } from '@ember/object';\nimport { map } from '@ember/object/computed';\n\nclass Hamster {\n shouldUpperCase = false;\n\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @map('chores', ['shouldUpperCase'], function(chore, index) {\n if (this.shouldUpperCase) {\n return `${chore.toUpperCase()}!`;\n } else {\n return `${chore}!`;\n }\n })\n excitingChores;\n}\n\nlet hamster = new Hamster(['clean', 'write more unit tests']);\n\nhamster.excitingChores; // ['clean!', 'write more unit tests!']\n\nset(hamster, 'shouldUpperCase', true);\nhamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n```",
17758 "itemtype": "method",
17759 "name": "map",
17760 "static": 1,
17761 "params": [
17762 {
17763 "name": "dependentKey",
17764 "description": "",
17765 "type": "String"
17766 },
17767 {
17768 "name": "additionalDependentKeys",
17769 "description": "optional array of additional\ndependent keys",
17770 "type": "Array",
17771 "optional": true
17772 },
17773 {
17774 "name": "callback",
17775 "description": "",
17776 "type": "Function"
17777 }
17778 ],
17779 "return": {
17780 "description": "an array mapped via the callback",
17781 "type": "ComputedProperty"
17782 },
17783 "access": "public",
17784 "tagname": "",
17785 "class": "@ember/object/computed",
17786 "module": "@ember/object"
17787 },
17788 {
17789 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17790 "line": 429,
17791 "description": "Returns an array mapped to the specified key.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { mapBy } from '@ember/object/computed';\n\nclass Person {\n children = [];\n\n @mapBy('children', 'age') childAges;\n}\n\nlet lordByron = new Person();\n\nlordByron.childAges; // []\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.childAges; // [7]\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.childAges; // [7, 5, 8]\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { mapBy } from '@ember/object/computed';\n\nlet Person = EmberObject.extend({\n childAges: mapBy('children', 'age')\n});\n\nlet lordByron = Person.create({ children: [] });\n\nlordByron.childAges; // []\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.childAges; // [7]\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.childAges; // [7, 5, 8]\n```",
17792 "itemtype": "method",
17793 "name": "mapBy",
17794 "static": 1,
17795 "params": [
17796 {
17797 "name": "dependentKey",
17798 "description": "",
17799 "type": "String"
17800 },
17801 {
17802 "name": "propertyKey",
17803 "description": "",
17804 "type": "String"
17805 }
17806 ],
17807 "return": {
17808 "description": "an array mapped to the specified key",
17809 "type": "ComputedProperty"
17810 },
17811 "access": "public",
17812 "tagname": "",
17813 "class": "@ember/object/computed",
17814 "module": "@ember/object"
17815 },
17816 {
17817 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17818 "line": 531,
17819 "description": "Filters the array by the callback.\n\nThe callback method you provide should have the following signature:\n- `item` is the current item in the iteration.\n- `index` is the integer index of the current item in the iteration.\n- `array` is the dependant array itself.\n\n```javascript\nfunction filterCallback(item, index, array);\n```\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { filter } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @filter('chores', function(chore, index, array) {\n return !chore.done;\n })\n remainingChores;\n}\n\nlet hamster = Hamster.create([\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n]);\n\nhamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { filter } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n remainingChores: filter('chores', function(chore, index, array) {\n return !chore.done;\n })\n});\n\nlet hamster = Hamster.create({\n chores: [\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n ]\n});\n\nhamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n```\n\nYou can also use `@each.property` in your dependent key, the callback will\nstill use the underlying array:\n\n```javascript\nimport { set } from '@ember/object';\nimport { filter } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @filter('chores.@each.done', function(chore, index, array) {\n return !chore.done;\n })\n remainingChores;\n}\n\nlet hamster = new Hamster([\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n]);\nhamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n\nset(hamster.chores[2], 'done', true);\nhamster.remainingChores; // []\n```\n\nFinally, you can optionally pass an array of additional dependent keys as the\nsecond parameter to the macro, if your filter function relies on any external\nvalues:\n\n```javascript\nimport { filter } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n doneKey = 'finished';\n\n @filter('chores', ['doneKey'], function(chore, index, array) {\n return !chore[this.doneKey];\n })\n remainingChores;\n}\n\nlet hamster = new Hamster([\n { name: 'cook', finished: true },\n { name: 'clean', finished: true },\n { name: 'write more unit tests', finished: false }\n]);\n\nhamster.remainingChores; // [{name: 'write more unit tests', finished: false}]\n```",
17820 "itemtype": "method",
17821 "name": "filter",
17822 "static": 1,
17823 "params": [
17824 {
17825 "name": "dependentKey",
17826 "description": "",
17827 "type": "String"
17828 },
17829 {
17830 "name": "additionalDependentKeys",
17831 "description": "optional array of additional dependent keys",
17832 "type": "Array",
17833 "optional": true
17834 },
17835 {
17836 "name": "callback",
17837 "description": "",
17838 "type": "Function"
17839 }
17840 ],
17841 "return": {
17842 "description": "the filtered array",
17843 "type": "ComputedProperty"
17844 },
17845 "access": "public",
17846 "tagname": "",
17847 "class": "@ember/object/computed",
17848 "module": "@ember/object"
17849 },
17850 {
17851 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17852 "line": 685,
17853 "description": "Filters the array by the property and value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { filterBy } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @filterBy('chores', 'done', false) remainingChores;\n}\n\nlet hamster = new Hamster([\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n]);\n\nhamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { filterBy } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n remainingChores: filterBy('chores', 'done', false)\n});\n\nlet hamster = Hamster.create({\n chores: [\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n ]\n});\n\nhamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n```",
17854 "itemtype": "method",
17855 "name": "filterBy",
17856 "static": 1,
17857 "params": [
17858 {
17859 "name": "dependentKey",
17860 "description": "",
17861 "type": "String"
17862 },
17863 {
17864 "name": "propertyKey",
17865 "description": "",
17866 "type": "String"
17867 },
17868 {
17869 "name": "value",
17870 "description": "",
17871 "type": "*"
17872 }
17873 ],
17874 "return": {
17875 "description": "the filtered array",
17876 "type": "ComputedProperty"
17877 },
17878 "access": "public",
17879 "tagname": "",
17880 "class": "@ember/object/computed",
17881 "module": "@ember/object"
17882 },
17883 {
17884 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17885 "line": 762,
17886 "description": "A computed property which returns a new array with all the unique elements\nfrom one or more dependent arrays.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { uniq } from '@ember/object/computed';\n\nclass Hamster {\n constructor(fruits) {\n set(this, 'fruits', fruits);\n }\n\n @uniq('fruits') uniqueFruits;\n}\n\nlet hamster = new Hamster([\n 'banana',\n 'grape',\n 'kale',\n 'banana'\n]);\n\nhamster.uniqueFruits; // ['banana', 'grape', 'kale']\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { uniq } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n uniqueFruits: uniq('fruits')\n});\n\nlet hamster = Hamster.create({\n fruits: [\n 'banana',\n 'grape',\n 'kale',\n 'banana'\n ]\n});\n\nhamster.uniqueFruits; // ['banana', 'grape', 'kale']\n```",
17887 "itemtype": "method",
17888 "name": "uniq",
17889 "static": 1,
17890 "params": [
17891 {
17892 "name": "propertyKey",
17893 "description": "",
17894 "type": "String",
17895 "multiple": true
17896 }
17897 ],
17898 "return": {
17899 "description": "computes a new array with all the\nunique elements from the dependent array",
17900 "type": "ComputedProperty"
17901 },
17902 "access": "public",
17903 "tagname": "",
17904 "class": "@ember/object/computed",
17905 "module": "@ember/object"
17906 },
17907 {
17908 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17909 "line": 850,
17910 "description": "A computed property which returns a new array with all the unique elements\nfrom an array, with uniqueness determined by specific key.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { uniqBy } from '@ember/object/computed';\n\nclass Hamster {\n constructor(fruits) {\n set(this, 'fruits', fruits);\n }\n\n @uniqBy('fruits', 'id') uniqueFruits;\n}\n\nlet hamster = new Hamster([\n { id: 1, 'banana' },\n { id: 2, 'grape' },\n { id: 3, 'peach' },\n { id: 1, 'banana' }\n]);\n\nhamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { uniqBy } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n uniqueFruits: uniqBy('fruits', 'id')\n});\n\nlet hamster = Hamster.create({\n fruits: [\n { id: 1, 'banana' },\n { id: 2, 'grape' },\n { id: 3, 'peach' },\n { id: 1, 'banana' }\n ]\n});\n\nhamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n```",
17911 "itemtype": "method",
17912 "name": "uniqBy",
17913 "static": 1,
17914 "params": [
17915 {
17916 "name": "dependentKey",
17917 "description": "",
17918 "type": "String"
17919 },
17920 {
17921 "name": "propertyKey",
17922 "description": "",
17923 "type": "String"
17924 }
17925 ],
17926 "return": {
17927 "description": "computes a new array with all the\nunique elements from the dependent array",
17928 "type": "ComputedProperty"
17929 },
17930 "access": "public",
17931 "tagname": "",
17932 "class": "@ember/object/computed",
17933 "module": "@ember/object"
17934 },
17935 {
17936 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17937 "line": 926,
17938 "description": "A computed property which returns a new array with all the unique elements\nfrom one or more dependent arrays.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { union } from '@ember/object/computed';\n\nclass Hamster {\n constructor(fruits, vegetables) {\n set(this, 'fruits', fruits);\n set(this, 'vegetables', vegetables);\n }\n\n @union('fruits', 'vegetables') uniqueFruits;\n});\n\nlet hamster = new, Hamster(\n [\n 'banana',\n 'grape',\n 'kale',\n 'banana',\n 'tomato'\n ],\n [\n 'tomato',\n 'carrot',\n 'lettuce'\n ]\n);\n\nhamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { union } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n uniqueFruits: union('fruits', 'vegetables')\n});\n\nlet hamster = Hamster.create({\n fruits: [\n 'banana',\n 'grape',\n 'kale',\n 'banana',\n 'tomato'\n ],\n vegetables: [\n 'tomato',\n 'carrot',\n 'lettuce'\n ]\n});\n\nhamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n```",
17939 "itemtype": "method",
17940 "name": "union",
17941 "static": 1,
17942 "params": [
17943 {
17944 "name": "propertyKey",
17945 "description": "",
17946 "type": "String",
17947 "multiple": true
17948 }
17949 ],
17950 "return": {
17951 "description": "computes a new array with all the unique elements\nfrom one or more dependent arrays.",
17952 "type": "ComputedProperty"
17953 },
17954 "access": "public",
17955 "tagname": "",
17956 "class": "@ember/object/computed",
17957 "module": "@ember/object"
17958 },
17959 {
17960 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17961 "line": 1001,
17962 "description": "A computed property which returns a new array with all the elements\ntwo or more dependent arrays have in common.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { intersect } from '@ember/object/computed';\n\nclass FriendGroups {\n constructor(adaFriends, charlesFriends) {\n set(this, 'adaFriends', adaFriends);\n set(this, 'charlesFriends', charlesFriends);\n }\n\n @intersect('adaFriends', 'charlesFriends') friendsInCommon;\n}\n\nlet groups = new FriendGroups(\n ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n);\n\ngroups.friendsInCommon; // ['William King', 'Mary Somerville']\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { intersect } from '@ember/object/computed';\n\nlet FriendGroups = EmberObject.extend({\n friendsInCommon: intersect('adaFriends', 'charlesFriends')\n});\n\nlet groups = FriendGroups.create({\n adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n charlesFriends: ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n});\n\ngroups.friendsInCommon; // ['William King', 'Mary Somerville']\n```",
17963 "itemtype": "method",
17964 "name": "intersect",
17965 "static": 1,
17966 "params": [
17967 {
17968 "name": "propertyKey",
17969 "description": "",
17970 "type": "String",
17971 "multiple": true
17972 }
17973 ],
17974 "return": {
17975 "description": "computes a new array with all the duplicated\nelements from the dependent arrays",
17976 "type": "ComputedProperty"
17977 },
17978 "access": "public",
17979 "tagname": "",
17980 "class": "@ember/object/computed",
17981 "module": "@ember/object"
17982 },
17983 {
17984 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
17985 "line": 1093,
17986 "description": "A computed property which returns a new array with all the properties from the\nfirst dependent array that are not in the second dependent array.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { setDiff } from '@ember/object/computed';\n\nclass Hamster {\n constructor(likes, fruits) {\n set(this, 'likes', likes);\n set(this, 'fruits', fruits);\n }\n\n @setDiff('likes', 'fruits') wants;\n}\n\nlet hamster = new Hamster(\n [\n 'banana',\n 'grape',\n 'kale'\n ],\n [\n 'grape',\n 'kale',\n ]\n);\n\nhamster.wants; // ['banana']\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { setDiff } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n wants: setDiff('likes', 'fruits')\n});\n\nlet hamster = Hamster.create({\n likes: [\n 'banana',\n 'grape',\n 'kale'\n ],\n fruits: [\n 'grape',\n 'kale',\n ]\n});\n\nhamster.wants; // ['banana']\n```",
17987 "itemtype": "method",
17988 "name": "setDiff",
17989 "static": 1,
17990 "params": [
17991 {
17992 "name": "setAProperty",
17993 "description": "",
17994 "type": "String"
17995 },
17996 {
17997 "name": "setBProperty",
17998 "description": "",
17999 "type": "String"
18000 }
18001 ],
18002 "return": {
18003 "description": "computes a new array with all the items from the\nfirst dependent array that are not in the second dependent array",
18004 "type": "ComputedProperty"
18005 },
18006 "access": "public",
18007 "tagname": "",
18008 "class": "@ember/object/computed",
18009 "module": "@ember/object"
18010 },
18011 {
18012 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
18013 "line": 1188,
18014 "description": "A computed property that returns the array of values for the provided\ndependent properties.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { collect } from '@ember/object/computed';\n\nclass Hamster {\n @collect('hat', 'shirt') clothes;\n}\n\nlet hamster = new Hamster();\n\nhamster.clothes; // [null, null]\n\nset(hamster, 'hat', 'Camp Hat');\nset(hamster, 'shirt', 'Camp Shirt');\nhamster.clothes; // ['Camp Hat', 'Camp Shirt']\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject, { set } from '@ember/object';\nimport { collect } from '@ember/object/computed';\n\nlet Hamster = EmberObject.extend({\n clothes: collect('hat', 'shirt')\n});\n\nlet hamster = Hamster.create();\n\nhamster.clothes; // [null, null]\n\nset(hamster, 'hat', 'Camp Hat');\nset(hamster, 'shirt', 'Camp Shirt');\nhamster.clothes; // ['Camp Hat', 'Camp Shirt']\n```",
18015 "itemtype": "method",
18016 "name": "collect",
18017 "static": 1,
18018 "params": [
18019 {
18020 "name": "dependentKey",
18021 "description": "",
18022 "type": "String",
18023 "multiple": true
18024 }
18025 ],
18026 "return": {
18027 "description": "computed property which maps values of all passed\nin properties to an array.",
18028 "type": "ComputedProperty"
18029 },
18030 "access": "public",
18031 "tagname": "",
18032 "class": "@ember/object/computed",
18033 "module": "@ember/object"
18034 },
18035 {
18036 "file": "packages/@ember/object/lib/computed/reduce_computed_macros.js",
18037 "line": 1258,
18038 "description": "A computed property which returns a new array with all the properties from the\nfirst dependent array sorted based on a property or sort function. The sort\nmacro can be used in two different ways:\n\n1. By providing a sort callback function\n2. By providing an array of keys to sort the array\n\nIn the first form, the callback method you provide should have the following\nsignature:\n\n```javascript\nfunction sortCallback(itemA, itemB);\n```\n\n- `itemA` the first item to compare.\n- `itemB` the second item to compare.\n\nThis function should return negative number (e.g. `-1`) when `itemA` should\ncome before `itemB`. It should return positive number (e.g. `1`) when `itemA`\nshould come after `itemB`. If the `itemA` and `itemB` are equal this function\nshould return `0`.\n\nTherefore, if this function is comparing some numeric values, simple `itemA -\nitemB` or `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of\nseries of `if`.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { sort } from '@ember/object/computed';\n\nclass ToDoList {\n constructor(todos) {\n set(this, 'todos', todos);\n }\n\n // using a custom sort function\n @sort('todos', function(a, b){\n if (a.priority > b.priority) {\n return 1;\n } else if (a.priority < b.priority) {\n return -1;\n }\n\n return 0;\n })\n priorityTodos;\n}\n\nlet todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n]);\n\ntodoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n```\n\nClassic Class Example:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { sort } from '@ember/object/computed';\n\nlet ToDoList = EmberObject.extend({\n // using a custom sort function\n priorityTodos: sort('todos', function(a, b){\n if (a.priority > b.priority) {\n return 1;\n } else if (a.priority < b.priority) {\n return -1;\n }\n\n return 0;\n })\n});\n\nlet todoList = ToDoList.create({\n todos: [\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n ]\n});\n\ntodoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n```\n\nYou can also optionally pass an array of additional dependent keys as the\nsecond parameter, if your sort function is dependent on additional values that\ncould changes:\n\n```js\nimport EmberObject, { set } from '@ember/object';\nimport { sort } from '@ember/object/computed';\n\nclass ToDoList {\n sortKey = 'priority';\n\n constructor(todos) {\n set(this, 'todos', todos);\n }\n\n // using a custom sort function\n @sort('todos', ['sortKey'], function(a, b){\n if (a[this.sortKey] > b[this.sortKey]) {\n return 1;\n } else if (a[this.sortKey] < b[this.sortKey]) {\n return -1;\n }\n\n return 0;\n })\n sortedTodos;\n});\n\nlet todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n]);\n\ntodoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n```\n\nIn the second form, you should provide the key of the array of sort values as\nthe second parameter:\n\n```javascript\nimport { set } from '@ember/object';\nimport { sort } from '@ember/object/computed';\n\nclass ToDoList {\n constructor(todos) {\n set(this, 'todos', todos);\n }\n\n // using standard ascending sort\n todosSorting = ['name'];\n @sort('todos', 'todosSorting') sortedTodos;\n\n // using descending sort\n todosSortingDesc = ['name:desc'];\n @sort('todos', 'todosSortingDesc') sortedTodosDesc;\n}\n\nlet todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n]);\n\ntodoList.sortedTodos; // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\ntodoList.sortedTodosDesc; // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n```",
18039 "itemtype": "method",
18040 "name": "sort",
18041 "static": 1,
18042 "params": [
18043 {
18044 "name": "itemsKey",
18045 "description": "",
18046 "type": "String"
18047 },
18048 {
18049 "name": "sortDefinitionOrDependentKeys",
18050 "description": "The key of the sort definition (an array of sort properties),\nthe sort function, or an array of additional dependent keys",
18051 "type": "String|Function|Array"
18052 },
18053 {
18054 "name": "sortDefinition",
18055 "description": "the sort function (when used with additional dependent keys)",
18056 "type": "Function?"
18057 }
18058 ],
18059 "return": {
18060 "description": "computes a new sorted array based on the sort\nproperty array or callback function",
18061 "type": "ComputedProperty"
18062 },
18063 "access": "public",
18064 "tagname": "",
18065 "class": "@ember/object/computed",
18066 "module": "@ember/object"
18067 },
18068 {
18069 "file": "packages/@ember/object/compat.ts",
18070 "line": 33,
18071 "description": "`@dependentKeyCompat` is decorator that can be used on _native getters_ that\nuse tracked properties. It exposes the getter to Ember's classic computed\nproperty and observer systems, so they can watch it for changes. It can be\nused in both native and classic classes.\n\nNative Example:\n\n```js\nimport { tracked } from '@glimmer/tracking';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { computed, set } from '@ember/object';\n\nclass Person {\n @tracked firstName;\n @tracked lastName;\n\n @dependentKeyCompat\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n}\n\nclass Profile {\n constructor(person) {\n set(this, 'person', person);\n }\n\n @computed('person.fullName')\n get helloMessage() {\n return `Hello, ${this.person.fullName}!`;\n }\n}\n```\n\nClassic Example:\n\n```js\nimport { tracked } from '@glimmer/tracking';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport EmberObject, { computed, observer, set } from '@ember/object';\n\nconst Person = EmberObject.extend({\n firstName: tracked(),\n lastName: tracked(),\n\n fullName: dependentKeyCompat(function() {\n return `${this.firstName} ${this.lastName}`;\n }),\n});\n\nconst Profile = EmberObject.extend({\n person: null,\n\n helloMessage: computed('person.fullName', function() {\n return `Hello, ${this.person.fullName}!`;\n }),\n\n onNameUpdated: observer('person.fullName', function() {\n console.log('person name updated!');\n }),\n});\n```\n\n`dependentKeyCompat()` can receive a getter function or an object containing\n`get`/`set` methods when used in classic classes, like computed properties.\n\nIn general, only properties which you _expect_ to be watched by older,\nuntracked clases should be marked as dependency compatible. The decorator is\nmeant as an interop layer for parts of Ember's older classic APIs, and should\nnot be applied to every possible getter/setter in classes. The number of\ndependency compatible getters should be _minimized_ wherever possible. New\napplication code should not need to use `@dependentKeyCompat`, since it is\nonly for interoperation with older code.",
18072 "access": "public",
18073 "tagname": "",
18074 "itemtype": "method",
18075 "name": "dependentKeyCompat",
18076 "static": 1,
18077 "params": [
18078 {
18079 "name": "desc",
18080 "description": "A property descriptor containing\n the getter and setter (when used in\n classic classes)",
18081 "type": "PropertyDescriptor|undefined"
18082 }
18083 ],
18084 "return": {
18085 "description": "property decorator instance",
18086 "type": "PropertyDecorator"
18087 },
18088 "class": "@ember/object/compat",
18089 "module": "@ember/object"
18090 },
18091 {
18092 "file": "packages/@ember/object/index.js",
18093 "line": 5,
18094 "description": "Decorator that turns the target function into an Action which can be accessed\ndirectly by reference.\n\n```js\nimport Component from '@ember/component';\nimport { action, set } from '@ember/object';\n\nexport default class Tooltip extends Component {\n @action\n toggleShowing() {\n set(this, 'isShowing', !this.isShowing);\n }\n}\n```\n```hbs\n<!-- template.hbs -->\n<button {{action this.toggleShowing}}>Show tooltip</button>\n\n{{#if isShowing}}\n <div class=\"tooltip\">\n I'm a tooltip!\n </div>\n{{/if}}\n```\n\nDecorated actions also interop with the string style template actions:\n\n```hbs\n<!-- template.hbs -->\n<button {{action \"toggleShowing\"}}>Show tooltip</button>\n\n{{#if isShowing}}\n <div class=\"tooltip\">\n I'm a tooltip!\n </div>\n{{/if}}\n```\n\nIt also binds the function directly to the instance, so it can be used in any\ncontext and will correctly refer to the class it came from:\n\n```hbs\n<!-- template.hbs -->\n<button\n {{did-insert this.toggleShowing}}\n {{on \"click\" this.toggleShowing}}\n>\n Show tooltip\n</button>\n\n{{#if isShowing}}\n <div class=\"tooltip\">\n I'm a tooltip!\n </div>\n{{/if}}\n```\n\nThis can also be used in JavaScript code directly:\n\n```js\nimport Component from '@ember/component';\nimport { action, set } from '@ember/object';\n\nexport default class Tooltip extends Component {\n constructor() {\n super(...arguments);\n\n // this.toggleShowing is still bound correctly when added to\n // the event listener\n document.addEventListener('click', this.toggleShowing);\n }\n\n @action\n toggleShowing() {\n set(this, 'isShowing', !this.isShowing);\n }\n}\n```\n\nThis is considered best practice, since it means that methods will be bound\ncorrectly no matter where they are used. By contrast, the `{{action}}` helper\nand modifier can also be used to bind context, but it will be required for\nevery usage of the method:\n\n```hbs\n<!-- template.hbs -->\n<button\n {{did-insert (action this.toggleShowing)}}\n {{on \"click\" (action this.toggleShowing)}}\n>\n Show tooltip\n</button>\n\n{{#if isShowing}}\n <div class=\"tooltip\">\n I'm a tooltip!\n </div>\n{{/if}}\n```\n\nThey also do not have equivalents in JavaScript directly, so they cannot be\nused for other situations where binding would be useful.",
18095 "access": "public",
18096 "tagname": "",
18097 "itemtype": "method",
18098 "name": "action",
18099 "static": 1,
18100 "params": [
18101 {
18102 "name": "callback",
18103 "description": "The function to turn into an action,\n when used in classic classes",
18104 "type": "Function|undefined"
18105 }
18106 ],
18107 "return": {
18108 "description": "property decorator instance",
18109 "type": "PropertyDecorator"
18110 },
18111 "class": "@ember/object",
18112 "module": "@ember/object"
18113 },
18114 {
18115 "file": "packages/@ember/polyfills/lib/assign.ts",
18116 "line": 9,
18117 "description": "Copy properties from a source object to a target object. Source arguments remain unchanged.\n\n```javascript\nimport { assign } from '@ember/polyfills';\n\nvar a = { first: 'Yehuda' };\nvar b = { last: 'Katz' };\nvar c = { company: 'Other Company' };\nvar d = { company: 'Tilde Inc.' };\nassign(a, b, c, d); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' };\n```",
18118 "itemtype": "method",
18119 "name": "assign",
18120 "params": [
18121 {
18122 "name": "target",
18123 "description": "The object to assign into",
18124 "type": "Object"
18125 },
18126 {
18127 "name": "args",
18128 "description": "The objects to copy properties from",
18129 "type": "Object",
18130 "multiple": true
18131 }
18132 ],
18133 "return": {
18134 "description": "",
18135 "type": "Object"
18136 },
18137 "access": "public",
18138 "tagname": "",
18139 "static": 1,
18140 "class": "@ember/polyfills",
18141 "module": "@ember/polyfills"
18142 },
18143 {
18144 "file": "packages/@ember/polyfills/lib/merge.ts",
18145 "line": 9,
18146 "description": "Merge the contents of two objects together into the first object.\n\n```javascript\nimport { merge } from '@ember/polyfills';\n\nmerge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' }\nvar a = { first: 'Yehuda' };\nvar b = { last: 'Katz' };\nmerge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' }\n```",
18147 "itemtype": "method",
18148 "name": "merge",
18149 "static": 1,
18150 "params": [
18151 {
18152 "name": "original",
18153 "description": "The object to merge into",
18154 "type": "Object"
18155 },
18156 {
18157 "name": "updates",
18158 "description": "The object to copy properties from",
18159 "type": "Object"
18160 }
18161 ],
18162 "return": {
18163 "description": "",
18164 "type": "Object"
18165 },
18166 "deprecated": true,
18167 "access": "public",
18168 "tagname": "",
18169 "class": "@ember/polyfills",
18170 "module": "@ember/polyfills"
18171 },
18172 {
18173 "file": "packages/@ember/runloop/index.js",
18174 "line": 31,
18175 "description": "Array of named queues. This array determines the order in which queues\nare flushed at the end of the RunLoop. You can define your own queues by\nsimply adding the queue name to this array. Normally you should not need\nto inspect or modify this property.",
18176 "itemtype": "property",
18177 "name": "queues",
18178 "type": "Array",
18179 "default": "['actions', 'destroy']",
18180 "access": "private",
18181 "tagname": "",
18182 "class": "@ember/runloop",
18183 "module": "@ember/polyfills"
18184 },
18185 {
18186 "file": "packages/@ember/runloop/index.js",
18187 "line": 74,
18188 "description": "Runs the passed target and method inside of a RunLoop, ensuring any\ndeferred actions including bindings and views updates are flushed at the\nend.\n\nNormally you should not need to invoke this method yourself. However if\nyou are implementing raw event handlers when interfacing with other\nlibraries or plugins, you should probably wrap all of your code inside this\ncall.\n\n```javascript\nimport { run } from '@ember/runloop';\n\nrun(function() {\n // code to be executed within a RunLoop\n});\n```",
18189 "itemtype": "method",
18190 "name": "run",
18191 "static": 1,
18192 "params": [
18193 {
18194 "name": "target",
18195 "description": "target of method to call",
18196 "type": "Object",
18197 "optional": true
18198 },
18199 {
18200 "name": "method",
18201 "description": "Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
18202 "type": "Function|String"
18203 },
18204 {
18205 "name": "args*",
18206 "description": "Any additional arguments you wish to pass to the method.",
18207 "type": "Object",
18208 "optional": true
18209 }
18210 ],
18211 "return": {
18212 "description": "return value from invoking the passed function.",
18213 "type": "Object"
18214 },
18215 "access": "public",
18216 "tagname": "",
18217 "class": "@ember/runloop",
18218 "module": "@ember/runloop"
18219 },
18220 {
18221 "file": "packages/@ember/runloop/index.js",
18222 "line": 109,
18223 "description": "If no run-loop is present, it creates a new one. If a run loop is\npresent it will queue itself to run on the existing run-loops action\nqueue.\n\nPlease note: This is not for normal usage, and should be used sparingly.\n\nIf invoked when not within a run loop:\n\n```javascript\nimport { join } from '@ember/runloop';\n\njoin(function() {\n // creates a new run-loop\n});\n```\n\nAlternatively, if called within an existing run loop:\n\n```javascript\nimport { run, join } from '@ember/runloop';\n\nrun(function() {\n // creates a new run-loop\n\n join(function() {\n // joins with the existing run-loop, and queues for invocation on\n // the existing run-loops action queue.\n });\n});\n```",
18224 "itemtype": "method",
18225 "name": "join",
18226 "static": 1,
18227 "params": [
18228 {
18229 "name": "target",
18230 "description": "target of method to call",
18231 "type": "Object",
18232 "optional": true
18233 },
18234 {
18235 "name": "method",
18236 "description": "Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
18237 "type": "Function|String"
18238 },
18239 {
18240 "name": "args*",
18241 "description": "Any additional arguments you wish to pass to the method.",
18242 "type": "Object",
18243 "optional": true
18244 }
18245 ],
18246 "return": {
18247 "description": "Return value from invoking the passed function. Please note,\nwhen called within an existing loop, no return value is possible.",
18248 "type": "Object"
18249 },
18250 "access": "public",
18251 "tagname": "",
18252 "class": "@ember/runloop",
18253 "module": "@ember/runloop"
18254 },
18255 {
18256 "file": "packages/@ember/runloop/index.js",
18257 "line": 157,
18258 "description": "Allows you to specify which context to call the specified function in while\nadding the execution of that function to the Ember run loop. This ability\nmakes this method a great way to asynchronously integrate third-party libraries\ninto your Ember application.\n\n`bind` takes two main arguments, the desired context and the function to\ninvoke in that context. Any additional arguments will be supplied as arguments\nto the function that is passed in.\n\nLet's use the creation of a TinyMCE component as an example. Currently,\nTinyMCE provides a setup configuration option we can use to do some processing\nafter the TinyMCE instance is initialized but before it is actually rendered.\nWe can use that setup option to do some additional setup for our component.\nThe component itself could look something like the following:\n\n```app/components/rich-text-editor.js\nimport Component from '@ember/component';\nimport { on } from '@ember/object/evented';\nimport { bind } from '@ember/runloop';\n\nexport default Component.extend({\n initializeTinyMCE: on('didInsertElement', function() {\n tinymce.init({\n selector: '#' + this.$().prop('id'),\n setup: bind(this, this.setupEditor)\n });\n }),\n\n didInsertElement() {\n tinymce.init({\n selector: '#' + this.$().prop('id'),\n setup: bind(this, this.setupEditor)\n });\n }\n\n setupEditor(editor) {\n this.set('editor', editor);\n\n editor.on('change', function() {\n console.log('content changed!');\n });\n }\n});\n```\n\nIn this example, we use `bind` to bind the setupEditor method to the\ncontext of the RichTextEditor component and to have the invocation of that\nmethod be safely handled and executed by the Ember run loop.",
18259 "itemtype": "method",
18260 "name": "bind",
18261 "static": 1,
18262 "params": [
18263 {
18264 "name": "target",
18265 "description": "target of method to call",
18266 "type": "Object",
18267 "optional": true
18268 },
18269 {
18270 "name": "method",
18271 "description": "Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
18272 "type": "Function|String"
18273 },
18274 {
18275 "name": "args*",
18276 "description": "Any additional arguments you wish to pass to the method.",
18277 "type": "Object",
18278 "optional": true
18279 }
18280 ],
18281 "return": {
18282 "description": "returns a new function that will always have a particular context",
18283 "type": "Function"
18284 },
18285 "since": "1.4.0",
18286 "access": "public",
18287 "tagname": "",
18288 "class": "@ember/runloop",
18289 "module": "@ember/runloop"
18290 },
18291 {
18292 "file": "packages/@ember/runloop/index.js",
18293 "line": 244,
18294 "description": "Begins a new RunLoop. Any deferred actions invoked after the begin will\nbe buffered until you invoke a matching call to `end()`. This is\na lower-level way to use a RunLoop instead of using `run()`.\n\n```javascript\nimport { begin, end } from '@ember/runloop';\n\nbegin();\n// code to be executed within a RunLoop\nend();\n```",
18295 "itemtype": "method",
18296 "name": "begin",
18297 "static": 1,
18298 "return": {
18299 "description": "",
18300 "type": "Void"
18301 },
18302 "access": "public",
18303 "tagname": "",
18304 "class": "@ember/runloop",
18305 "module": "@ember/runloop"
18306 },
18307 {
18308 "file": "packages/@ember/runloop/index.js",
18309 "line": 267,
18310 "description": "Ends a RunLoop. This must be called sometime after you call\n`begin()` to flush any deferred actions. This is a lower-level way\nto use a RunLoop instead of using `run()`.\n\n```javascript\nimport { begin, end } from '@ember/runloop';\n\nbegin();\n// code to be executed within a RunLoop\nend();\n```",
18311 "itemtype": "method",
18312 "name": "end",
18313 "static": 1,
18314 "return": {
18315 "description": "",
18316 "type": "Void"
18317 },
18318 "access": "public",
18319 "tagname": "",
18320 "class": "@ember/runloop",
18321 "module": "@ember/runloop"
18322 },
18323 {
18324 "file": "packages/@ember/runloop/index.js",
18325 "line": 290,
18326 "description": "Adds the passed target/method and any optional arguments to the named\nqueue to be executed at the end of the RunLoop. If you have not already\nstarted a RunLoop when calling this method one will be started for you\nautomatically.\n\nAt the end of a RunLoop, any methods scheduled in this way will be invoked.\nMethods will be invoked in an order matching the named queues defined in\nthe `queues` property.\n\n```javascript\nimport { schedule } from '@ember/runloop';\n\nschedule('afterRender', this, function() {\n // this will be executed in the 'afterRender' queue\n console.log('scheduled on afterRender queue');\n});\n\nschedule('actions', this, function() {\n // this will be executed in the 'actions' queue\n console.log('scheduled on actions queue');\n});\n\n// Note the functions will be run in order based on the run queues order.\n// Output would be:\n// scheduled on actions queue\n// scheduled on afterRender queue\n```",
18327 "itemtype": "method",
18328 "name": "schedule",
18329 "static": 1,
18330 "params": [
18331 {
18332 "name": "queue",
18333 "description": "The name of the queue to schedule against. Default queues is 'actions'",
18334 "type": "String"
18335 },
18336 {
18337 "name": "target",
18338 "description": "target object to use as the context when invoking a method.",
18339 "type": "Object",
18340 "optional": true
18341 },
18342 {
18343 "name": "method",
18344 "description": "The method to invoke. If you pass a string it\n will be resolved on the target object at the time the scheduled item is\n invoked allowing you to change the target function.",
18345 "type": "String|Function"
18346 },
18347 {
18348 "name": "arguments*",
18349 "description": "Optional arguments to be passed to the queued method.",
18350 "type": "Object",
18351 "optional": true
18352 }
18353 ],
18354 "return": {
18355 "description": "Timer information for use in canceling, see `cancel`.",
18356 "type": "*"
18357 },
18358 "access": "public",
18359 "tagname": "",
18360 "class": "@ember/runloop",
18361 "module": "@ember/runloop"
18362 },
18363 {
18364 "file": "packages/@ember/runloop/index.js",
18365 "line": 345,
18366 "description": "Invokes the passed target/method and optional arguments after a specified\nperiod of time. The last parameter of this method must always be a number\nof milliseconds.\n\nYou should use this method whenever you need to run some action after a\nperiod of time instead of using `setTimeout()`. This method will ensure that\nitems that expire during the same script execution cycle all execute\ntogether, which is often more efficient than using a real setTimeout.\n\n```javascript\nimport { later } from '@ember/runloop';\n\nlater(myContext, function() {\n // code here will execute within a RunLoop in about 500ms with this == myContext\n}, 500);\n```",
18367 "itemtype": "method",
18368 "name": "later",
18369 "static": 1,
18370 "params": [
18371 {
18372 "name": "target",
18373 "description": "target of method to invoke",
18374 "type": "Object",
18375 "optional": true
18376 },
18377 {
18378 "name": "method",
18379 "description": "The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.",
18380 "type": "Function|String"
18381 },
18382 {
18383 "name": "args*",
18384 "description": "Optional arguments to pass to the timeout.",
18385 "type": "Object",
18386 "optional": true
18387 },
18388 {
18389 "name": "wait",
18390 "description": "Number of milliseconds to wait.",
18391 "type": "Number"
18392 }
18393 ],
18394 "return": {
18395 "description": "Timer information for use in canceling, see `cancel`.",
18396 "type": "*"
18397 },
18398 "access": "public",
18399 "tagname": "",
18400 "class": "@ember/runloop",
18401 "module": "@ember/runloop"
18402 },
18403 {
18404 "file": "packages/@ember/runloop/index.js",
18405 "line": 379,
18406 "description": "Schedule a function to run one time during the current RunLoop. This is equivalent\n to calling `scheduleOnce` with the \"actions\" queue.",
18407 "itemtype": "method",
18408 "name": "once",
18409 "static": 1,
18410 "params": [
18411 {
18412 "name": "target",
18413 "description": "The target of the method to invoke.",
18414 "type": "Object",
18415 "optional": true
18416 },
18417 {
18418 "name": "method",
18419 "description": "The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.",
18420 "type": "Function|String"
18421 },
18422 {
18423 "name": "args*",
18424 "description": "Optional arguments to pass to the timeout.",
18425 "type": "Object",
18426 "optional": true
18427 }
18428 ],
18429 "return": {
18430 "description": "Timer information for use in canceling, see `cancel`.",
18431 "type": "Object"
18432 },
18433 "access": "public",
18434 "tagname": "",
18435 "class": "@ember/runloop",
18436 "module": "@ember/runloop"
18437 },
18438 {
18439 "file": "packages/@ember/runloop/index.js",
18440 "line": 399,
18441 "description": "Schedules a function to run one time in a given queue of the current RunLoop.\nCalling this method with the same queue/target/method combination will have\nno effect (past the initial call).\n\nNote that although you can pass optional arguments these will not be\nconsidered when looking for duplicates. New arguments will replace previous\ncalls.\n\n```javascript\nimport { run, scheduleOnce } from '@ember/runloop';\n\nfunction sayHi() {\n console.log('hi');\n}\n\nrun(function() {\n scheduleOnce('afterRender', myContext, sayHi);\n scheduleOnce('afterRender', myContext, sayHi);\n // sayHi will only be executed once, in the afterRender queue of the RunLoop\n});\n```\n\nAlso note that for `scheduleOnce` to prevent additional calls, you need to\npass the same function instance. The following case works as expected:\n\n```javascript\nfunction log() {\n console.log('Logging only once');\n}\n\nfunction scheduleIt() {\n scheduleOnce('actions', myContext, log);\n}\n\nscheduleIt();\nscheduleIt();\n```\n\nBut this other case will schedule the function multiple times:\n\n```javascript\nimport { scheduleOnce } from '@ember/runloop';\n\nfunction scheduleIt() {\n scheduleOnce('actions', myContext, function() {\n console.log('Closure');\n });\n}\n\nscheduleIt();\nscheduleIt();\n\n// \"Closure\" will print twice, even though we're using `scheduleOnce`,\n// because the function we pass to it won't match the\n// previously scheduled operation.\n```\n\nAvailable queues, and their order, can be found at `queues`",
18442 "itemtype": "method",
18443 "name": "scheduleOnce",
18444 "static": 1,
18445 "params": [
18446 {
18447 "name": "queue",
18448 "description": "The name of the queue to schedule against. Default queues is 'actions'.",
18449 "type": "String",
18450 "optional": true
18451 },
18452 {
18453 "name": "target",
18454 "description": "The target of the method to invoke.",
18455 "type": "Object",
18456 "optional": true
18457 },
18458 {
18459 "name": "method",
18460 "description": "The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.",
18461 "type": "Function|String"
18462 },
18463 {
18464 "name": "args*",
18465 "description": "Optional arguments to pass to the timeout.",
18466 "type": "Object",
18467 "optional": true
18468 }
18469 ],
18470 "return": {
18471 "description": "Timer information for use in canceling, see `cancel`.",
18472 "type": "Object"
18473 },
18474 "access": "public",
18475 "tagname": "",
18476 "class": "@ember/runloop",
18477 "module": "@ember/runloop"
18478 },
18479 {
18480 "file": "packages/@ember/runloop/index.js",
18481 "line": 475,
18482 "description": "Schedules an item to run from within a separate run loop, after\ncontrol has been returned to the system. This is equivalent to calling\n`later` with a wait time of 1ms.\n\n```javascript\nimport { next } from '@ember/runloop';\n\nnext(myContext, function() {\n // code to be executed in the next run loop,\n // which will be scheduled after the current one\n});\n```\n\nMultiple operations scheduled with `next` will coalesce\ninto the same later run loop, along with any other operations\nscheduled by `later` that expire right around the same\ntime that `next` operations will fire.\n\nNote that there are often alternatives to using `next`.\nFor instance, if you'd like to schedule an operation to happen\nafter all DOM element operations have completed within the current\nrun loop, you can make use of the `afterRender` run loop queue (added\nby the `ember-views` package, along with the preceding `render` queue\nwhere all the DOM element operations happen).\n\nExample:\n\n```app/components/my-component.js\nimport Component from '@ember/component';\nimport { scheduleOnce } from '@ember/runloop';\n\nexport Component.extend({\n didInsertElement() {\n this._super(...arguments);\n scheduleOnce('afterRender', this, 'processChildElements');\n },\n\n processChildElements() {\n // ... do something with component's child component\n // elements after they've finished rendering, which\n // can't be done within this component's\n // `didInsertElement` hook because that gets run\n // before the child elements have been added to the DOM.\n }\n});\n```\n\nOne benefit of the above approach compared to using `next` is\nthat you will be able to perform DOM/CSS operations before unprocessed\nelements are rendered to the screen, which may prevent flickering or\nother artifacts caused by delaying processing until after rendering.\n\nThe other major benefit to the above approach is that `next`\nintroduces an element of non-determinism, which can make things much\nharder to test, due to its reliance on `setTimeout`; it's much harder\nto guarantee the order of scheduled operations when they are scheduled\noutside of the current run loop, i.e. with `next`.",
18483 "itemtype": "method",
18484 "name": "next",
18485 "static": 1,
18486 "params": [
18487 {
18488 "name": "target",
18489 "description": "target of method to invoke",
18490 "type": "Object",
18491 "optional": true
18492 },
18493 {
18494 "name": "method",
18495 "description": "The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.",
18496 "type": "Function|String"
18497 },
18498 {
18499 "name": "args*",
18500 "description": "Optional arguments to pass to the timeout.",
18501 "type": "Object",
18502 "optional": true
18503 }
18504 ],
18505 "return": {
18506 "description": "Timer information for use in canceling, see `cancel`.",
18507 "type": "Object"
18508 },
18509 "access": "public",
18510 "tagname": "",
18511 "class": "@ember/runloop",
18512 "module": "@ember/runloop"
18513 },
18514 {
18515 "file": "packages/@ember/runloop/index.js",
18516 "line": 550,
18517 "description": "Cancels a scheduled item. Must be a value returned by `later()`,\n`once()`, `scheduleOnce()`, `next()`, `debounce()`, or\n`throttle()`.\n\n```javascript\nimport {\n next,\n cancel,\n later,\n scheduleOnce,\n once,\n throttle,\n debounce\n} from '@ember/runloop';\n\nlet runNext = next(myContext, function() {\n // will not be executed\n});\n\ncancel(runNext);\n\nlet runLater = later(myContext, function() {\n // will not be executed\n}, 500);\n\ncancel(runLater);\n\nlet runScheduleOnce = scheduleOnce('afterRender', myContext, function() {\n // will not be executed\n});\n\ncancel(runScheduleOnce);\n\nlet runOnce = once(myContext, function() {\n // will not be executed\n});\n\ncancel(runOnce);\n\nlet throttle = throttle(myContext, function() {\n // will not be executed\n}, 1, false);\n\ncancel(throttle);\n\nlet debounce = debounce(myContext, function() {\n // will not be executed\n}, 1);\n\ncancel(debounce);\n\nlet debounceImmediate = debounce(myContext, function() {\n // will be executed since we passed in true (immediate)\n}, 100, true);\n\n// the 100ms delay until this method can be called again will be canceled\ncancel(debounceImmediate);\n```",
18518 "itemtype": "method",
18519 "name": "cancel",
18520 "static": 1,
18521 "params": [
18522 {
18523 "name": "timer",
18524 "description": "Timer object to cancel",
18525 "type": "Object"
18526 }
18527 ],
18528 "return": {
18529 "description": "true if canceled or false/undefined if it wasn't found",
18530 "type": "Boolean"
18531 },
18532 "access": "public",
18533 "tagname": "",
18534 "class": "@ember/runloop",
18535 "module": "@ember/runloop"
18536 },
18537 {
18538 "file": "packages/@ember/runloop/index.js",
18539 "line": 621,
18540 "description": "Delay calling the target method until the debounce period has elapsed\nwith no additional debounce calls. If `debounce` is called again before\nthe specified time has elapsed, the timer is reset and the entire period\nmust pass again before the target method is called.\n\nThis method should be used when an event may be called multiple times\nbut the action should only be called once when the event is done firing.\nA common example is for scroll events where you only want updates to\nhappen once scrolling has ceased.\n\n```javascript\nimport { debounce } from '@ember/runloop';\n\nfunction whoRan() {\n console.log(this.name + ' ran.');\n}\n\nlet myContext = { name: 'debounce' };\n\ndebounce(myContext, whoRan, 150);\n\n// less than 150ms passes\ndebounce(myContext, whoRan, 150);\n\n// 150ms passes\n// whoRan is invoked with context myContext\n// console logs 'debounce ran.' one time.\n```\n\nImmediate allows you to run the function immediately, but debounce\nother calls for this function until the wait time has elapsed. If\n`debounce` is called again before the specified time has elapsed,\nthe timer is reset and the entire period must pass again before\nthe method can be called again.\n\n```javascript\nimport { debounce } from '@ember/runloop';\n\nfunction whoRan() {\n console.log(this.name + ' ran.');\n}\n\nlet myContext = { name: 'debounce' };\n\ndebounce(myContext, whoRan, 150, true);\n\n// console logs 'debounce ran.' one time immediately.\n// 100ms passes\ndebounce(myContext, whoRan, 150, true);\n\n// 150ms passes and nothing else is logged to the console and\n// the debouncee is no longer being watched\ndebounce(myContext, whoRan, 150, true);\n\n// console logs 'debounce ran.' one time immediately.\n// 150ms passes and nothing else is logged to the console and\n// the debouncee is no longer being watched\n```",
18541 "itemtype": "method",
18542 "name": "debounce",
18543 "static": 1,
18544 "params": [
18545 {
18546 "name": "target",
18547 "description": "target of method to invoke",
18548 "type": "Object",
18549 "optional": true
18550 },
18551 {
18552 "name": "method",
18553 "description": "The method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
18554 "type": "Function|String"
18555 },
18556 {
18557 "name": "args*",
18558 "description": "Optional arguments to pass to the timeout.",
18559 "type": "Object",
18560 "optional": true
18561 },
18562 {
18563 "name": "wait",
18564 "description": "Number of milliseconds to wait.",
18565 "type": "Number"
18566 },
18567 {
18568 "name": "immediate",
18569 "description": "Trigger the function on the leading instead\n of the trailing edge of the wait interval. Defaults to false.",
18570 "type": "Boolean"
18571 }
18572 ],
18573 "return": {
18574 "description": "Timer information for use in canceling, see `cancel`.",
18575 "type": "Array"
18576 },
18577 "access": "public",
18578 "tagname": "",
18579 "class": "@ember/runloop",
18580 "module": "@ember/runloop"
18581 },
18582 {
18583 "file": "packages/@ember/runloop/index.js",
18584 "line": 699,
18585 "description": "Ensure that the target method is never called more frequently than\nthe specified spacing period. The target method is called immediately.\n\n```javascript\nimport { throttle } from '@ember/runloop';\n\nfunction whoRan() {\n console.log(this.name + ' ran.');\n}\n\nlet myContext = { name: 'throttle' };\n\nthrottle(myContext, whoRan, 150);\n// whoRan is invoked with context myContext\n// console logs 'throttle ran.'\n\n// 50ms passes\nthrottle(myContext, whoRan, 150);\n\n// 50ms passes\nthrottle(myContext, whoRan, 150);\n\n// 150ms passes\nthrottle(myContext, whoRan, 150);\n// whoRan is invoked with context myContext\n// console logs 'throttle ran.'\n```",
18586 "itemtype": "method",
18587 "name": "throttle",
18588 "static": 1,
18589 "params": [
18590 {
18591 "name": "target",
18592 "description": "target of method to invoke",
18593 "type": "Object",
18594 "optional": true
18595 },
18596 {
18597 "name": "method",
18598 "description": "The method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
18599 "type": "Function|String"
18600 },
18601 {
18602 "name": "args*",
18603 "description": "Optional arguments to pass to the timeout.",
18604 "type": "Object",
18605 "optional": true
18606 },
18607 {
18608 "name": "spacing",
18609 "description": "Number of milliseconds to space out requests.",
18610 "type": "Number"
18611 },
18612 {
18613 "name": "immediate",
18614 "description": "Trigger the function on the leading instead\n of the trailing edge of the wait interval. Defaults to true.",
18615 "type": "Boolean"
18616 }
18617 ],
18618 "return": {
18619 "description": "Timer information for use in canceling, see `cancel`.",
18620 "type": "Array"
18621 },
18622 "access": "public",
18623 "tagname": "",
18624 "class": "@ember/runloop",
18625 "module": "@ember/runloop"
18626 },
18627 {
18628 "file": "packages/@ember/service/index.js",
18629 "line": 9,
18630 "description": "Creates a property that lazily looks up a service in the container. There are\nno restrictions as to what objects a service can be injected into.\n\nExample:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default class ApplicationRoute extends Route {\n @service('auth') authManager;\n\n model() {\n return this.authManager.findCurrentUser();\n }\n}\n```\n\nClassic Class Example:\n\n```app/routes/application.js\nimport Route from '@ember/routing/route';\nimport { inject as service } from '@ember/service';\n\nexport default Route.extend({\n authManager: service('auth'),\n\n model() {\n return this.get('authManager').findCurrentUser();\n }\n});\n```\n\nThis example will create an `authManager` property on the application route\nthat looks up the `auth` service in the container, making it easily accessible\nin the `model` hook.",
18631 "itemtype": "method",
18632 "name": "inject",
18633 "static": 1,
18634 "since": "1.10.0",
18635 "params": [
18636 {
18637 "name": "name",
18638 "description": "(optional) name of the service to inject, defaults to\n the property's name",
18639 "type": "String"
18640 }
18641 ],
18642 "return": {
18643 "description": "injection decorator instance",
18644 "type": "ComputedDecorator"
18645 },
18646 "access": "public",
18647 "tagname": "",
18648 "class": "@ember/service",
18649 "module": "@ember/service"
18650 },
18651 {
18652 "file": "packages/@ember/string/index.ts",
18653 "line": 87,
18654 "description": "Formats the passed string, but first looks up the string in the localized\nstrings hash. This is a convenient way to localize text.\n\nNote that it is traditional but not required to prefix localized string\nkeys with an underscore or other character so you can easily identify\nlocalized strings.\n\n```javascript\nimport { loc } from '@ember/string';\n\nEmber.STRINGS = {\n '_Hello World': 'Bonjour le monde',\n '_Hello %@ %@': 'Bonjour %@ %@'\n};\n\nloc(\"_Hello World\"); // 'Bonjour le monde';\nloc(\"_Hello %@ %@\", [\"John\", \"Smith\"]); // \"Bonjour John Smith\";\n```",
18655 "itemtype": "method",
18656 "name": "loc",
18657 "params": [
18658 {
18659 "name": "str",
18660 "description": "The string to format",
18661 "type": "String"
18662 },
18663 {
18664 "name": "formats",
18665 "description": "Optional array of parameters to interpolate into string.",
18666 "type": "Array"
18667 }
18668 ],
18669 "return": {
18670 "description": "formatted string",
18671 "type": "String"
18672 },
18673 "access": "public",
18674 "tagname": "",
18675 "class": "String",
18676 "module": "@ember/string"
18677 },
18678 {
18679 "file": "packages/@ember/string/index.ts",
18680 "line": 122,
18681 "description": "Splits a string into separate units separated by spaces, eliminating any\nempty strings in the process. This is a convenience method for split that\nis mostly useful when applied to the `String.prototype`.\n\n```javascript\nimport { w } from '@ember/string';\n\nw(\"alpha beta gamma\").forEach(function(key) {\n console.log(key);\n});\n\n// > alpha\n// > beta\n// > gamma\n```",
18682 "itemtype": "method",
18683 "name": "w",
18684 "params": [
18685 {
18686 "name": "str",
18687 "description": "The string to split",
18688 "type": "String"
18689 }
18690 ],
18691 "return": {
18692 "description": "array containing the split strings",
18693 "type": "Array"
18694 },
18695 "access": "public",
18696 "tagname": "",
18697 "class": "String",
18698 "module": "@ember/string"
18699 },
18700 {
18701 "file": "packages/@ember/string/index.ts",
18702 "line": 148,
18703 "description": "Converts a camelized string into all lower case separated by underscores.\n\n```javascript\nimport { decamelize } from '@ember/string';\n\ndecamelize('innerHTML'); // 'inner_html'\ndecamelize('action_name'); // 'action_name'\ndecamelize('css-class-name'); // 'css-class-name'\ndecamelize('my favorite items'); // 'my favorite items'\n```",
18704 "itemtype": "method",
18705 "name": "decamelize",
18706 "params": [
18707 {
18708 "name": "str",
18709 "description": "The string to decamelize.",
18710 "type": "String"
18711 }
18712 ],
18713 "return": {
18714 "description": "the decamelized string.",
18715 "type": "String"
18716 },
18717 "access": "public",
18718 "tagname": "",
18719 "class": "String",
18720 "module": "@ember/string"
18721 },
18722 {
18723 "file": "packages/@ember/string/index.ts",
18724 "line": 169,
18725 "description": "Replaces underscores, spaces, or camelCase with dashes.\n\n```javascript\nimport { dasherize } from '@ember/string';\n\ndasherize('innerHTML'); // 'inner-html'\ndasherize('action_name'); // 'action-name'\ndasherize('css-class-name'); // 'css-class-name'\ndasherize('my favorite items'); // 'my-favorite-items'\ndasherize('privateDocs/ownerInvoice'; // 'private-docs/owner-invoice'\n```",
18726 "itemtype": "method",
18727 "name": "dasherize",
18728 "params": [
18729 {
18730 "name": "str",
18731 "description": "The string to dasherize.",
18732 "type": "String"
18733 }
18734 ],
18735 "return": {
18736 "description": "the dasherized string.",
18737 "type": "String"
18738 },
18739 "access": "public",
18740 "tagname": "",
18741 "class": "String",
18742 "module": "@ember/string"
18743 },
18744 {
18745 "file": "packages/@ember/string/index.ts",
18746 "line": 191,
18747 "description": "Returns the lowerCamelCase form of a string.\n\n```javascript\nimport { camelize } from '@ember/string';\n\ncamelize('innerHTML'); // 'innerHTML'\ncamelize('action_name'); // 'actionName'\ncamelize('css-class-name'); // 'cssClassName'\ncamelize('my favorite items'); // 'myFavoriteItems'\ncamelize('My Favorite Items'); // 'myFavoriteItems'\ncamelize('private-docs/owner-invoice'); // 'privateDocs/ownerInvoice'\n```",
18748 "itemtype": "method",
18749 "name": "camelize",
18750 "params": [
18751 {
18752 "name": "str",
18753 "description": "The string to camelize.",
18754 "type": "String"
18755 }
18756 ],
18757 "return": {
18758 "description": "the camelized string.",
18759 "type": "String"
18760 },
18761 "access": "public",
18762 "tagname": "",
18763 "class": "String",
18764 "module": "@ember/string"
18765 },
18766 {
18767 "file": "packages/@ember/string/index.ts",
18768 "line": 214,
18769 "description": "Returns the UpperCamelCase form of a string.\n\n```javascript\nimport { classify } from '@ember/string';\n\nclassify('innerHTML'); // 'InnerHTML'\nclassify('action_name'); // 'ActionName'\nclassify('css-class-name'); // 'CssClassName'\nclassify('my favorite items'); // 'MyFavoriteItems'\nclassify('private-docs/owner-invoice'); // 'PrivateDocs/OwnerInvoice'\n```",
18770 "itemtype": "method",
18771 "name": "classify",
18772 "params": [
18773 {
18774 "name": "str",
18775 "description": "the string to classify",
18776 "type": "String"
18777 }
18778 ],
18779 "return": {
18780 "description": "the classified string",
18781 "type": "String"
18782 },
18783 "access": "public",
18784 "tagname": "",
18785 "class": "String",
18786 "module": "@ember/string"
18787 },
18788 {
18789 "file": "packages/@ember/string/index.ts",
18790 "line": 236,
18791 "description": "More general than decamelize. Returns the lower\\_case\\_and\\_underscored\nform of a string.\n\n```javascript\nimport { underscore } from '@ember/string';\n\nunderscore('innerHTML'); // 'inner_html'\nunderscore('action_name'); // 'action_name'\nunderscore('css-class-name'); // 'css_class_name'\nunderscore('my favorite items'); // 'my_favorite_items'\nunderscore('privateDocs/ownerInvoice'); // 'private_docs/owner_invoice'\n```",
18792 "itemtype": "method",
18793 "name": "underscore",
18794 "params": [
18795 {
18796 "name": "str",
18797 "description": "The string to underscore.",
18798 "type": "String"
18799 }
18800 ],
18801 "return": {
18802 "description": "the underscored string.",
18803 "type": "String"
18804 },
18805 "access": "public",
18806 "tagname": "",
18807 "class": "String",
18808 "module": "@ember/string"
18809 },
18810 {
18811 "file": "packages/@ember/string/index.ts",
18812 "line": 259,
18813 "description": "Returns the Capitalized form of a string\n\n```javascript\nimport { capitalize } from '@ember/string';\n\ncapitalize('innerHTML') // 'InnerHTML'\ncapitalize('action_name') // 'Action_name'\ncapitalize('css-class-name') // 'Css-class-name'\ncapitalize('my favorite items') // 'My favorite items'\ncapitalize('privateDocs/ownerInvoice'); // 'PrivateDocs/ownerInvoice'\n```",
18814 "itemtype": "method",
18815 "name": "capitalize",
18816 "params": [
18817 {
18818 "name": "str",
18819 "description": "The string to capitalize.",
18820 "type": "String"
18821 }
18822 ],
18823 "return": {
18824 "description": "The capitalized string.",
18825 "type": "String"
18826 },
18827 "access": "public",
18828 "tagname": "",
18829 "class": "String",
18830 "module": "@ember/string"
18831 },
18832 {
18833 "file": "packages/@ember/string/index.ts",
18834 "line": 283,
18835 "description": "See [String.w](/ember/release/classes/String/methods/w?anchor=w).",
18836 "itemtype": "method",
18837 "name": "w",
18838 "static": 1,
18839 "access": "private",
18840 "tagname": "",
18841 "class": "@ember/string",
18842 "module": "@ember/string"
18843 },
18844 {
18845 "file": "packages/@ember/string/index.ts",
18846 "line": 300,
18847 "description": "See [String.loc](/ember/release/classes/String/methods/loc?anchor=loc).",
18848 "itemtype": "method",
18849 "name": "loc",
18850 "static": 1,
18851 "access": "private",
18852 "tagname": "",
18853 "class": "@ember/string",
18854 "module": "@ember/string"
18855 },
18856 {
18857 "file": "packages/@ember/string/index.ts",
18858 "line": 317,
18859 "description": "See [String.camelize](/ember/release/classes/String/methods/camelize?anchor=camelize).",
18860 "itemtype": "method",
18861 "name": "camelize",
18862 "static": 1,
18863 "access": "private",
18864 "tagname": "",
18865 "class": "@ember/string",
18866 "module": "@ember/string"
18867 },
18868 {
18869 "file": "packages/@ember/string/index.ts",
18870 "line": 334,
18871 "description": "See [String.decamelize](/ember/release/classes/String/methods/decamelize?anchor=decamelize).",
18872 "itemtype": "method",
18873 "name": "decamelize",
18874 "static": 1,
18875 "access": "private",
18876 "tagname": "",
18877 "class": "@ember/string",
18878 "module": "@ember/string"
18879 },
18880 {
18881 "file": "packages/@ember/string/index.ts",
18882 "line": 351,
18883 "description": "See [String.dasherize](/ember/release/classes/String/methods/dasherize?anchor=dasherize).",
18884 "itemtype": "method",
18885 "name": "dasherize",
18886 "static": 1,
18887 "access": "private",
18888 "tagname": "",
18889 "class": "@ember/string",
18890 "module": "@ember/string"
18891 },
18892 {
18893 "file": "packages/@ember/string/index.ts",
18894 "line": 368,
18895 "description": "See [String.underscore](/ember/release/classes/String/methods/underscore?anchor=underscore).",
18896 "itemtype": "method",
18897 "name": "underscore",
18898 "static": 1,
18899 "access": "private",
18900 "tagname": "",
18901 "class": "@ember/string",
18902 "module": "@ember/string"
18903 },
18904 {
18905 "file": "packages/@ember/string/index.ts",
18906 "line": 385,
18907 "description": "See [String.classify](/ember/release/classes/String/methods/classify?anchor=classify).",
18908 "itemtype": "method",
18909 "name": "classify",
18910 "static": 1,
18911 "access": "private",
18912 "tagname": "",
18913 "class": "@ember/string",
18914 "module": "@ember/string"
18915 },
18916 {
18917 "file": "packages/@ember/string/index.ts",
18918 "line": 402,
18919 "description": "See [String.capitalize](/ember/release/classes/String/methods/capitalize?anchor=capitalize).",
18920 "itemtype": "method",
18921 "name": "capitalize",
18922 "static": 1,
18923 "access": "private",
18924 "tagname": "",
18925 "class": "@ember/string",
18926 "module": "@ember/string"
18927 },
18928 {
18929 "file": "packages/ember-testing/lib/adapters/adapter.js",
18930 "line": 19,
18931 "description": "This callback will be called whenever an async operation is about to start.\n\nOverride this to call your framework's methods that handle async\noperations.",
18932 "access": "public",
18933 "tagname": "",
18934 "itemtype": "method",
18935 "name": "asyncStart",
18936 "class": "TestAdapter",
18937 "module": "@ember/test"
18938 },
18939 {
18940 "file": "packages/ember-testing/lib/adapters/adapter.js",
18941 "line": 30,
18942 "description": "This callback will be called whenever an async operation has completed.",
18943 "access": "public",
18944 "tagname": "",
18945 "itemtype": "method",
18946 "name": "asyncEnd",
18947 "class": "TestAdapter",
18948 "module": "@ember/test"
18949 },
18950 {
18951 "file": "packages/ember-testing/lib/adapters/adapter.js",
18952 "line": 38,
18953 "description": "Override this method with your testing framework's false assertion.\nThis function is called whenever an exception occurs causing the testing\npromise to fail.\n\nQUnit example:\n\n```javascript\n exception: function(error) {\n ok(false, error);\n };\n```",
18954 "access": "public",
18955 "tagname": "",
18956 "itemtype": "method",
18957 "name": "exception",
18958 "params": [
18959 {
18960 "name": "error",
18961 "description": "The exception to be raised.",
18962 "type": "String"
18963 }
18964 ],
18965 "class": "TestAdapter",
18966 "module": "@ember/test"
18967 },
18968 {
18969 "file": "packages/ember-testing/lib/ext/application.js",
18970 "line": 10,
18971 "description": "This property contains the testing helpers for the current application. These\nare created once you call `injectTestHelpers` on your `Application`\ninstance. The included helpers are also available on the `window` object by\ndefault, but can be used from this object on the individual application also.",
18972 "itemtype": "property",
18973 "name": "testHelpers",
18974 "type": "{Object}",
18975 "default": "{}",
18976 "access": "public",
18977 "tagname": "",
18978 "class": "@ember/test",
18979 "module": "ember",
18980 "namespace": "Ember.Test"
18981 },
18982 {
18983 "file": "packages/ember-testing/lib/ext/application.js",
18984 "line": 23,
18985 "description": "This property will contain the original methods that were registered\non the `helperContainer` before `injectTestHelpers` is called.\n\nWhen `removeTestHelpers` is called, these methods are restored to the\n`helperContainer`.",
18986 "itemtype": "property",
18987 "name": "originalMethods",
18988 "type": "{Object}",
18989 "default": "{}",
18990 "access": "private",
18991 "tagname": "",
18992 "since": "1.3.0",
18993 "class": "@ember/test",
18994 "module": "ember",
18995 "namespace": "Ember.Test"
18996 },
18997 {
18998 "file": "packages/ember-testing/lib/ext/application.js",
18999 "line": 38,
19000 "description": "This property indicates whether or not this application is currently in\ntesting mode. This is set when `setupForTesting` is called on the current\napplication.",
19001 "itemtype": "property",
19002 "name": "testing",
19003 "type": "{Boolean}",
19004 "default": "false",
19005 "since": "1.3.0",
19006 "access": "public",
19007 "tagname": "",
19008 "class": "@ember/test",
19009 "module": "ember",
19010 "namespace": "Ember.Test"
19011 },
19012 {
19013 "file": "packages/ember-testing/lib/ext/application.js",
19014 "line": 51,
19015 "description": "This hook defers the readiness of the application, so that you can start\nthe app when your tests are ready to run. It also sets the router's\nlocation to 'none', so that the window's location will not be modified\n(preventing both accidental leaking of state between tests and interference\nwith your testing framework). `setupForTesting` should only be called after\nsetting a custom `router` class (for example `App.Router = Router.extend(`).\n\nExample:\n\n```\nApp.setupForTesting();\n```",
19016 "itemtype": "method",
19017 "name": "setupForTesting",
19018 "access": "public",
19019 "tagname": "",
19020 "class": "@ember/test",
19021 "module": "ember",
19022 "namespace": "Ember.Test"
19023 },
19024 {
19025 "file": "packages/ember-testing/lib/ext/application.js",
19026 "line": 78,
19027 "description": "This will be used as the container to inject the test helpers into. By\ndefault the helpers are injected into `window`.",
19028 "itemtype": "property",
19029 "name": "helperContainer",
19030 "type": "{Object} The object to be used for test helpers.",
19031 "default": "window",
19032 "since": "1.2.0",
19033 "access": "private",
19034 "tagname": "",
19035 "class": "@ember/test",
19036 "module": "ember",
19037 "namespace": "Ember.Test"
19038 },
19039 {
19040 "file": "packages/ember-testing/lib/ext/application.js",
19041 "line": 90,
19042 "description": "This injects the test helpers into the `helperContainer` object. If an object is provided\nit will be used as the helperContainer. If `helperContainer` is not set it will default\nto `window`. If a function of the same name has already been defined it will be cached\n(so that it can be reset if the helper is removed with `unregisterHelper` or\n`removeTestHelpers`).\n\nAny callbacks registered with `onInjectHelpers` will be called once the\nhelpers have been injected.\n\nExample:\n```\nApp.injectTestHelpers();\n```",
19043 "itemtype": "method",
19044 "name": "injectTestHelpers",
19045 "access": "public",
19046 "tagname": "",
19047 "class": "@ember/test",
19048 "module": "ember",
19049 "namespace": "Ember.Test"
19050 },
19051 {
19052 "file": "packages/ember-testing/lib/ext/application.js",
19053 "line": 132,
19054 "description": "This removes all helpers that have been registered, and resets and functions\nthat were overridden by the helpers.\n\nExample:\n\n```javascript\nApp.removeTestHelpers();\n```",
19055 "access": "public",
19056 "tagname": "",
19057 "itemtype": "method",
19058 "name": "removeTestHelpers",
19059 "class": "@ember/test",
19060 "module": "ember",
19061 "namespace": "Ember.Test"
19062 },
19063 {
19064 "file": "packages/ember-testing/lib/helpers/-is-form-control.js",
19065 "line": 3,
19066 "access": "private",
19067 "tagname": "",
19068 "params": [
19069 {
19070 "name": "element",
19071 "description": "the element to check",
19072 "type": "Element"
19073 }
19074 ],
19075 "return": {
19076 "description": "`true` when the element is a form control, `false` otherwise",
19077 "type": "Boolean"
19078 },
19079 "class": "@ember/test",
19080 "module": "ember",
19081 "namespace": "Ember.Test"
19082 },
19083 {
19084 "file": "packages/ember-testing/lib/helpers/click.js",
19085 "line": 6,
19086 "description": "Clicks an element and triggers any actions triggered by the element's `click`\nevent.\n\nExample:\n\n```javascript\nclick('.some-jQuery-selector').then(function() {\n // assert something\n});\n```",
19087 "itemtype": "method",
19088 "name": "click",
19089 "params": [
19090 {
19091 "name": "selector",
19092 "description": "jQuery selector for finding element on the DOM",
19093 "type": "String"
19094 },
19095 {
19096 "name": "context",
19097 "description": "A DOM Element, Document, or jQuery to use as context",
19098 "type": "Object"
19099 }
19100 ],
19101 "return": {
19102 "description": "",
19103 "type": "RSVP.Promise<undefined>"
19104 },
19105 "access": "public",
19106 "tagname": "",
19107 "class": "@ember/test",
19108 "module": "ember"
19109 },
19110 {
19111 "file": "packages/ember-testing/lib/helpers/current_path.js",
19112 "line": 6,
19113 "description": "Returns the current path.\n\nExample:\n\n```javascript\nfunction validateURL() {\nequal(currentPath(), 'some.path.index', \"correct path was transitioned into.\");\n}\n\nclick('#some-link-id').then(validateURL);\n```",
19114 "itemtype": "method",
19115 "name": "currentPath",
19116 "return": {
19117 "description": "The currently active path.",
19118 "type": "Object"
19119 },
19120 "since": "1.5.0",
19121 "access": "public",
19122 "tagname": "",
19123 "class": "@ember/test",
19124 "module": "ember"
19125 },
19126 {
19127 "file": "packages/ember-testing/lib/helpers/current_route_name.js",
19128 "line": 5,
19129 "description": "Returns the currently active route name.\n\nExample:\n\n```javascript\nfunction validateRouteName() {\nequal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n}\nvisit('/some/path').then(validateRouteName)\n```",
19130 "itemtype": "method",
19131 "name": "currentRouteName",
19132 "return": {
19133 "description": "The name of the currently active route.",
19134 "type": "Object"
19135 },
19136 "since": "1.5.0",
19137 "access": "public",
19138 "tagname": "",
19139 "class": "@ember/test",
19140 "module": "ember"
19141 },
19142 {
19143 "file": "packages/ember-testing/lib/helpers/current_url.js",
19144 "line": 6,
19145 "description": "Returns the current URL.\n\nExample:\n\n```javascript\nfunction validateURL() {\nequal(currentURL(), '/some/path', \"correct URL was transitioned into.\");\n}\n\nclick('#some-link-id').then(validateURL);\n```",
19146 "itemtype": "method",
19147 "name": "currentURL",
19148 "return": {
19149 "description": "The currently active URL.",
19150 "type": "Object"
19151 },
19152 "since": "1.5.0",
19153 "access": "public",
19154 "tagname": "",
19155 "class": "@ember/test",
19156 "module": "ember"
19157 },
19158 {
19159 "file": "packages/ember-testing/lib/helpers/fill_in.js",
19160 "line": 7,
19161 "description": "Fills in an input element with some text.\n\nExample:\n\n```javascript\nfillIn('#email', 'you@example.com').then(function() {\n // assert something\n});\n```",
19162 "itemtype": "method",
19163 "name": "fillIn",
19164 "params": [
19165 {
19166 "name": "selector",
19167 "description": "jQuery selector finding an input element on the DOM\nto fill text with",
19168 "type": "String"
19169 },
19170 {
19171 "name": "text",
19172 "description": "text to place inside the input element",
19173 "type": "String"
19174 }
19175 ],
19176 "return": {
19177 "description": "",
19178 "type": "RSVP.Promise<undefined>"
19179 },
19180 "access": "public",
19181 "tagname": "",
19182 "class": "@ember/test",
19183 "module": "ember"
19184 },
19185 {
19186 "file": "packages/ember-testing/lib/helpers/find.js",
19187 "line": 8,
19188 "description": "Finds an element in the context of the app's container element. A simple alias\nfor `app.$(selector)`.\n\nExample:\n\n```javascript\nvar $el = find('.my-selector');\n```\n\nWith the `context` param:\n\n```javascript\nvar $el = find('.my-selector', '.parent-element-class');\n```",
19189 "itemtype": "method",
19190 "name": "find",
19191 "params": [
19192 {
19193 "name": "selector",
19194 "description": "jQuery selector for element lookup",
19195 "type": "String"
19196 },
19197 {
19198 "name": "context",
19199 "description": "(optional) jQuery selector that will limit the selector\n argument to find only within the context's children",
19200 "type": "String",
19201 "optional": true
19202 }
19203 ],
19204 "return": {
19205 "description": "DOM element representing the results of the query",
19206 "type": "Object"
19207 },
19208 "access": "public",
19209 "tagname": "",
19210 "class": "@ember/test",
19211 "module": "ember"
19212 },
19213 {
19214 "file": "packages/ember-testing/lib/helpers/find_with_assert.js",
19215 "line": 4,
19216 "description": "Like `find`, but throws an error if the element selector returns no results.\n\nExample:\n\n```javascript\nvar $el = findWithAssert('.doesnt-exist'); // throws error\n```\n\nWith the `context` param:\n\n```javascript\nvar $el = findWithAssert('.selector-id', '.parent-element-class'); // assert will pass\n```",
19217 "itemtype": "method",
19218 "name": "findWithAssert",
19219 "params": [
19220 {
19221 "name": "selector",
19222 "description": "jQuery selector string for finding an element within\nthe DOM",
19223 "type": "String"
19224 },
19225 {
19226 "name": "context",
19227 "description": "(optional) jQuery selector that will limit the\nselector argument to find only within the context's children",
19228 "type": "String",
19229 "optional": true
19230 }
19231 ],
19232 "return": {
19233 "description": "jQuery object representing the results of the query",
19234 "type": "Object"
19235 },
19236 "throws": {
19237 "description": "throws error if object returned has a length of 0",
19238 "type": "Error"
19239 },
19240 "access": "public",
19241 "tagname": "",
19242 "class": "@ember/test",
19243 "module": "ember"
19244 },
19245 {
19246 "file": "packages/ember-testing/lib/helpers/key_event.js",
19247 "line": 4,
19248 "description": "Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode\nExample:\n```javascript\nkeyEvent('.some-jQuery-selector', 'keypress', 13).then(function() {\n // assert something\n});\n```",
19249 "itemtype": "method",
19250 "name": "keyEvent",
19251 "params": [
19252 {
19253 "name": "selector",
19254 "description": "jQuery selector for finding element on the DOM",
19255 "type": "String"
19256 },
19257 {
19258 "name": "type",
19259 "description": "the type of key event, e.g. `keypress`, `keydown`, `keyup`",
19260 "type": "String"
19261 },
19262 {
19263 "name": "keyCode",
19264 "description": "the keyCode of the simulated key event",
19265 "type": "Number"
19266 }
19267 ],
19268 "return": {
19269 "description": "",
19270 "type": "RSVP.Promise<undefined>"
19271 },
19272 "since": "1.5.0",
19273 "access": "public",
19274 "tagname": "",
19275 "class": "@ember/test",
19276 "module": "ember"
19277 },
19278 {
19279 "file": "packages/ember-testing/lib/helpers/pause_test.js",
19280 "line": 9,
19281 "description": "Resumes a test paused by `pauseTest`.",
19282 "itemtype": "method",
19283 "name": "resumeTest",
19284 "return": {
19285 "description": "",
19286 "type": "Void"
19287 },
19288 "access": "public",
19289 "tagname": "",
19290 "class": "@ember/test",
19291 "module": "ember"
19292 },
19293 {
19294 "file": "packages/ember-testing/lib/helpers/pause_test.js",
19295 "line": 22,
19296 "description": "Pauses the current test - this is useful for debugging while testing or for test-driving.\nIt allows you to inspect the state of your application at any point.\nExample (The test will pause before clicking the button):\n\n```javascript\nvisit('/')\nreturn pauseTest();\nclick('.btn');\n```\n\nYou may want to turn off the timeout before pausing.\n\nqunit (timeout available to use as of 2.4.0):\n\n```\nvisit('/');\nassert.timeout(0);\nreturn pauseTest();\nclick('.btn');\n```\n\nmocha (timeout happens automatically as of ember-mocha v0.14.0):\n\n```\nvisit('/');\nthis.timeout(0);\nreturn pauseTest();\nclick('.btn');\n```",
19297 "since": "1.9.0",
19298 "itemtype": "method",
19299 "name": "pauseTest",
19300 "return": {
19301 "description": "A promise that will never resolve",
19302 "type": "Object"
19303 },
19304 "access": "public",
19305 "tagname": "",
19306 "class": "@ember/test",
19307 "module": "ember"
19308 },
19309 {
19310 "file": "packages/ember-testing/lib/helpers/trigger_event.js",
19311 "line": 5,
19312 "description": "Triggers the given DOM event on the element identified by the provided selector.\nExample:\n```javascript\ntriggerEvent('#some-elem-id', 'blur');\n```\nThis is actually used internally by the `keyEvent` helper like so:\n```javascript\ntriggerEvent('#some-elem-id', 'keypress', { keyCode: 13 });\n```",
19313 "itemtype": "method",
19314 "name": "triggerEvent",
19315 "params": [
19316 {
19317 "name": "selector",
19318 "description": "jQuery selector for finding element on the DOM",
19319 "type": "String"
19320 },
19321 {
19322 "name": "context",
19323 "description": "jQuery selector that will limit the selector\n argument to find only within the context's children",
19324 "type": "String",
19325 "optional": true
19326 },
19327 {
19328 "name": "type",
19329 "description": "The event type to be triggered.",
19330 "type": "String"
19331 },
19332 {
19333 "name": "options",
19334 "description": "The options to be passed to jQuery.Event.",
19335 "type": "Object",
19336 "optional": true
19337 }
19338 ],
19339 "return": {
19340 "description": "",
19341 "type": "RSVP.Promise<undefined>"
19342 },
19343 "since": "1.5.0",
19344 "access": "public",
19345 "tagname": "",
19346 "class": "@ember/test",
19347 "module": "ember"
19348 },
19349 {
19350 "file": "packages/ember-testing/lib/helpers/visit.js",
19351 "line": 3,
19352 "description": "Loads a route, sets up any controllers, and renders any templates associated\nwith the route as though a real user had triggered the route change while\nusing your app.\n\nExample:\n\n```javascript\nvisit('posts/index').then(function() {\n // assert something\n});\n```",
19353 "itemtype": "method",
19354 "name": "visit",
19355 "params": [
19356 {
19357 "name": "url",
19358 "description": "the name of the route",
19359 "type": "String"
19360 }
19361 ],
19362 "return": {
19363 "description": "",
19364 "type": "RSVP.Promise<undefined>"
19365 },
19366 "access": "public",
19367 "tagname": "",
19368 "class": "@ember/test",
19369 "module": "ember"
19370 },
19371 {
19372 "file": "packages/ember-testing/lib/helpers/wait.js",
19373 "line": 9,
19374 "description": "Causes the run loop to process any pending events. This is used to ensure that\nany async operations from other helpers (or your assertions) have been processed.\n\nThis is most often used as the return value for the helper functions (see 'click',\n'fillIn','visit',etc). However, there is a method to register a test helper which\nutilizes this method without the need to actually call `wait()` in your helpers.\n\nThe `wait` helper is built into `registerAsyncHelper` by default. You will not need\nto `return app.testHelpers.wait();` - the wait behavior is provided for you.\n\nExample:\n\n```javascript\nimport { registerAsyncHelper } from '@ember/test';\n\nregisterAsyncHelper('loginUser', function(app, username, password) {\n visit('secured/path/here')\n .fillIn('#username', username)\n .fillIn('#password', password)\n .click('.submit');\n});\n```",
19375 "itemtype": "method",
19376 "name": "wait",
19377 "params": [
19378 {
19379 "name": "value",
19380 "description": "The value to be returned.",
19381 "type": "Object"
19382 }
19383 ],
19384 "return": {
19385 "description": "Promise that resolves to the passed value.",
19386 "type": "RSVP.Promise<any>"
19387 },
19388 "access": "public",
19389 "tagname": "",
19390 "since": "1.0.0",
19391 "class": "@ember/test",
19392 "module": "ember"
19393 },
19394 {
19395 "file": "packages/ember-testing/lib/test/helpers.js",
19396 "line": 8,
19397 "description": "`registerHelper` is used to register a test helper that will be injected\nwhen `App.injectTestHelpers` is called.\n\nThe helper method will always be called with the current Application as\nthe first parameter.\n\nFor example:\n\n```javascript\nimport { registerHelper } from '@ember/test';\nimport { run } from '@ember/runloop';\n\nregisterHelper('boot', function(app) {\n run(app, app.advanceReadiness);\n});\n```\n\nThis helper can later be called without arguments because it will be\ncalled with `app` as the first parameter.\n\n```javascript\nimport Application from '@ember/application';\n\nApp = Application.create();\nApp.injectTestHelpers();\nboot();\n```",
19398 "access": "public",
19399 "tagname": "",
19400 "static": 1,
19401 "itemtype": "method",
19402 "name": "registerHelper",
19403 "params": [
19404 {
19405 "name": "name",
19406 "description": "The name of the helper method to add.",
19407 "type": "String"
19408 },
19409 {
19410 "name": "helperMethod",
19411 "description": "",
19412 "type": "Function"
19413 },
19414 {
19415 "name": "options",
19416 "description": "",
19417 "type": "Object"
19418 }
19419 ],
19420 "class": "@ember/test",
19421 "module": "@ember/test"
19422 },
19423 {
19424 "file": "packages/ember-testing/lib/test/helpers.js",
19425 "line": 52,
19426 "description": "`registerAsyncHelper` is used to register an async test helper that will be injected\nwhen `App.injectTestHelpers` is called.\n\nThe helper method will always be called with the current Application as\nthe first parameter.\n\nFor example:\n\n```javascript\nimport { registerAsyncHelper } from '@ember/test';\nimport { run } from '@ember/runloop';\n\nregisterAsyncHelper('boot', function(app) {\n run(app, app.advanceReadiness);\n});\n```\n\nThe advantage of an async helper is that it will not run\nuntil the last async helper has completed. All async helpers\nafter it will wait for it complete before running.\n\n\nFor example:\n\n```javascript\nimport { registerAsyncHelper } from '@ember/test';\n\nregisterAsyncHelper('deletePost', function(app, postId) {\n click('.delete-' + postId);\n});\n\n// ... in your test\nvisit('/post/2');\ndeletePost(2);\nvisit('/post/3');\ndeletePost(3);\n```",
19427 "access": "public",
19428 "tagname": "",
19429 "itemtype": "method",
19430 "name": "registerAsyncHelper",
19431 "params": [
19432 {
19433 "name": "name",
19434 "description": "The name of the helper method to add.",
19435 "type": "String"
19436 },
19437 {
19438 "name": "helperMethod",
19439 "description": "",
19440 "type": "Function"
19441 }
19442 ],
19443 "since": "1.2.0",
19444 "class": "@ember/test",
19445 "module": "@ember/test"
19446 },
19447 {
19448 "file": "packages/ember-testing/lib/test/helpers.js",
19449 "line": 105,
19450 "description": "Remove a previously added helper method.\n\nExample:\n\n```javascript\nimport { unregisterHelper } from '@ember/test';\n\nunregisterHelper('wait');\n```",
19451 "access": "public",
19452 "tagname": "",
19453 "itemtype": "method",
19454 "name": "unregisterHelper",
19455 "static": 1,
19456 "params": [
19457 {
19458 "name": "name",
19459 "description": "The helper to remove.",
19460 "type": "String"
19461 }
19462 ],
19463 "class": "@ember/test",
19464 "module": "@ember/test"
19465 },
19466 {
19467 "file": "packages/ember-testing/lib/test/on_inject_helpers.js",
19468 "line": 3,
19469 "description": "Used to register callbacks to be fired whenever `App.injectTestHelpers`\nis called.\n\nThe callback will receive the current application as an argument.\n\nExample:\n\n```javascript\nimport $ from 'jquery';\n\nEmber.Test.onInjectHelpers(function() {\n $(document).ajaxSend(function() {\n Test.pendingRequests++;\n });\n\n $(document).ajaxComplete(function() {\n Test.pendingRequests--;\n });\n});\n```",
19470 "access": "public",
19471 "tagname": "",
19472 "itemtype": "method",
19473 "name": "onInjectHelpers",
19474 "params": [
19475 {
19476 "name": "callback",
19477 "description": "The function to be called.",
19478 "type": "Function"
19479 }
19480 ],
19481 "class": "Ember.Test",
19482 "module": "@ember/test"
19483 },
19484 {
19485 "file": "packages/ember-testing/lib/test/promise.js",
19486 "line": 19,
19487 "description": "This returns a thenable tailored for testing. It catches failed\n`onSuccess` callbacks and invokes the `Ember.Test.adapter.exception`\ncallback in the last chained then.\n\nThis method should be returned by async helpers such as `wait`.",
19488 "access": "public",
19489 "tagname": "",
19490 "itemtype": "method",
19491 "name": "promise",
19492 "params": [
19493 {
19494 "name": "resolver",
19495 "description": "The function used to resolve the promise.",
19496 "type": "Function"
19497 },
19498 {
19499 "name": "label",
19500 "description": "An optional string for identifying the promise.",
19501 "type": "String"
19502 }
19503 ],
19504 "class": "Ember.Test",
19505 "module": "@ember/test"
19506 },
19507 {
19508 "file": "packages/ember-testing/lib/test/promise.js",
19509 "line": 37,
19510 "description": "Replacement for `Ember.RSVP.resolve`\nThe only difference is this uses\nan instance of `Ember.Test.Promise`",
19511 "access": "public",
19512 "tagname": "",
19513 "itemtype": "method",
19514 "name": "resolve",
19515 "params": [
19516 {
19517 "name": "The",
19518 "description": "value to resolve",
19519 "type": "Mixed"
19520 }
19521 ],
19522 "since": "1.2.0",
19523 "class": "Ember.Test",
19524 "module": "@ember/test"
19525 },
19526 {
19527 "file": "packages/ember-testing/lib/test/waiters.js",
19528 "line": 7,
19529 "description": "This allows ember-testing to play nicely with other asynchronous\nevents, such as an application that is waiting for a CSS3\ntransition or an IndexDB transaction. The waiter runs periodically\nafter each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\nuntil the returning result is truthy. After the waiters finish, the next async helper\nis executed and the process repeats.\n\nFor example:\n\n```javascript\nimport { registerWaiter } from '@ember/test';\n\nregisterWaiter(function() {\n return myPendingTransactions() === 0;\n});\n```\nThe `context` argument allows you to optionally specify the `this`\nwith which your callback will be invoked.\n\nFor example:\n\n```javascript\nimport { registerWaiter } from '@ember/test';\n\nregisterWaiter(MyDB, MyDB.hasPendingTransactions);\n```",
19530 "access": "public",
19531 "tagname": "",
19532 "static": 1,
19533 "itemtype": "method",
19534 "name": "registerWaiter",
19535 "params": [
19536 {
19537 "name": "context",
19538 "description": "(optional)",
19539 "type": "Object"
19540 },
19541 {
19542 "name": "callback",
19543 "description": "",
19544 "type": "Function"
19545 }
19546 ],
19547 "since": "1.2.0",
19548 "class": "@ember/test",
19549 "module": "@ember/test"
19550 },
19551 {
19552 "file": "packages/ember-testing/lib/test/waiters.js",
19553 "line": 55,
19554 "description": "`unregisterWaiter` is used to unregister a callback that was\nregistered with `registerWaiter`.",
19555 "access": "public",
19556 "tagname": "",
19557 "static": 1,
19558 "itemtype": "method",
19559 "name": "unregisterWaiter",
19560 "params": [
19561 {
19562 "name": "context",
19563 "description": "(optional)",
19564 "type": "Object"
19565 },
19566 {
19567 "name": "callback",
19568 "description": "",
19569 "type": "Function"
19570 }
19571 ],
19572 "since": "1.2.0",
19573 "class": "@ember/test",
19574 "module": "@ember/test"
19575 },
19576 {
19577 "file": "packages/ember-testing/lib/test/waiters.js",
19578 "line": 83,
19579 "description": "Iterates through each registered test waiter, and invokes\nits callback. If any waiter returns false, this method will return\ntrue indicating that the waiters have not settled yet.\n\nThis is generally used internally from the acceptance/integration test\ninfrastructure.",
19580 "access": "public",
19581 "tagname": "",
19582 "static": 1,
19583 "itemtype": "method",
19584 "name": "checkWaiters",
19585 "class": "@ember/test",
19586 "module": "@ember/test"
19587 },
19588 {
19589 "file": "packages/ember-testing/lib/setup_for_testing.js",
19590 "line": 14,
19591 "description": "Sets Ember up for testing. This is useful to perform\nbasic setup steps in order to unit test.\n\nUse `App.setupForTesting` to perform integration tests (full\napplication testing).",
19592 "itemtype": "method",
19593 "name": "setupForTesting",
19594 "since": "1.5.0",
19595 "access": "private",
19596 "tagname": "",
19597 "class": "Ember.Test",
19598 "module": "@ember/test",
19599 "namespace": "Ember"
19600 },
19601 {
19602 "file": "packages/ember-testing/lib/support.js",
19603 "line": 12,
19604 "description": "This method creates a checkbox and triggers the click event to fire the\npassed in handler. It is used to correct for a bug in older versions\nof jQuery (e.g 1.8.3).",
19605 "access": "private",
19606 "tagname": "",
19607 "itemtype": "method",
19608 "name": "testCheckboxClick",
19609 "class": "Ember.Test",
19610 "module": "ember"
19611 },
19612 {
19613 "file": "packages/ember-testing/lib/test.js",
19614 "line": 24,
19615 "description": "Hash containing all known test helpers.",
19616 "itemtype": "property",
19617 "name": "_helpers",
19618 "access": "private",
19619 "tagname": "",
19620 "since": "1.7.0",
19621 "class": "Ember.Test",
19622 "module": "ember",
19623 "namespace": "Ember"
19624 },
19625 {
19626 "file": "packages/ember-testing/lib/test.js",
19627 "line": 45,
19628 "description": "Used to allow ember-testing to communicate with a specific testing\nframework.\n\nYou can manually set it before calling `App.setupForTesting()`.\n\nExample:\n\n```javascript\nEmber.Test.adapter = MyCustomAdapter.create()\n```\n\nIf you do not set it, ember-testing will default to `Ember.Test.QUnitAdapter`.",
19629 "access": "public",
19630 "tagname": "",
19631 "itemtype": "property",
19632 "name": "adapter",
19633 "type": "{Class} The adapter to be used.",
19634 "default": "Ember.Test.QUnitAdapter",
19635 "class": "Ember.Test",
19636 "module": "ember",
19637 "namespace": "Ember"
19638 }
19639 ],
19640 "warnings": [
19641 {
19642 "message": "replacing incorrect tag: returns with return",
19643 "line": " packages/@ember/-internals/container/lib/container.ts:193"
19644 },
19645 {
19646 "message": "unknown tag: decorator",
19647 "line": " packages/@ember/-internals/metal/lib/tracked.ts:16"
19648 },
19649 {
19650 "message": "replacing incorrect tag: returns with return",
19651 "line": " packages/@ember/-internals/routing/lib/system/route-info.ts:84"
19652 },
19653 {
19654 "message": "replacing incorrect tag: returns with return",
19655 "line": " packages/@ember/-internals/routing/lib/system/route-info.ts:185"
19656 },
19657 {
19658 "message": "replacing incorrect tag: returns with return",
19659 "line": " packages/@ember/-internals/routing/lib/system/route.ts:2487"
19660 },
19661 {
19662 "message": "replacing incorrect tag: function with method",
19663 "line": " packages/@ember/-internals/utils/lib/spec.ts:1"
19664 },
19665 {
19666 "message": "replacing incorrect tag: returns with return",
19667 "line": " packages/ember-testing/lib/helpers/-is-form-control.js:3"
19668 },
19669 {
19670 "message": "Missing item type\nThe CustomComponentManager allows addons to provide custom component\nimplementations that integrate seamlessly into Ember. This is accomplished\nthrough a delegate, registered with the custom component manager, which\nimplements a set of hooks that determine component behavior.\n\nTo create a custom component manager, instantiate a new CustomComponentManager\nclass and pass the delegate as the first argument:\n\n```js\nlet manager = new CustomComponentManager({\n // ...delegate implementation...\n});\n```\n\n## Delegate Hooks\n\nThroughout the lifecycle of a component, the component manager will invoke\ndelegate hooks that are responsible for surfacing those lifecycle changes to\nthe end developer.\n\n* `create()` - invoked when a new instance of a component should be created\n* `update()` - invoked when the arguments passed to a component change\n* `getContext()` - returns the object that should be",
19671 "line": " packages/@ember/-internals/glimmer/lib/component-managers/custom.ts:147"
19672 },
19673 {
19674 "message": "Missing item type\nStores internal state about a component instance after it's been created.",
19675 "line": " packages/@ember/-internals/glimmer/lib/component-managers/custom.ts:383"
19676 },
19677 {
19678 "message": "Missing item type\nThis reference is used to get the `[]` tag of iterables, so we can trigger\nupdates to `{{each}}` when it changes. It is put into place by a template\ntransform at build time, similar to the (-each-in) helper",
19679 "line": " packages/@ember/-internals/glimmer/lib/helpers/-track-array.ts:10"
19680 },
19681 {
19682 "message": "Missing item type\nThe CustomModifierManager allows addons to provide custom modifier\nimplementations that integrate seamlessly into Ember. This is accomplished\nthrough a delegate, registered with the custom modifier manager, which\nimplements a set of hooks that determine modifier behavior.\nTo create a custom modifier manager, instantiate a new CustomModifierManager\nclass and pass the delegate as the first argument:\n\n```js\nlet manager = new CustomModifierManager({\n // ...delegate implementation...\n});\n```\n\n## Delegate Hooks\n\nThroughout the lifecycle of a modifier, the modifier manager will invoke\ndelegate hooks that are responsible for surfacing those lifecycle changes to\nthe end developer.\n* `createModifier()` - invoked when a new instance of a modifier should be created\n* `installModifier()` - invoked when the modifier is installed on the element\n* `updateModifier()` - invoked when the arguments passed to a modifier change\n* `destroyModifier()` - invoked when the modifier is about to be destroyed",
19683 "line": " packages/@ember/-internals/glimmer/lib/modifiers/custom.ts:93"
19684 },
19685 {
19686 "message": "Missing item type\nNot sure why this is here, we use the owner of the template for lookups.\n\nMaybe this is for the render helper?",
19687 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:7"
19688 },
19689 {
19690 "message": "Missing item type\nThe name of the parent outlet state.",
19691 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:14"
19692 },
19693 {
19694 "message": "Missing item type\nThe name of the route/template",
19695 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:24"
19696 },
19697 {
19698 "message": "Missing item type\nThe controller (the self of the outlet component)",
19699 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:29"
19700 },
19701 {
19702 "message": "Missing item type\nThe model (the resolved value of the model hook)",
19703 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:34"
19704 },
19705 {
19706 "message": "Missing item type\ntemplate (the layout of the outlet component)",
19707 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:39"
19708 },
19709 {
19710 "message": "Missing item type\nNested outlet connections.",
19711 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:50"
19712 },
19713 {
19714 "message": "Missing item type\nRepresents what was rendered into this outlet.",
19715 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:55"
19716 },
19717 {
19718 "message": "Missing item type\nHas to do with render helper and orphan outlets.\nWhether outlet state was rendered.",
19719 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:60"
19720 },
19721 {
19722 "message": "Missing item type\nRepresents the root outlet.",
19723 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:67"
19724 },
19725 {
19726 "message": "Missing item type\nRepresents the connected outlet.",
19727 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:89"
19728 },
19729 {
19730 "message": "Missing item type\nOutlet state is dirtied from root.\nThis just using the parent tag for dirtiness.",
19731 "line": " packages/@ember/-internals/glimmer/lib/utils/outlet.ts:113"
19732 },
19733 {
19734 "message": "Missing item type",
19735 "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:87"
19736 },
19737 {
19738 "message": "Missing item type",
19739 "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:95"
19740 },
19741 {
19742 "message": "Missing item type",
19743 "line": " packages/@ember/-internals/glimmer/lib/resolver.ts:301"
19744 },
19745 {
19746 "message": "Missing item type\npublic componentDefHandleCount = 0;\nCalled while executing Append Op.PushDynamicComponentManager if string",
19747 "line": " packages/@ember/-internals/glimmer/lib/resolver.ts:303"
19748 },
19749 {
19750 "message": "Missing item type\nCalled by RuntimeConstants to lookup unresolved handles.",
19751 "line": " packages/@ember/-internals/glimmer/lib/resolver.ts:333"
19752 },
19753 {
19754 "message": "Missing item type\nCalled by CompileTimeLookup compiling Unknown or Helper OpCode",
19755 "line": " packages/@ember/-internals/glimmer/lib/resolver.ts:341"
19756 },
19757 {
19758 "message": "Missing item type\nCalled by CompileTimeLookup compiling the",
19759 "line": " packages/@ember/-internals/glimmer/lib/resolver.ts:358"
19760 },
19761 {
19762 "message": "Missing item type\nCalled by CompileTimeLookup to lookup partial",
19763 "line": " packages/@ember/-internals/glimmer/lib/resolver.ts:365"
19764 },
19765 {
19766 "message": "Missing item type\nFlattening is based on a global revision counter. If the revision has\nbumped it means that somewhere in a class inheritance chain something has\nchanged, so we need to reflatten everything. This can only happen if:\n\n1. A meta has been flattened (listener has been called)\n2. The meta is a prototype meta with children who have inherited its\n listeners\n3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n\nThis is a very rare occurrence, so while the counter is global it shouldn't\nbe updated very often in practice.",
19767 "line": " packages/@ember/-internals/meta/lib/meta.ts:487"
19768 },
19769 {
19770 "message": "Missing item type\nPrimarily used for cases where we are redefining a class, e.g. mixins/reopen\nbeing applied later. Revalidates all the observers, resetting their tags.",
19771 "line": " packages/@ember/-internals/metal/lib/observer.ts:154"
19772 },
19773 {
19774 "message": "Missing item type",
19775 "line": " packages/@ember/-internals/metal/lib/tracked.ts:16"
19776 },
19777 {
19778 "message": "Missing item type\nCalled by the router to instruct the location to do any feature detection\nnecessary. In the case of AutoLocation, we detect whether to use history\nor hash concrete implementations.",
19779 "line": " packages/@ember/-internals/routing/lib/location/auto_location.ts:73"
19780 },
19781 {
19782 "message": "Missing item type",
19783 "line": " packages/@ember/-internals/routing/lib/location/auto_location.ts:273"
19784 },
19785 {
19786 "message": "Missing item type",
19787 "line": " packages/@ember/-internals/routing/lib/location/util.ts:1"
19788 },
19789 {
19790 "message": "Missing item type",
19791 "line": " packages/@ember/-internals/routing/lib/location/util.ts:16"
19792 },
19793 {
19794 "message": "Missing item type",
19795 "line": " packages/@ember/-internals/routing/lib/location/util.ts:25"
19796 },
19797 {
19798 "message": "Missing item type\nReplaces the current location, making sure we explicitly include the origin\nto prevent redirecting to a different origin.",
19799 "line": " packages/@ember/-internals/routing/lib/location/util.ts:98"
19800 },
19801 {
19802 "message": "Missing item type\nFinds the name of the substate route if it exists for the given route. A\nsubstate route is of the form `route_state`, such as `foo_loading`.",
19803 "line": " packages/@ember/-internals/routing/lib/system/router.ts:1322"
19804 },
19805 {
19806 "message": "Missing item type\nFinds the name of the state route if it exists for the given route. A state\nroute is of the form `route.state`, such as `foo.loading`. Properly Handles\n`application` named routes.",
19807 "line": " packages/@ember/-internals/routing/lib/system/router.ts:1341"
19808 },
19809 {
19810 "message": "Missing item type\nDetermines whether or not a route has been defined by checking that the route\nis in the Router's map and the owner has a registration for that route.",
19811 "line": " packages/@ember/-internals/routing/lib/system/router.ts:1361"
19812 },
19813 {
19814 "message": "Missing item type\nPreviously we used `Ember.$.uuid`, however `$.uuid` has been removed from\njQuery master. We'll just bootstrap our own uuid now.",
19815 "line": " packages/@ember/-internals/utils/lib/guid.ts:8"
19816 },
19817 {
19818 "message": "Missing item type\nGenerates a universally unique identifier. This method\nis used internally by Ember for assisting with\nthe generation of GUID's and other unique identifiers.",
19819 "line": " packages/@ember/-internals/utils/lib/guid.ts:17"
19820 },
19821 {
19822 "message": "Missing item type\nStrongly hint runtimes to intern the provided string.\n\nWhen do I need to use this function?\n\nFor the most part, never. Pre-mature optimization is bad, and often the\nruntime does exactly what you need it to, and more often the trade-off isn't\nworth it.\n\nWhy?\n\nRuntimes store strings in at least 2 different representations:\nRopes and Symbols (interned strings). The Rope provides a memory efficient\ndata-structure for strings created from concatenation or some other string\nmanipulation like splitting.\n\nUnfortunately checking equality of different ropes can be quite costly as\nruntimes must resort to clever string comparison algorithms. These\nalgorithms typically cost in proportion to the length of the string.\nLuckily, this is where the Symbols (interned strings) shine. As Symbols are\nunique by their string content, equality checks can be done by pointer\ncomparison.\n\nHow do I know if my string is a rope or symbol?\n\nTypically (warning general sweeping statement, but truthy in runtimes at\npresent) static strings created as part of the JS source are interned.\nStrings often used for comparisons can be interned at runtime if some\ncriteria are met. One of these criteria can be the size of the entire rope.\nFor example, in chrome 38 a rope longer then 12 characters will not\nintern, nor will segments of that rope.\n\nSome numbers: http://jsperf.com/eval-vs-keys/8\n\nKnown Trick™",
19823 "line": " packages/@ember/-internals/utils/lib/intern.ts:1"
19824 },
19825 {
19826 "message": "Missing item type\nUnfortunately, a lot of existing code assumes the booting process is\n\"synchronous\". Specifically, a lot of tests assumes the last call to\n`app.advanceReadiness()` or `app.reset()` will result in the app being\nfully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this assumption,\nso we created the asynchronous version above that returns a promise. But until\nwe have migrated all the code, we would have to expose this method for use\n*internally* in places where we need to boot an app \"synchronously\".",
19827 "line": " packages/@ember/application/lib/application.js:664"
19828 },
19829 {
19830 "message": "Missing item type\nOverrides the base `EngineInstance._bootSync` method with concerns relevant\nto booting application (instead of engine) instances.\n\nThis method should only contain synchronous boot concerns. Asynchronous\nboot concerns should eventually be moved to the `boot` method, which\nreturns a promise.\n\nUntil all boot code has been made asynchronous, we need to continue to\nexpose this method for use *internally* in places where we need to boot an\ninstance synchronously.",
19831 "line": " packages/@ember/application/instance.js:84"
19832 },
19833 {
19834 "message": "Missing item type\nThis hook is called by the root-most Route (a.k.a. the ApplicationRoute)\nwhen it has finished creating the root View. By default, we simply take the\nview and append it to the `rootElement` specified on the Application.\n\nIn cases like FastBoot and testing, we can override this hook and implement\ncustom behavior, such as serializing to a string and sending over an HTTP\nsocket rather than appending to DOM.",
19835 "line": " packages/@ember/application/instance.js:136"
19836 },
19837 {
19838 "message": "Missing item type\nTells the router to start routing. The router will ask the location for the\ncurrent URL of the page to determine the initial URL to start routing to.\nTo start the app at a specific URL, call `handleURL` instead.",
19839 "line": " packages/@ember/application/instance.js:153"
19840 },
19841 {
19842 "message": "Missing item type\nSets up the router, initializing the child router and configuring the\nlocation before routing begins.\n\nBecause setup should only occur once, multiple calls to `setupRouter`\nbeyond the first call have no effect.\n\nThis is commonly used in order to confirm things that rely on the router\nare functioning properly from tests that are primarily rendering related.\n\nFor example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n`setupRenderingTest` calling `this.owner.setupRouter()` would allow that\nrendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\nhave the correct URL.",
19843 "line": " packages/@ember/application/instance.js:165"
19844 },
19845 {
19846 "message": "Missing item type\nDirects the router to route to a particular URL. This is useful in tests,\nfor example, to tell the app to start at a particular URL.",
19847 "line": " packages/@ember/application/instance.js:191"
19848 },
19849 {
19850 "message": "Missing item type",
19851 "line": " packages/@ember/application/instance.js:203"
19852 },
19853 {
19854 "message": "Missing item type\nReturns the current URL of the app instance. This is useful when your\napp does not update the browsers URL bar (i.e. it uses the `'none'`\nlocation adapter).",
19855 "line": " packages/@ember/application/instance.js:217"
19856 },
19857 {
19858 "message": "Missing item type\nNavigate the instance to a particular URL. This is useful in tests, for\nexample, or to tell the app to start at a particular URL. This method\nreturns a promise that resolves with the app instance when the transition\nis complete, or rejects if the transion was aborted due to an error.",
19859 "line": " packages/@ember/application/instance.js:232"
19860 },
19861 {
19862 "message": "Missing item type\nUnfortunately, a lot of existing code assumes booting an instance is\nsynchronous – specifically, a lot of tests assume the last call to\n`app.advanceReadiness()` or `app.reset()` will result in a new instance\nbeing fully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this\nassumption, so we created the asynchronous version above that returns a\npromise. But until we have migrated all the code, we would have to expose\nthis method for use *internally* in places where we need to boot an instance\nsynchronously.",
19863 "line": " packages/@ember/engine/instance.js:85"
19864 },
19865 {
19866 "message": "Missing item type",
19867 "line": " packages/ember-testing/lib/helpers/-is-form-control.js:3"
19868 }
19869 ]
19870}
\No newline at end of file