diff --git a/docs/reference/API/display.md b/docs/reference/API/display.md index cae35ba2..0f8e4237 100644 --- a/docs/reference/API/display.md +++ b/docs/reference/API/display.md @@ -45,8 +45,7 @@ To write compliant code, make sure to specify the target using the `target` para ```html def display_hello(): - # this fails because we don't have any implicit target - # from event handlers + # this works because we give an explicit target display('hello', target="helloDiv")