{"_id":"573a0844c87a353400854bb0","project":"5730eb946b55e93400b32aae","category":{"_id":"5734b41b9c2cf82900b243ee","__v":0,"project":"5730eb946b55e93400b32aae","version":"5730eb946b55e93400b32ab1","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-05-12T16:49:31.689Z","from_sync":false,"order":9999,"slug":"components","title":"Components"},"user":"5730eaf719c1e00e006d215f","version":{"_id":"5730eb946b55e93400b32ab1","project":"5730eb946b55e93400b32aae","__v":4,"createdAt":"2016-05-09T19:57:08.646Z","releaseDate":"2016-05-09T19:57:08.646Z","categories":["5730eb946b55e93400b32ab2","5734b41b9c2cf82900b243ee","5734c6986d9a38200073dd32","5734cea86d9a38200073dd5a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"0.3.25","version":"0.3.25"},"parentDoc":null,"__v":6,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-16T17:49:56.983Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"The InfiniteScroll component has `preserveChildElements` set to `true`, so you can put your content in the container, then make it infinite scrollable without blowing away the content inside.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Example Usage on window\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<div style=\\\"background-color: cadetblue; height: 400px;\\\"></div>\\n<div class=\\\"infinite-scroll-test\\\">\\n  <div class=\\\"container\\\">\\n    <div class=\\\"row\\\">\\n      <div class=\\\"search-results\\\"></div>\\n    </div>\\n  </div>\\n</div>\\n<div style=\\\"background-color: cadetblue; height: 400px;\\\"></div>\",\n      \"language\": \"html\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"// Pull in the library\\nconst UI = require('jibe-juice');\\n\\nconst results = [];\\nconst loremArray = [\\n    'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mollis massa in ex iaculis fermentum. Maecenas tempor ' +\\n    'nisl ante, vel varius lectus aliquet elementum.Etiam sit amet porta nunc, vitae tincidunt nibh.Phasellus sit amet ' +\\n    'iaculis enim.Proin sit amet vehicula justo.Aliquam non faucibus lorem.Fusce et placerat nulla.',\\n\\n    'Aenean blandit, lectus ut rhoncus porttitor, massa arcu vulputate risus, sed commodo tellus nulla et tortor. Nam ' +\\n    'aliquet vestibulum semper. Vestibulum rutrum felis convallis porta imperdiet. Pellentesque molestie elementum ' +\\n    'turpis, sit amet malesuada diam maximus eu. Mauris aliquet hendrerit augue eu sollicitudin. Aenean nisl ipsum, ' +\\n    'cursus sed ante quis, imperdiet cursus nulla. Curabitur pellentesque eros ex, sed dignissim nisi iaculis ac.',\\n\\n    'Nunc in placerat neque. Donec vel lobortis diam. Aenean nec tellus sit amet elit fermentum cursus. Fusce tempor non ' +\\n    'nunc et iaculis. Nulla facilisi. Vestibulum ut orci eu dui ornare malesuada. Nullam eu volutpat enim. Duis elementum ' +\\n    'velit tristique, pulvinar est in, tempus metus. Nullam bibendum felis sit amet sem euismod tempus. Duis lacinia sed ' +\\n    'lectus quis condimentum. Donec in lobortis nisi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices ' +\\n    'posuere cubilia Curae; Aliquam eleifend felis id lacus lacinia, at pellentesque mauris vehicula.',\\n\\n    'Nullam nec dignissim dui. Pellentesque lobortis pharetra libero sed ultrices. Vivamus ut interdum ex. Donec odio ' +\\n    'felis, imperdiet sit amet interdum eget, eleifend vel dolor. Ut lobortis rhoncus vehicula. Curabitur in commodo ' +\\n    'massa. Ut mauris lectus, gravida at felis eget, pretium porttitor tellus. Pellentesque placerat elementum mauris, ' +\\n    'quis faucibus arcu interdum id. Morbi sodales eget dui eu bibendum. In tincidunt scelerisque gravida. Nam pretium ' +\\n    'nulla turpis, non lobortis dolor euismod eu. Nam leo libero, pharetra eu odio at, molestie vestibulum erat. Donec at ' +\\n    'tempus lacus. Phasellus sed nibh porttitor, blandit nisl interdum, tincidunt risus. Vestibulum tempus tempus dui, a ' +\\n    'porttitor ex maximus sed. Nulla facilisis consectetur urna ut posuere.',\\n\\n    'Nam rutrum pellentesque erat, vel porta lorem maximus eu. Ut nec tortor at quam interdum tincidunt eget vel nisi. ' +\\n    'Etiam aliquet neque id odio ultricies accumsan a quis orci. Curabitur ut mauris massa. Curabitur at nisi malesuada, ' +\\n    'mattis felis sit amet, bibendum mi. Suspendisse dapibus ornare malesuada. Lorem ipsum dolor sit amet, consectetur ' +\\n    'adipiscing elit. Nulla facilisi. Nunc nec ex in elit euismod facilisis. Integer maximus, orci id efficitur blandit, ' +\\n    'massa mi pharetra urna, nec euismod urna enim ut ligula. Quisque sit amet tellus eros. Etiam eleifend odio lacus, et ' +\\n    'imperdiet augue lobortis non.'\\n];\\n\\n//Add initial results\\nresults = results.concat(loremArray);\\n\\nconst list = new UI.ListView('.search-results', {\\n  fetch: function (cb) {\\n    results = results.concat(loremArray);\\n      cb(results);\\n    },\\n\\n    results: results\\n  });\\n\\nlist.render();\\n// Instantiate a component, pass the selector of the container to insert component into and the opts\\nconst infiniteScroll = new UI.InfiniteScroll('.infinite-scroll-test', \\nlist.refresh.bind(list), {\\n  debounceWait: 250,\\n  scrollTrigger: 0.95,\\n  windowScroll: true\\n});\\n\\n//Render the DOM necessary to control InfiniteScroll\\ninfiniteScroll.render();\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Example Usage in a div\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<div style=\\\"background-color: cadetblue; height: 400px;\\\"></div>\\n<div class=\\\"infinite-scroll-test\\\" style=\\\"height:200px;overflow:scroll;\\\">\\n  <div class=\\\"container\\\">\\n    <div class=\\\"row\\\">\\n      <div class=\\\"search-results\\\"></div>\\n    </div>\\n  </div>\\n</div>\\n<div style=\\\"background-color: cadetblue; height: 400px;\\\"></div>\",\n      \"language\": \"html\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"// Pull in the library\\nconst UI = require('jibe-juice');\\n\\nconst results = [];\\nconst loremArray = [\\n    'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mollis massa in ex iaculis fermentum. Maecenas tempor ' +\\n    'nisl ante, vel varius lectus aliquet elementum.Etiam sit amet porta nunc, vitae tincidunt nibh.Phasellus sit amet ' +\\n    'iaculis enim.Proin sit amet vehicula justo.Aliquam non faucibus lorem.Fusce et placerat nulla.',\\n\\n    'Aenean blandit, lectus ut rhoncus porttitor, massa arcu vulputate risus, sed commodo tellus nulla et tortor. Nam ' +\\n    'aliquet vestibulum semper. Vestibulum rutrum felis convallis porta imperdiet. Pellentesque molestie elementum ' +\\n    'turpis, sit amet malesuada diam maximus eu. Mauris aliquet hendrerit augue eu sollicitudin. Aenean nisl ipsum, ' +\\n    'cursus sed ante quis, imperdiet cursus nulla. Curabitur pellentesque eros ex, sed dignissim nisi iaculis ac.',\\n\\n    'Nunc in placerat neque. Donec vel lobortis diam. Aenean nec tellus sit amet elit fermentum cursus. Fusce tempor non ' +\\n    'nunc et iaculis. Nulla facilisi. Vestibulum ut orci eu dui ornare malesuada. Nullam eu volutpat enim. Duis elementum ' +\\n    'velit tristique, pulvinar est in, tempus metus. Nullam bibendum felis sit amet sem euismod tempus. Duis lacinia sed ' +\\n    'lectus quis condimentum. Donec in lobortis nisi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices ' +\\n    'posuere cubilia Curae; Aliquam eleifend felis id lacus lacinia, at pellentesque mauris vehicula.',\\n\\n    'Nullam nec dignissim dui. Pellentesque lobortis pharetra libero sed ultrices. Vivamus ut interdum ex. Donec odio ' +\\n    'felis, imperdiet sit amet interdum eget, eleifend vel dolor. Ut lobortis rhoncus vehicula. Curabitur in commodo ' +\\n    'massa. Ut mauris lectus, gravida at felis eget, pretium porttitor tellus. Pellentesque placerat elementum mauris, ' +\\n    'quis faucibus arcu interdum id. Morbi sodales eget dui eu bibendum. In tincidunt scelerisque gravida. Nam pretium ' +\\n    'nulla turpis, non lobortis dolor euismod eu. Nam leo libero, pharetra eu odio at, molestie vestibulum erat. Donec at ' +\\n    'tempus lacus. Phasellus sed nibh porttitor, blandit nisl interdum, tincidunt risus. Vestibulum tempus tempus dui, a ' +\\n    'porttitor ex maximus sed. Nulla facilisis consectetur urna ut posuere.',\\n\\n    'Nam rutrum pellentesque erat, vel porta lorem maximus eu. Ut nec tortor at quam interdum tincidunt eget vel nisi. ' +\\n    'Etiam aliquet neque id odio ultricies accumsan a quis orci. Curabitur ut mauris massa. Curabitur at nisi malesuada, ' +\\n    'mattis felis sit amet, bibendum mi. Suspendisse dapibus ornare malesuada. Lorem ipsum dolor sit amet, consectetur ' +\\n    'adipiscing elit. Nulla facilisi. Nunc nec ex in elit euismod facilisis. Integer maximus, orci id efficitur blandit, ' +\\n    'massa mi pharetra urna, nec euismod urna enim ut ligula. Quisque sit amet tellus eros. Etiam eleifend odio lacus, et ' +\\n    'imperdiet augue lobortis non.'\\n  ];\\n\\n//Add initial results\\nresults = results.concat(loremArray);\\n\\nconst list = new UI.ListView('.search-results', {\\n  fetch: function (cb) {\\n    results = results.concat(loremArray);\\n\\n    cb(results);\\n  },\\n\\n  results: results\\n});\\n\\nlist.render();\\n\\n// Instantiate a component, pass the selector of the container to insert component into and the opts\\nconst infiniteScroll = new UI.InfiniteScroll('.infinite-scroll-test',\\nlist.refresh.bind(list), {\\n  debounceWait: 250,\\n  scrollTrigger: 0.80,\\n  windowScroll: false\\n});\\n\\n//Render the DOM necessary to control InfiniteScroll\\ninfiniteScroll.render();\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"params\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Default\",\n    \"h-3\": \"Description\",\n    \"0-0\": \"el\",\n    \"0-1\": \"string\",\n    \"0-2\": \"undefined\",\n    \"0-3\": \"A string of the selector for the element to put the component in\",\n    \"1-0\": \"onScrollToBottom\",\n    \"1-1\": \"function\",\n    \"1-2\": \"undefined\",\n    \"1-3\": \"The function to call when you scroll to the bottom, to load more results etc.\",\n    \"2-0\": \"opts\",\n    \"2-1\": \"object\",\n    \"2-2\": \"{}\",\n    \"2-3\": \"A catch all for various options. See the opts table below for options specific to this component.\"\n  },\n  \"cols\": 4,\n  \"rows\": 3\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"opts\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Default\",\n    \"h-3\": \"Description\",\n    \"1-0\": \"untoggledClass\",\n    \"1-1\": \"string\",\n    \"1-2\": \"undefined\",\n    \"1-3\": \"The class to apply when toggled is false\",\n    \"h-4\": \"Description\",\n    \"1-4\": \"Test\",\n    \"0-0\": \"debounceWait\",\n    \"0-2\": \"500\",\n    \"0-1\": \"number\",\n    \"0-3\": \"The time in milliseconds to debounce the scroll\"\n  },\n  \"cols\": 4,\n  \"rows\": 2\n}\n[/block]","excerpt":"","slug":"infinitescroll","type":"basic","title":"InfiniteScroll"}
The InfiniteScroll component has `preserveChildElements` set to `true`, so you can put your content in the container, then make it infinite scrollable without blowing away the content inside. [block:api-header] { "type": "basic", "title": "Example Usage on window" } [/block] [block:code] { "codes": [ { "code": "<div style=\"background-color: cadetblue; height: 400px;\"></div>\n<div class=\"infinite-scroll-test\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"search-results\"></div>\n </div>\n </div>\n</div>\n<div style=\"background-color: cadetblue; height: 400px;\"></div>", "language": "html" } ] } [/block] [block:code] { "codes": [ { "code": "// Pull in the library\nconst UI = require('jibe-juice');\n\nconst results = [];\nconst loremArray = [\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mollis massa in ex iaculis fermentum. Maecenas tempor ' +\n 'nisl ante, vel varius lectus aliquet elementum.Etiam sit amet porta nunc, vitae tincidunt nibh.Phasellus sit amet ' +\n 'iaculis enim.Proin sit amet vehicula justo.Aliquam non faucibus lorem.Fusce et placerat nulla.',\n\n 'Aenean blandit, lectus ut rhoncus porttitor, massa arcu vulputate risus, sed commodo tellus nulla et tortor. Nam ' +\n 'aliquet vestibulum semper. Vestibulum rutrum felis convallis porta imperdiet. Pellentesque molestie elementum ' +\n 'turpis, sit amet malesuada diam maximus eu. Mauris aliquet hendrerit augue eu sollicitudin. Aenean nisl ipsum, ' +\n 'cursus sed ante quis, imperdiet cursus nulla. Curabitur pellentesque eros ex, sed dignissim nisi iaculis ac.',\n\n 'Nunc in placerat neque. Donec vel lobortis diam. Aenean nec tellus sit amet elit fermentum cursus. Fusce tempor non ' +\n 'nunc et iaculis. Nulla facilisi. Vestibulum ut orci eu dui ornare malesuada. Nullam eu volutpat enim. Duis elementum ' +\n 'velit tristique, pulvinar est in, tempus metus. Nullam bibendum felis sit amet sem euismod tempus. Duis lacinia sed ' +\n 'lectus quis condimentum. Donec in lobortis nisi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices ' +\n 'posuere cubilia Curae; Aliquam eleifend felis id lacus lacinia, at pellentesque mauris vehicula.',\n\n 'Nullam nec dignissim dui. Pellentesque lobortis pharetra libero sed ultrices. Vivamus ut interdum ex. Donec odio ' +\n 'felis, imperdiet sit amet interdum eget, eleifend vel dolor. Ut lobortis rhoncus vehicula. Curabitur in commodo ' +\n 'massa. Ut mauris lectus, gravida at felis eget, pretium porttitor tellus. Pellentesque placerat elementum mauris, ' +\n 'quis faucibus arcu interdum id. Morbi sodales eget dui eu bibendum. In tincidunt scelerisque gravida. Nam pretium ' +\n 'nulla turpis, non lobortis dolor euismod eu. Nam leo libero, pharetra eu odio at, molestie vestibulum erat. Donec at ' +\n 'tempus lacus. Phasellus sed nibh porttitor, blandit nisl interdum, tincidunt risus. Vestibulum tempus tempus dui, a ' +\n 'porttitor ex maximus sed. Nulla facilisis consectetur urna ut posuere.',\n\n 'Nam rutrum pellentesque erat, vel porta lorem maximus eu. Ut nec tortor at quam interdum tincidunt eget vel nisi. ' +\n 'Etiam aliquet neque id odio ultricies accumsan a quis orci. Curabitur ut mauris massa. Curabitur at nisi malesuada, ' +\n 'mattis felis sit amet, bibendum mi. Suspendisse dapibus ornare malesuada. Lorem ipsum dolor sit amet, consectetur ' +\n 'adipiscing elit. Nulla facilisi. Nunc nec ex in elit euismod facilisis. Integer maximus, orci id efficitur blandit, ' +\n 'massa mi pharetra urna, nec euismod urna enim ut ligula. Quisque sit amet tellus eros. Etiam eleifend odio lacus, et ' +\n 'imperdiet augue lobortis non.'\n];\n\n//Add initial results\nresults = results.concat(loremArray);\n\nconst list = new UI.ListView('.search-results', {\n fetch: function (cb) {\n results = results.concat(loremArray);\n cb(results);\n },\n\n results: results\n });\n\nlist.render();\n// Instantiate a component, pass the selector of the container to insert component into and the opts\nconst infiniteScroll = new UI.InfiniteScroll('.infinite-scroll-test', \nlist.refresh.bind(list), {\n debounceWait: 250,\n scrollTrigger: 0.95,\n windowScroll: true\n});\n\n//Render the DOM necessary to control InfiniteScroll\ninfiniteScroll.render();", "language": "javascript" } ] } [/block] [block:api-header] { "type": "basic", "title": "Example Usage in a div" } [/block] [block:code] { "codes": [ { "code": "<div style=\"background-color: cadetblue; height: 400px;\"></div>\n<div class=\"infinite-scroll-test\" style=\"height:200px;overflow:scroll;\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"search-results\"></div>\n </div>\n </div>\n</div>\n<div style=\"background-color: cadetblue; height: 400px;\"></div>", "language": "html" } ] } [/block] [block:code] { "codes": [ { "code": "// Pull in the library\nconst UI = require('jibe-juice');\n\nconst results = [];\nconst loremArray = [\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mollis massa in ex iaculis fermentum. Maecenas tempor ' +\n 'nisl ante, vel varius lectus aliquet elementum.Etiam sit amet porta nunc, vitae tincidunt nibh.Phasellus sit amet ' +\n 'iaculis enim.Proin sit amet vehicula justo.Aliquam non faucibus lorem.Fusce et placerat nulla.',\n\n 'Aenean blandit, lectus ut rhoncus porttitor, massa arcu vulputate risus, sed commodo tellus nulla et tortor. Nam ' +\n 'aliquet vestibulum semper. Vestibulum rutrum felis convallis porta imperdiet. Pellentesque molestie elementum ' +\n 'turpis, sit amet malesuada diam maximus eu. Mauris aliquet hendrerit augue eu sollicitudin. Aenean nisl ipsum, ' +\n 'cursus sed ante quis, imperdiet cursus nulla. Curabitur pellentesque eros ex, sed dignissim nisi iaculis ac.',\n\n 'Nunc in placerat neque. Donec vel lobortis diam. Aenean nec tellus sit amet elit fermentum cursus. Fusce tempor non ' +\n 'nunc et iaculis. Nulla facilisi. Vestibulum ut orci eu dui ornare malesuada. Nullam eu volutpat enim. Duis elementum ' +\n 'velit tristique, pulvinar est in, tempus metus. Nullam bibendum felis sit amet sem euismod tempus. Duis lacinia sed ' +\n 'lectus quis condimentum. Donec in lobortis nisi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices ' +\n 'posuere cubilia Curae; Aliquam eleifend felis id lacus lacinia, at pellentesque mauris vehicula.',\n\n 'Nullam nec dignissim dui. Pellentesque lobortis pharetra libero sed ultrices. Vivamus ut interdum ex. Donec odio ' +\n 'felis, imperdiet sit amet interdum eget, eleifend vel dolor. Ut lobortis rhoncus vehicula. Curabitur in commodo ' +\n 'massa. Ut mauris lectus, gravida at felis eget, pretium porttitor tellus. Pellentesque placerat elementum mauris, ' +\n 'quis faucibus arcu interdum id. Morbi sodales eget dui eu bibendum. In tincidunt scelerisque gravida. Nam pretium ' +\n 'nulla turpis, non lobortis dolor euismod eu. Nam leo libero, pharetra eu odio at, molestie vestibulum erat. Donec at ' +\n 'tempus lacus. Phasellus sed nibh porttitor, blandit nisl interdum, tincidunt risus. Vestibulum tempus tempus dui, a ' +\n 'porttitor ex maximus sed. Nulla facilisis consectetur urna ut posuere.',\n\n 'Nam rutrum pellentesque erat, vel porta lorem maximus eu. Ut nec tortor at quam interdum tincidunt eget vel nisi. ' +\n 'Etiam aliquet neque id odio ultricies accumsan a quis orci. Curabitur ut mauris massa. Curabitur at nisi malesuada, ' +\n 'mattis felis sit amet, bibendum mi. Suspendisse dapibus ornare malesuada. Lorem ipsum dolor sit amet, consectetur ' +\n 'adipiscing elit. Nulla facilisi. Nunc nec ex in elit euismod facilisis. Integer maximus, orci id efficitur blandit, ' +\n 'massa mi pharetra urna, nec euismod urna enim ut ligula. Quisque sit amet tellus eros. Etiam eleifend odio lacus, et ' +\n 'imperdiet augue lobortis non.'\n ];\n\n//Add initial results\nresults = results.concat(loremArray);\n\nconst list = new UI.ListView('.search-results', {\n fetch: function (cb) {\n results = results.concat(loremArray);\n\n cb(results);\n },\n\n results: results\n});\n\nlist.render();\n\n// Instantiate a component, pass the selector of the container to insert component into and the opts\nconst infiniteScroll = new UI.InfiniteScroll('.infinite-scroll-test',\nlist.refresh.bind(list), {\n debounceWait: 250,\n scrollTrigger: 0.80,\n windowScroll: false\n});\n\n//Render the DOM necessary to control InfiniteScroll\ninfiniteScroll.render();", "language": "javascript" } ] } [/block] [block:api-header] { "type": "basic", "title": "params" } [/block] [block:parameters] { "data": { "h-0": "Name", "h-1": "Type", "h-2": "Default", "h-3": "Description", "0-0": "el", "0-1": "string", "0-2": "undefined", "0-3": "A string of the selector for the element to put the component in", "1-0": "onScrollToBottom", "1-1": "function", "1-2": "undefined", "1-3": "The function to call when you scroll to the bottom, to load more results etc.", "2-0": "opts", "2-1": "object", "2-2": "{}", "2-3": "A catch all for various options. See the opts table below for options specific to this component." }, "cols": 4, "rows": 3 } [/block] [block:api-header] { "type": "basic", "title": "opts" } [/block] [block:parameters] { "data": { "h-0": "Name", "h-1": "Type", "h-2": "Default", "h-3": "Description", "1-0": "untoggledClass", "1-1": "string", "1-2": "undefined", "1-3": "The class to apply when toggled is false", "h-4": "Description", "1-4": "Test", "0-0": "debounceWait", "0-2": "500", "0-1": "number", "0-3": "The time in milliseconds to debounce the scroll" }, "cols": 4, "rows": 2 } [/block]