New techniques for storing state in querystring

This commit is contained in:
2026-07-12 21:46:53 -05:00
parent 6ce1c39b8d
commit 991ef30013
7 changed files with 717 additions and 305 deletions
+1
View File
@@ -27,6 +27,7 @@
const tree = new CheckboxTree(document.querySelector("#tree"), {
initiallySelected: true,
manifest,
stateEncoding: "tiered",
onSelectionChange({ selectedIds }) {
output.textContent = JSON.stringify(selectedIds, null, 2);
},