tagu-tagu 3.4.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -314,7 +314,7 @@ function InitializerCallbackExample() {
314
314
  document.body.appendChild(InitializerCallbackExample());
315
315
  ```
316
316
  ### `If`
317
- [JSFiddle](https://jsfiddle.net/do_the_simplest/bxuqsh1d/20/)
317
+ [JSFiddle](https://jsfiddle.net/do_the_simplest/bxuqsh1d/21/)
318
318
 
319
319
  ```typescript
320
320
  import { div, If, input, span, useState } from "tagu-tagu";
@@ -329,6 +329,7 @@ function IfExample() {
329
329
  return div([
330
330
  input({
331
331
  attr: { type: "checkbox" },
332
+ prop: { checked: isVisible },
332
333
  on: { click: toggle },
333
334
  }),
334
335
  If(isVisible, () =>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tagu-tagu",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "A lightweight helper for vanilla `HTMLElement`, with reactivity.",
5
5
  "keywords": [
6
6
  "front-end",