From be85397ca155e1c010a7c77e96ced804abd644f3 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Thu, 29 Oct 2020 16:23:14 -0400 Subject: [PATCH] rename tutorial 'Checking slots' -> 'Checking for slot content' --- site/content/tutorial/14-composition/04-optional-slots/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/tutorial/14-composition/04-optional-slots/text.md b/site/content/tutorial/14-composition/04-optional-slots/text.md index 5f77c89f11..b875f4c87d 100644 --- a/site/content/tutorial/14-composition/04-optional-slots/text.md +++ b/site/content/tutorial/14-composition/04-optional-slots/text.md @@ -1,5 +1,5 @@ --- -title: Checking slots +title: Checking for slot content --- In some cases, you may want to control parts of your component based on whether the parent passes in content for a certain slot. Perhaps you have a wrapper around that slot, and you don't want to render it if the slot is empty. Or perhaps you'd like to apply a class only if the slot is present. You can do this by checking the properties of the special `$$slots` variable.