Add see-also entries to the various blur/focus messages

This question crops up from time to time, often with people looking for
"focus" or "blur" and wondering why they don't bubble and so then wondering
how they can catch such events in ancestors in the DOM.

The Descendant prefix isn't obvious (I always forget what it is and need to
go hunting), so having the focus and blur events link to the descendant
events should help make them easier to discover.
This commit is contained in:
Dave Pearson
2023-09-04 15:33:44 +01:00
parent c5c51902e8
commit cd1b29fb2b
4 changed files with 24 additions and 0 deletions

View File

@@ -12,3 +12,9 @@ _No other attributes_
## Code
::: textual.events.Blur
## See also
- [DescendantBlur](descendant_blur.md)
- [DescendantFocus](descendant_focus.md)
- [Focus](focus.md)

View File

@@ -12,3 +12,9 @@ _No other attributes_
## Code
::: textual.events.DescendantBlur
## See also
- [Blur](blur.md)
- [DescendantFocus](descendant_focus.md)
- [Focus](focus.md)

View File

@@ -12,3 +12,9 @@ _No other attributes_
## Code
::: textual.events.DescendantFocus
## See also
- [Blur](blur.md)
- [DescendantBlur](descendant_blur.md)
- [Focus](focus.md)

View File

@@ -12,3 +12,9 @@ _No other attributes_
## Code
::: textual.events.Focus
## See also
- [Blur](blur.md)
- [DescendantFocus](descendant_focus.md)
- [DescendantBlur](descendant_blur.md)