From 762bc36179399991e419198b66bd00579792c1b6 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Tue, 9 Apr 2024 10:12:16 +0100 Subject: [PATCH] link to tqs --- docs/guide/queries.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guide/queries.md b/docs/guide/queries.md index d87a78a399..5401257874 100644 --- a/docs/guide/queries.md +++ b/docs/guide/queries.md @@ -4,6 +4,10 @@ In the previous chapter we introduced the [DOM](../guide/CSS.md#the-dom) which i 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! +!!! tip + + See the [Textual Query Sandbox](https://github.com/davep/textual-query-sandbox/) project for an interactive way of experimenting with DOM queries. + ## Query one 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.