8000 fix docs for append as True by madhur-tandon · Pull Request #1808 · pyscript/pyscript · GitHub
[go: up one dir, main page]

Skip to content

fix docs for append as True #1808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyscript.core/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 4D34 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

Expand Down
0