marko 5.25.9 → 5.25.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tags-html.d.ts +13 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.25.9",
3
+ "version": "5.25.10",
4
4
  "license": "MIT",
5
5
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
6
6
  "dependencies": {
package/tags-html.d.ts CHANGED
@@ -2303,14 +2303,25 @@ declare global {
2303
2303
  key?: AttrString;
2304
2304
 
2305
2305
  /**
2306
- * Tells Marko to avoid updating the element or it's contents (excluding custom tags which may rerender independently).
2306
+ * Tells Marko to avoid updating the element or its contents (excluding custom tags which may rerender independently).
2307
2307
  */
2308
2308
  "no-update"?: AttrBoolean;
2309
2309
 
2310
2310
  /**
2311
- * Tells Marko to avoid updating an elements contents (excluding custom tags which may rerender independently).
2311
+ * Tells Marko to avoid updating an element's contents (excluding custom tags which may rerender independently). Used instead of no-update when runtime functionality is needed.
2312
2312
  */
2313
2313
  "no-update-if"?: AttrBoolean;
2314
+
2315
+ /**
2316
+ * Tells Marko to avoid updating an element's body.
2317
+ */
2318
+ "no-update-body"?: AttrBoolean;
2319
+
2320
+ /**
2321
+ * Tells Marko to avoid updating an element's body. Used instead of no-update-body when runtime functionality is needed.
2322
+ * @see https://markojs.com/docs/syntax/#conditional-rendering
2323
+ */
2324
+ "no-update-body-if"?: AttrBoolean;
2314
2325
  }
2315
2326
 
2316
2327
  interface HTMLAttributes<T extends Element = Element>