@@ -30,10 +30,11 @@ import {InteractivityChecker} from '../interactivity-checker/interactivity-check
30
30
*
31
31
* This class currently uses a relatively simple approach to focus trapping.
32
32
* It assumes that the tab order is the same as DOM order, which is not necessarily true.
33
- * Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to misalign .
33
+ * Things like `tabIndex > 0`, flex `order`, and shadow roots can cause the two to be misaligned .
34
34
*
35
35
* @deprecated Use `ConfigurableFocusTrap` instead.
36
- * @breaking -change for 11.0.0 Remove this class.
36
+ * @breaking -change 11.0.0
37
+ * TODO for 11.0.0 Remove this class.
37
38
*/
38
39
export class FocusTrap {
39
40
private _startAnchor : HTMLElement | null ;
@@ -96,7 +97,7 @@ export class FocusTrap {
96
97
/**
97
98
* Inserts the anchors into the DOM. This is usually done automatically
98
99
* in the constructor, but can be deferred for cases like directives with `*ngIf`.
99
- * @returns Whether the focus trap managed to attach successfuly . This may not be the case
100
+ * @returns Whether the focus trap managed to attach successfully . This may not be the case
100
101
* if the target element isn't currently in the DOM.
101
102
*/
102
103
attachAnchors ( ) : boolean {
@@ -355,7 +356,8 @@ export class FocusTrap {
355
356
/**
356
357
* Factory that allows easy instantiation of focus traps.
357
358
* @deprecated Use `ConfigurableFocusTrapFactory` instead.
358
- * @breaking -change for 11.0.0 Remove this class.
359
+ * @breaking -change 11.0.0
360
+ * TODO for 11.0.0 Remove this class.
359
361
*/
360
362
@Injectable ( { providedIn : 'root' } )
361
363
export class FocusTrapFactory {
0 commit comments