htmx.org 1.9.9 → 2.0.0-alpha1

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.
package/dist/htmx.d.ts CHANGED
@@ -400,6 +400,42 @@ export interface HtmxConfig {
400
400
  * @default true
401
401
  */
402
402
  scrollIntoViewOnBoost?: boolean;
403
+ /**
404
+ * If set, the nonce will be added to inline scripts.
405
+ * @default ''
406
+ */
407
+ inlineScriptNonce?: string;
408
+ /**
409
+ * The type of binary data being received over the WebSocket connection
410
+ * @default 'blob'
411
+ */
412
+ wsBinaryType?: 'blob' | 'arraybuffer';
413
+ /**
414
+ * If set to true htmx will include a cache-busting parameter in GET requests to avoid caching partial responses by the browser
415
+ * @default false
416
+ */
417
+ getCacheBusterParam?: boolean;
418
+ /**
419
+ * If set to true, htmx will use the View Transition API when swapping in new content.
420
+ * @default false
421
+ */
422
+ globalViewTransitions?: boolean;
423
+ /**
424
+ * htmx will format requests with these methods by encoding their parameters in the URL, not the request body
425
+ * @default ["get"]
426
+ */
427
+ methodsThatUseUrlParams?: ('get' | 'head' | 'post' | 'put' | 'delete' | 'connect' | 'options' | 'trace' | 'patch' )[];
428
+ /**
429
+ * If set to true htmx will not update the title of the document when a title tag is found in new content
430
+ * @default false
431
+ */
432
+ ignoreTitle:? boolean;
433
+ /**
434
+ * The cache to store evaluated trigger specifications into.
435
+ * You may define a simple object to use a never-clearing cache, or implement your own system using a [proxy object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy)
436
+ * @default null
437
+ */
438
+ triggerSpecsCache?: {[trigger: string]: HtmxTriggerSpecification[]};
403
439
  }
404
440
 
405
441
  /**