Skip to content

Commit 762bc36

Browse files
committed
link to tqs
1 parent 35a4df3 commit 762bc36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/guide/queries.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ In the previous chapter we introduced the [DOM](../guide/CSS.md#the-dom) which i
44

55
Selectors are a very useful idea and can do more than apply styles. We can also find widgets in Python code with selectors, and make updates to widgets in a simple expressive way. Let's look at how!
66

7+
!!! tip
8+
9+
See the [Textual Query Sandbox](https://github.com/davep/textual-query-sandbox/) project for an interactive way of experimenting with DOM queries.
10+
711
## Query one
812

913
The [query_one][textual.dom.DOMNode.query_one] method gets a single widget in an app or other widget. If you call it with a selector it will return the first matching widget.

0 commit comments

Comments
 (0)