@@ -30,10 +30,10 @@ 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
37
*/
38
38
export class FocusTrap {
39
39
private _startAnchor : HTMLElement | null ;
@@ -96,7 +96,7 @@ export class FocusTrap {
96
96
/**
97
97
* Inserts the anchors into the DOM. This is usually done automatically
98
98
* 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
99
+ * @returns Whether the focus trap managed to attach successfully . This may not be the case
100
100
* if the target element isn't currently in the DOM.
101
101
*/
102
102
attachAnchors ( ) : boolean {
@@ -355,7 +355,7 @@ export class FocusTrap {
355
355
/**
356
356
* Factory that allows easy instantiation of focus traps.
357
357
* @deprecated Use `ConfigurableFocusTrapFactory` instead.
358
- * @breaking -change for 11.0.0 Remove this class.
358
+ * @breaking -change 11.0.0
359
359
*/
360
360
@Injectable ( { providedIn : 'root' } )
361
361
export class FocusTrapFactory {
0 commit comments