From 3e6d682054322cc347f73089acc4b79049796700 Mon Sep 17 00:00:00 2001 From: Sam <3115209+saemideluxe@users.noreply.github.com> Date: Fri, 2 Sep 2022 17:11:12 +0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d73ea8b..8ef9ddc 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ In order to allow the building of a dynamic page virtual elements need to be use - ```htmlgenerator.BaseElement```: The base for all elements, can also be used to group elements without generating output by itself - ```htmlgenerator.If```: Lazy evaluates the first argument at render time and returns the first child on true and the second child on false - ```htmlgenerator.Iterator```: Takes an iterator which can be a lazy value and renders the child element for each iteration -- ```htmlgenerator.Fragment```: Allows to name a part of the tree which can then selectively be rendered by setting the ```fragment``` parameter when calling ```hg.render``` +- ```htmlgenerator.Fragment```: Allows to name a part of the tree which can then selectively be rendered by setting the ```fragment``` parameter when calling ```hg.render``` (inspired by https://htmx.org/essays/template-fragments/) Example: