Commit ccbe51e
docs: pass ElementRef<HTMLElement> as is into FocusMonitor methods (#21906)
`FocusMonitor`'s `monitor`/`stopMonitoring` accepts `ElementRef<HTMLElement>`.
So there's no need to call `ElementRef.nativeElement`
https://material.angular.io/cdk/a11y/api#FocusMonitor
(cherry picked from commit 176a91f)1 parent 47ecf53 commit ccbe51e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
| 238 | + | |
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
| 246 | + | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| |||
0 commit comments