From c685065d069c7af9be86100be99c7d120c231249 Mon Sep 17 00:00:00 2001 From: Madhur Tandon <20173739+madhur-tandon@users.noreply.github.com> Date: Mon, 23 Oct 2023 19:26:58 +0530 Subject: [PATCH] fix docs for append as True --- pyscript.core/docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyscript.core/docs/README.md b/pyscript.core/docs/README.md index 048d7a671b6..ae3bcde0e26 100644 --- a/pyscript.core/docs/README.md +++ b/pyscript.core/docs/README.md @@ -159,7 +159,7 @@ The commonly shared utilities are: * **display** in both main and worker, refers to the good old `display` utility except: * in the *main* it automatically uses the current script `target` to display content * in the *worker* it still needs to know *where* to display content using the `target="dom-id"` named argument, as workers don't get a default target attached - * in both main and worker, the `append=False` is the *default* behavior, which is a breaking change compared to classic PyScript, but because there is no `Element` with its `write(content)` utility, which would have used that `append=False` behind the scene, we've decided that `false` as append default is more desired, specially after porting most examples in *PyScript Next*, where `append=True` is the exception, not the norm. + * in both main and worker, the `append=True` is the *default* behavior, which is inherited from the classic PyScript. #### Extra main-only features