From 58dd9c09b8e81345d494a17ccc5d755f06536855 Mon Sep 17 00:00:00 2001 From: Vladislav Suchkov <20380250+Eleseer@users.noreply.github.com> Date: Sun, 31 Jul 2022 20:29:01 +1000 Subject: [PATCH] Added more info about the use directive Added info about when the imported function for the use directive will be called. --- site/content/tutorial/12-actions/01-actions/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/tutorial/12-actions/01-actions/text.md b/site/content/tutorial/12-actions/01-actions/text.md index dfe75c192f..31753b9a89 100644 --- a/site/content/tutorial/12-actions/01-actions/text.md +++ b/site/content/tutorial/12-actions/01-actions/text.md @@ -15,7 +15,7 @@ In this app, we want to make the orange modal close when the user clicks outside import { clickOutside } from "./click_outside.js"; ``` -...then use it with the element: +...then use it with the element (the `clickOutside` function is called when element is created): ```html