[{"data":1,"prerenderedAt":2105},["ShallowReactive",2],{"navigation_docs":3,"-reference-primitives":107,"-reference-primitives-surround":2100},[4,26,57,87,97],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-book-open",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Architecture","\u002Fgetting-started\u002Farchitecture","1.getting-started\u002F3.architecture","i-lucide-workflow",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Reference","i-lucide-layers","\u002Freference","2.reference",[32,37,42,47,52],{"title":33,"path":34,"stem":35,"icon":36},"VirtualGrid","\u002Freference\u002Fvirtual-grid","2.reference\u002F1.virtual-grid","i-lucide-table-2",{"title":38,"path":39,"stem":40,"icon":41},"Primitives","\u002Freference\u002Fprimitives","2.reference\u002F2.primitives","i-lucide-crosshair",{"title":43,"path":44,"stem":45,"icon":46},"Utilities","\u002Freference\u002Futilities","2.reference\u002F3.utilities","i-lucide-wrench",{"title":48,"path":49,"stem":50,"icon":51},"Benchmarks","\u002Freference\u002Fbenchmarks","2.reference\u002F4.benchmarks","i-lucide-timer",{"title":53,"path":54,"stem":55,"icon":56},"ARIA patterns","\u002Freference\u002Faria-patterns","2.reference\u002F6.aria-patterns","i-lucide-accessibility",{"title":58,"icon":59,"path":60,"stem":61,"children":62,"page":25},"Guides","i-lucide-compass","\u002Fguides","3.guides",[63,67,72,77,82],{"title":64,"path":65,"stem":66,"icon":56},"Accessibility","\u002Fguides\u002Faccessibility","3.guides\u002F1.accessibility",{"title":68,"path":69,"stem":70,"icon":71},"Popovers and overlays","\u002Fguides\u002Fpopovers","3.guides\u002F2.popovers","i-lucide-message-square",{"title":73,"path":74,"stem":75,"icon":76},"Floating UI","\u002Fguides\u002Ffloating-ui","3.guides\u002F3.floating-ui","i-lucide-layers-2",{"title":78,"path":79,"stem":80,"icon":81},"Sizing and direction","\u002Fguides\u002Fsizing-and-direction","3.guides\u002F4.sizing-and-direction","i-lucide-move",{"title":83,"path":84,"stem":85,"icon":86},"Performance","\u002Fguides\u002Fperformance","3.guides\u002F5.performance","i-lucide-gauge",{"title":88,"icon":89,"path":90,"stem":91,"children":92,"page":25},"Examples","i-lucide-flask-conical","\u002Fexamples","4.examples",[93],{"title":94,"path":95,"stem":96,"icon":56},"ARIA examples","\u002Fexamples\u002Faria","4.examples\u002F1.aria",{"title":98,"icon":99,"path":100,"stem":101,"children":102,"page":25},"Changes","i-lucide-history","\u002Fchanges","5.changes",[103],{"title":104,"path":105,"stem":106,"icon":99},"Changelog","\u002Fchanges\u002Fchangelog","5.changes\u002F1.changelog",{"id":108,"title":38,"body":109,"description":2093,"extension":2094,"links":2095,"meta":2096,"navigation":2097,"path":39,"seo":2098,"stem":40,"__hash__":2099},"docs\u002F2.reference\u002F2.primitives.md",{"type":110,"value":111,"toc":2075},"minimark",[112,116,121,135,541,548,893,896,900,919,925,932,957,1042,1055,1058,1064,1100,1110,1115,1127,1137,1158,1176,1180,1186,1191,1218,1222,1227,1239,1262,1267,1279,1290,1294,1300,1346,1353,1375,1378,1613,1619,1625,1798,1802,1815,1821,1864,1870,1934,1941,1987,2002,2006,2042,2072],[113,114,115],"p",{},"The grid does not add ARIA roles, focus handling or overlays. Instead, it gives you the positions it already computes, so you can build them yourself. Use the primitives to get an item's rectangle, or its row and column, even when the item is not rendered.",[117,118,120],"h2",{"id":119},"example-grid","Example grid",[113,122,123,124,128,129,134],{},"The example passes a ",[125,126,127],"code",{},"pageProvider"," to the grid, as in the ",[130,131,133],"a",{"href":132},"\u002Freference\u002Fvirtual-grid#example-grid","VirtualGrid example",".",[136,137,142],"pre",{"className":138,"code":139,"language":140,"meta":141,"style":141},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { useTemplateRef } from \"vue\";\nimport { VirtualGrid } from \"vvirtual-grid\u002Fvue\";\nimport { createRectQuery, getItemRect } from \"vvirtual-grid\u002Fprimitives\";\n\nconst grid = useTemplateRef(\"grid\");\nconst marker = useTemplateRef(\"marker\");\nconst query = createRectQuery({ index: 4200 });\n\nfunction onViewportScroll() {\n  query.root = grid.value.$el;\n  query.layout = grid.value.measurement;\n  if (getItemRect(query)) {\n    marker.value.style.translate = `${query.rect.x}px ${query.rect.y}px`;\n  }\n}\n\u003C\u002Fscript>\n","vue","",[125,143,144,179,209,232,261,268,297,322,355,360,375,404,429,452,519,525,531],{"__ignoreMap":141},[145,146,149,153,157,161,164,167,170,174,176],"span",{"class":147,"line":148},"line",1,[145,150,152],{"class":151},"sMK4o","\u003C",[145,154,156],{"class":155},"swJcz","script",[145,158,160],{"class":159},"spNyl"," setup",[145,162,163],{"class":159}," lang",[145,165,166],{"class":151},"=",[145,168,169],{"class":151},"\"",[145,171,173],{"class":172},"sfazB","ts",[145,175,169],{"class":151},[145,177,178],{"class":151},">\n",[145,180,182,186,189,193,196,199,202,204,206],{"class":147,"line":181},2,[145,183,185],{"class":184},"s7zQu","import",[145,187,188],{"class":151}," {",[145,190,192],{"class":191},"sTEyZ"," useTemplateRef",[145,194,195],{"class":151}," }",[145,197,198],{"class":184}," from",[145,200,201],{"class":151}," \"",[145,203,140],{"class":172},[145,205,169],{"class":151},[145,207,208],{"class":151},";\n",[145,210,212,214,216,219,221,223,225,228,230],{"class":147,"line":211},3,[145,213,185],{"class":184},[145,215,188],{"class":151},[145,217,218],{"class":191}," VirtualGrid",[145,220,195],{"class":151},[145,222,198],{"class":184},[145,224,201],{"class":151},[145,226,227],{"class":172},"vvirtual-grid\u002Fvue",[145,229,169],{"class":151},[145,231,208],{"class":151},[145,233,235,237,239,242,245,248,250,252,254,257,259],{"class":147,"line":234},4,[145,236,185],{"class":184},[145,238,188],{"class":151},[145,240,241],{"class":191}," createRectQuery",[145,243,244],{"class":151},",",[145,246,247],{"class":191}," getItemRect",[145,249,195],{"class":151},[145,251,198],{"class":184},[145,253,201],{"class":151},[145,255,256],{"class":172},"vvirtual-grid\u002Fprimitives",[145,258,169],{"class":151},[145,260,208],{"class":151},[145,262,264],{"class":147,"line":263},5,[145,265,267],{"emptyLinePlaceholder":266},true,"\n",[145,269,271,274,277,279,282,285,287,290,292,295],{"class":147,"line":270},6,[145,272,273],{"class":159},"const",[145,275,276],{"class":191}," grid ",[145,278,166],{"class":151},[145,280,192],{"class":281},"s2Zo4",[145,283,284],{"class":191},"(",[145,286,169],{"class":151},[145,288,289],{"class":172},"grid",[145,291,169],{"class":151},[145,293,294],{"class":191},")",[145,296,208],{"class":151},[145,298,300,302,305,307,309,311,313,316,318,320],{"class":147,"line":299},7,[145,301,273],{"class":159},[145,303,304],{"class":191}," marker ",[145,306,166],{"class":151},[145,308,192],{"class":281},[145,310,284],{"class":191},[145,312,169],{"class":151},[145,314,315],{"class":172},"marker",[145,317,169],{"class":151},[145,319,294],{"class":191},[145,321,208],{"class":151},[145,323,325,327,330,332,334,336,339,342,345,349,351,353],{"class":147,"line":324},8,[145,326,273],{"class":159},[145,328,329],{"class":191}," query ",[145,331,166],{"class":151},[145,333,241],{"class":281},[145,335,284],{"class":191},[145,337,338],{"class":151},"{",[145,340,341],{"class":155}," index",[145,343,344],{"class":151},":",[145,346,348],{"class":347},"sbssI"," 4200",[145,350,195],{"class":151},[145,352,294],{"class":191},[145,354,208],{"class":151},[145,356,358],{"class":147,"line":357},9,[145,359,267],{"emptyLinePlaceholder":266},[145,361,363,366,369,372],{"class":147,"line":362},10,[145,364,365],{"class":159},"function",[145,367,368],{"class":281}," onViewportScroll",[145,370,371],{"class":151},"()",[145,373,374],{"class":151}," {\n",[145,376,378,381,383,386,389,392,394,397,399,402],{"class":147,"line":377},11,[145,379,380],{"class":191},"  query",[145,382,134],{"class":151},[145,384,385],{"class":191},"root",[145,387,388],{"class":151}," =",[145,390,391],{"class":191}," grid",[145,393,134],{"class":151},[145,395,396],{"class":191},"value",[145,398,134],{"class":151},[145,400,401],{"class":191},"$el",[145,403,208],{"class":151},[145,405,407,409,411,414,416,418,420,422,424,427],{"class":147,"line":406},12,[145,408,380],{"class":191},[145,410,134],{"class":151},[145,412,413],{"class":191},"layout",[145,415,388],{"class":151},[145,417,391],{"class":191},[145,419,134],{"class":151},[145,421,396],{"class":191},[145,423,134],{"class":151},[145,425,426],{"class":191},"measurement",[145,428,208],{"class":151},[145,430,432,435,438,441,443,446,449],{"class":147,"line":431},13,[145,433,434],{"class":184},"  if",[145,436,437],{"class":155}," (",[145,439,440],{"class":281},"getItemRect",[145,442,284],{"class":155},[145,444,445],{"class":191},"query",[145,447,448],{"class":155},")) ",[145,450,451],{"class":151},"{\n",[145,453,455,458,460,462,464,467,469,472,474,477,479,481,484,486,489,492,495,498,500,502,504,506,509,511,514,517],{"class":147,"line":454},14,[145,456,457],{"class":191},"    marker",[145,459,134],{"class":151},[145,461,396],{"class":191},[145,463,134],{"class":151},[145,465,466],{"class":191},"style",[145,468,134],{"class":151},[145,470,471],{"class":191},"translate",[145,473,388],{"class":151},[145,475,476],{"class":151}," `${",[145,478,445],{"class":191},[145,480,134],{"class":151},[145,482,483],{"class":191},"rect",[145,485,134],{"class":151},[145,487,488],{"class":191},"x",[145,490,491],{"class":151},"}",[145,493,494],{"class":172},"px ",[145,496,497],{"class":151},"${",[145,499,445],{"class":191},[145,501,134],{"class":151},[145,503,483],{"class":191},[145,505,134],{"class":151},[145,507,508],{"class":191},"y",[145,510,491],{"class":151},[145,512,513],{"class":172},"px",[145,515,516],{"class":151},"`",[145,518,208],{"class":151},[145,520,522],{"class":147,"line":521},15,[145,523,524],{"class":151},"  }\n",[145,526,528],{"class":147,"line":527},16,[145,529,530],{"class":151},"}\n",[145,532,534,537,539],{"class":147,"line":533},17,[145,535,536],{"class":151},"\u003C\u002F",[145,538,156],{"class":155},[145,540,178],{"class":151},[113,542,543,544,547],{},"Call the handler from the grid's ",[125,545,546],{},"viewport-scroll"," event. The marker is a fixed element outside the scroll container.",[136,549,551],{"className":138,"code":550,"language":140,"meta":141,"style":141},"\u003Ctemplate>\n  \u003Cdiv class=\"h-96 overflow-y-auto\">\n    \u003CVirtualGrid\n      ref=\"grid\"\n      :length=\"10000\"\n      :page-size=\"40\"\n      :page-provider=\"pageProvider\"\n      @viewport-scroll=\"onViewportScroll\"\n      class=\"grid grid-cols-[repeat(auto-fill,minmax(80px,1fr))] gap-2\"\n    >\n      \u003Ctemplate #default=\"{ item, index, style }\">\n        \u003Cdiv :style=\"style\" :data-index=\"index\" class=\"h-12\">{{ item.title }}\u003C\u002Fdiv>\n      \u003C\u002Ftemplate>\n\n      \u003Ctemplate #probe>\n        \u003Cdiv class=\"h-12\" \u002F>\n      \u003C\u002Ftemplate>\n    \u003C\u002FVirtualGrid>\n  \u003C\u002Fdiv>\n  \u003Cdiv ref=\"marker\" style=\"position: fixed; inset: 0 auto auto 0; width: 8px; height: 8px; background: red\" \u002F>\n\u003C\u002Ftemplate>\n",[125,552,553,562,584,592,606,623,639,654,670,684,689,726,779,788,792,805,824,832,842,852,884],{"__ignoreMap":141},[145,554,555,557,560],{"class":147,"line":148},[145,556,152],{"class":151},[145,558,559],{"class":155},"template",[145,561,178],{"class":151},[145,563,564,567,570,573,575,577,580,582],{"class":147,"line":181},[145,565,566],{"class":151},"  \u003C",[145,568,569],{"class":155},"div",[145,571,572],{"class":159}," class",[145,574,166],{"class":151},[145,576,169],{"class":151},[145,578,579],{"class":172},"h-96 overflow-y-auto",[145,581,169],{"class":151},[145,583,178],{"class":151},[145,585,586,589],{"class":147,"line":211},[145,587,588],{"class":151},"    \u003C",[145,590,591],{"class":155},"VirtualGrid\n",[145,593,594,597,599,601,603],{"class":147,"line":234},[145,595,596],{"class":159},"      ref",[145,598,166],{"class":151},[145,600,169],{"class":151},[145,602,289],{"class":172},[145,604,605],{"class":151},"\"\n",[145,607,608,611,614,616,618,621],{"class":147,"line":263},[145,609,610],{"class":151},"      :",[145,612,613],{"class":159},"length",[145,615,166],{"class":151},[145,617,169],{"class":151},[145,619,620],{"class":347},"10000",[145,622,605],{"class":151},[145,624,625,627,630,632,634,637],{"class":147,"line":270},[145,626,610],{"class":151},[145,628,629],{"class":159},"page-size",[145,631,166],{"class":151},[145,633,169],{"class":151},[145,635,636],{"class":347},"40",[145,638,605],{"class":151},[145,640,641,643,646,648,650,652],{"class":147,"line":299},[145,642,610],{"class":151},[145,644,645],{"class":159},"page-provider",[145,647,166],{"class":151},[145,649,169],{"class":151},[145,651,127],{"class":191},[145,653,605],{"class":151},[145,655,656,659,661,663,665,668],{"class":147,"line":324},[145,657,658],{"class":151},"      @",[145,660,546],{"class":159},[145,662,166],{"class":151},[145,664,169],{"class":151},[145,666,667],{"class":191},"onViewportScroll",[145,669,605],{"class":151},[145,671,672,675,677,679,682],{"class":147,"line":357},[145,673,674],{"class":159},"      class",[145,676,166],{"class":151},[145,678,169],{"class":151},[145,680,681],{"class":172},"grid grid-cols-[repeat(auto-fill,minmax(80px,1fr))] gap-2",[145,683,605],{"class":151},[145,685,686],{"class":147,"line":362},[145,687,688],{"class":151},"    >\n",[145,690,691,694,696,699,702,704,706,708,711,713,715,717,720,722,724],{"class":147,"line":377},[145,692,693],{"class":151},"      \u003C",[145,695,559],{"class":155},[145,697,698],{"class":151}," #",[145,700,701],{"class":159},"default",[145,703,166],{"class":151},[145,705,169],{"class":151},[145,707,338],{"class":151},[145,709,710],{"class":191}," item",[145,712,244],{"class":151},[145,714,341],{"class":191},[145,716,244],{"class":151},[145,718,719],{"class":191}," style ",[145,721,491],{"class":151},[145,723,169],{"class":151},[145,725,178],{"class":151},[145,727,728,731,733,736,738,740,742,744,747,749,751,754,756,758,760,762,765,767,770,773,775,777],{"class":147,"line":406},[145,729,730],{"class":151},"        \u003C",[145,732,569],{"class":155},[145,734,735],{"class":159}," :style",[145,737,166],{"class":151},[145,739,169],{"class":151},[145,741,466],{"class":172},[145,743,169],{"class":151},[145,745,746],{"class":159}," :data-index",[145,748,166],{"class":151},[145,750,169],{"class":151},[145,752,753],{"class":172},"index",[145,755,169],{"class":151},[145,757,572],{"class":159},[145,759,166],{"class":151},[145,761,169],{"class":151},[145,763,764],{"class":172},"h-12",[145,766,169],{"class":151},[145,768,769],{"class":151},">",[145,771,772],{"class":191},"{{ item.title }}",[145,774,536],{"class":151},[145,776,569],{"class":155},[145,778,178],{"class":151},[145,780,781,784,786],{"class":147,"line":431},[145,782,783],{"class":151},"      \u003C\u002F",[145,785,559],{"class":155},[145,787,178],{"class":151},[145,789,790],{"class":147,"line":454},[145,791,267],{"emptyLinePlaceholder":266},[145,793,794,796,798,800,803],{"class":147,"line":521},[145,795,693],{"class":151},[145,797,559],{"class":155},[145,799,698],{"class":151},[145,801,802],{"class":159},"probe",[145,804,178],{"class":151},[145,806,807,809,811,813,815,817,819,821],{"class":147,"line":527},[145,808,730],{"class":151},[145,810,569],{"class":155},[145,812,572],{"class":159},[145,814,166],{"class":151},[145,816,169],{"class":151},[145,818,764],{"class":172},[145,820,169],{"class":151},[145,822,823],{"class":151}," \u002F>\n",[145,825,826,828,830],{"class":147,"line":533},[145,827,783],{"class":151},[145,829,559],{"class":155},[145,831,178],{"class":151},[145,833,835,838,840],{"class":147,"line":834},18,[145,836,837],{"class":151},"    \u003C\u002F",[145,839,33],{"class":155},[145,841,178],{"class":151},[145,843,845,848,850],{"class":147,"line":844},19,[145,846,847],{"class":151},"  \u003C\u002F",[145,849,569],{"class":155},[145,851,178],{"class":151},[145,853,855,857,859,862,864,866,868,870,873,875,877,880,882],{"class":147,"line":854},20,[145,856,566],{"class":151},[145,858,569],{"class":155},[145,860,861],{"class":159}," ref",[145,863,166],{"class":151},[145,865,169],{"class":151},[145,867,315],{"class":172},[145,869,169],{"class":151},[145,871,872],{"class":159}," style",[145,874,166],{"class":151},[145,876,169],{"class":151},[145,878,879],{"class":172},"position: fixed; inset: 0 auto auto 0; width: 8px; height: 8px; background: red",[145,881,169],{"class":151},[145,883,823],{"class":151},[145,885,887,889,891],{"class":147,"line":886},21,[145,888,536],{"class":151},[145,890,559],{"class":155},[145,892,178],{"class":151},[113,894,895],{},"The marker follows item 4200 while the user scrolls. Item 4200 does not need to be rendered, because its rectangle comes from its index and the grid's measurement.",[117,897,899],{"id":898},"query-objects","Query objects",[113,901,902,903,905,906,908,909,911,912,914,915,918],{},"Each primitive reads its input from a query object and writes its result into the same object. The object holds the input fields (",[125,904,753],{},", ",[125,907,413],{},", and ",[125,910,385],{}," for rectangles). It also holds the field that receives the result: ",[125,913,483],{}," for a rectangle, ",[125,916,917],{},"cell"," for a row and column.",[113,920,921,922,924],{},"The grid emits ",[125,923,546],{}," on every scroll event. If each handler call built a new object, the browser would have to collect all of them while the user scrolls. A query object is created once and reused, so a call creates no object.",[113,926,927,928,931],{},"C APIs use the same idea with an output parameter: ",[125,929,930],{},"get_rect(index, &rect)"," fills a struct the caller owns, instead of returning a new one.",[113,933,934,935,938,939,942,943,945,946,948,949,951,952,956],{},"Create a query with ",[125,936,937],{},"createRectQuery"," or ",[125,940,941],{},"createCellQuery",". Before each call, set ",[125,944,753],{},". Set ",[125,947,413],{}," and ",[125,950,385],{}," from the grid as well, because both change when the grid resizes. The sample in ",[130,953,955],{"href":954},"#get-an-items-rectangle","Get an item's rectangle"," sets all three on every scroll.",[958,959,960,966,986,997,1025],"field-group",{},[961,962,963,964,134],"field",{"name":753},"Zero-based index of the item. The primitives do not check it against ",[125,965,613],{},[961,967,968,969,974,975,978,979,938,982,985],{"name":413},"The grid's exposed ",[130,970,972],{"href":971},"\u002Freference\u002Fvirtual-grid#exposed-values",[125,973,426],{},". It is ",[125,976,977],{},"undefined"," until the grid is measured, and the primitives return ",[125,980,981],{},"false",[125,983,984],{},"-1"," while it is.",[961,987,988,989,992,993,996],{"name":385},"Rectangle queries only. The grid element, ",[125,990,991],{},"grid.value.$el",". Leave it ",[125,994,995],{},"null"," for coordinates relative to item 0.",[961,998,999,1000,1002,1003,905,1005,905,1007,905,1010,905,1013,905,1016,905,1019,948,1022,134],{"name":483},"Rectangle queries only. Where ",[125,1001,440],{}," writes ",[125,1004,488],{},[125,1006,508],{},[125,1008,1009],{},"width",[125,1011,1012],{},"height",[125,1014,1015],{},"top",[125,1017,1018],{},"right",[125,1020,1021],{},"bottom",[125,1023,1024],{},"left",[961,1026,1027,1028,1002,1031,948,1034,1037,1038,1041],{"name":917},"Cell queries only. Where ",[125,1029,1030],{},"getItemCell",[125,1032,1033],{},"row",[125,1035,1036],{},"column",", and what ",[125,1039,1040],{},"getIndexByCell"," reads.",[1043,1044,1045,1047,1048,1051,1052,134],"note",{},[125,1046,483],{}," has the fields of a ",[125,1049,1050],{},"DOMRect",". A Floating UI virtual element can return it from ",[125,1053,1054],{},"getBoundingClientRect()",[117,1056,955],{"id":1057},"get-an-items-rectangle",[1059,1060,1062],"h3",{"id":1061},"createrectquery",[125,1063,937],{},[136,1065,1068],{"className":1066,"code":1067,"language":173,"meta":141,"style":141},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","createRectQuery(init?: { index?, layout?, root? }): RectQuery\n",[125,1069,1070],{"__ignoreMap":141},[145,1071,1072,1074,1077,1080,1082,1085,1087,1090,1092,1095,1097],{"class":147,"line":148},[145,1073,937],{"class":281},[145,1075,1076],{"class":191},"(init",[145,1078,1079],{"class":151},"?:",[145,1081,188],{"class":151},[145,1083,1084],{"class":191}," index?",[145,1086,244],{"class":151},[145,1088,1089],{"class":191}," layout?",[145,1091,244],{"class":151},[145,1093,1094],{"class":191}," root? ",[145,1096,491],{"class":151},[145,1098,1099],{"class":191},"): RectQuery\n",[113,1101,1102,1103,1105,1106,1109],{},"Returns a query with a zeroed ",[125,1104,483],{},". Every field in ",[125,1107,1108],{},"init"," is optional.",[1059,1111,1113],{"id":1112},"getitemrect",[125,1114,440],{},[136,1116,1118],{"className":1066,"code":1117,"language":173,"meta":141,"style":141},"getItemRect(query: RectQuery): boolean\n",[125,1119,1120],{"__ignoreMap":141},[145,1121,1122,1124],{"class":147,"line":148},[145,1123,440],{"class":281},[145,1125,1126],{"class":191},"(query: RectQuery): boolean\n",[113,1128,1129,1130,1133,1134,344],{},"Writes the item's rectangle into ",[125,1131,1132],{},"query.rect",". What the numbers are relative to depends on ",[125,1135,1136],{},"query.root",[1138,1139,1140,1150],"ul",{},[1141,1142,1143,1144,1146,1147,1149],"li",{},"With ",[125,1145,385],{}," set to ",[125,1148,995],{},", they are relative to the top-left corner of item 0. This is arithmetic, with no DOM read.",[1141,1151,1143,1152,1154,1155,1157],{},[125,1153,385],{}," set to the grid element, they are relative to the viewport, like ",[125,1156,1054],{},". This reads the layout of one element.",[113,1159,1160,1161,1163,1164,1166,1167,1169,1170,1172,1173,1175],{},"It returns ",[125,1162,981],{}," and leaves ",[125,1165,483],{}," unchanged when ",[125,1168,413],{}," is ",[125,1171,977],{},", or when ",[125,1174,385],{}," is set and the grid has rendered nothing.",[117,1177,1179],{"id":1178},"get-a-row-and-column","Get a row and column",[113,1181,1143,1182,1185],{},[125,1183,1184],{},"grid-auto-flow: column",", indexes fill a column before moving to the next one. These functions follow that order.",[1059,1187,1189],{"id":1188},"createcellquery",[125,1190,941],{},[136,1192,1194],{"className":1066,"code":1193,"language":173,"meta":141,"style":141},"createCellQuery(init?: { index?, layout? }): CellQuery\n",[125,1195,1196],{"__ignoreMap":141},[145,1197,1198,1200,1202,1204,1206,1208,1210,1213,1215],{"class":147,"line":148},[145,1199,941],{"class":281},[145,1201,1076],{"class":191},[145,1203,1079],{"class":151},[145,1205,188],{"class":151},[145,1207,1084],{"class":191},[145,1209,244],{"class":151},[145,1211,1212],{"class":191}," layout? ",[145,1214,491],{"class":151},[145,1216,1217],{"class":191},"): CellQuery\n",[113,1219,1102,1220,134],{},[125,1221,917],{},[1059,1223,1225],{"id":1224},"getitemcell",[125,1226,1030],{},[136,1228,1230],{"className":1066,"code":1229,"language":173,"meta":141,"style":141},"getItemCell(query: CellQuery): boolean\n",[125,1231,1232],{"__ignoreMap":141},[145,1233,1234,1236],{"class":147,"line":148},[145,1235,1030],{"class":281},[145,1237,1238],{"class":191},"(query: CellQuery): boolean\n",[113,1240,1241,1242,1245,1246,948,1248,1250,1251,1254,1255,1257,1258,1169,1260,134],{},"Reads ",[125,1243,1244],{},"query.index"," and writes the zero-based ",[125,1247,1033],{},[125,1249,1036],{}," into ",[125,1252,1253],{},"query.cell",". It returns ",[125,1256,981],{}," when ",[125,1259,413],{},[125,1261,977],{},[1059,1263,1265],{"id":1264},"getindexbycell",[125,1266,1040],{},[136,1268,1270],{"className":1066,"code":1269,"language":173,"meta":141,"style":141},"getIndexByCell(query: CellQuery): number\n",[125,1271,1272],{"__ignoreMap":141},[145,1273,1274,1276],{"class":147,"line":148},[145,1275,1040],{"class":281},[145,1277,1278],{"class":191},"(query: CellQuery): number\n",[113,1280,1241,1281,1283,1284,1257,1286,1169,1288,134],{},[125,1282,1253],{}," and returns the index at that row and column. It returns ",[125,1285,984],{},[125,1287,413],{},[125,1289,977],{},[117,1291,1293],{"id":1292},"track-rendered-items","Track rendered items",[1059,1295,1297],{"id":1296},"createitemtracker",[125,1298,1299],{},"createItemTracker",[136,1301,1303],{"className":1066,"code":1302,"language":173,"meta":141,"style":141},"createItemTracker({ onBind?, onUnbind? }): (root: Element) => void\n",[125,1304,1305],{"__ignoreMap":141},[145,1306,1307,1309,1311,1313,1316,1318,1321,1323,1325,1327,1329,1332,1334,1338,1340,1343],{"class":147,"line":148},[145,1308,1299],{"class":281},[145,1310,284],{"class":191},[145,1312,338],{"class":151},[145,1314,1315],{"class":191}," onBind?",[145,1317,244],{"class":151},[145,1319,1320],{"class":191}," onUnbind? ",[145,1322,491],{"class":151},[145,1324,294],{"class":191},[145,1326,344],{"class":151},[145,1328,437],{"class":151},[145,1330,385],{"class":1331},"sHdIc",[145,1333,344],{"class":151},[145,1335,1337],{"class":1336},"sBMFI"," Element",[145,1339,294],{"class":151},[145,1341,1342],{"class":159}," =>",[145,1344,1345],{"class":151}," void\n",[113,1347,1348,1349,1352],{},"Returns a function. Call it with the grid element from the ",[125,1350,1351],{},"render"," event. Each call compares the rendered items with the previous call.",[958,1354,1355,1365],{},[961,1356,1358,1361,1362,1364],{"name":1357},"onBind",[125,1359,1360],{},"(index, element) => void",". An element started rendering ",[125,1363,753],{},". It also runs when a loaded item replaces its placeholder.",[961,1366,1368,1371,1372,1374],{"name":1367},"onUnbind",[125,1369,1370],{},"(index) => void",". No element renders ",[125,1373,753],{}," any more.",[113,1376,1377],{},"The tracker reuses two internal maps, so a call after the first creates no object.",[136,1379,1381],{"className":138,"code":1380,"language":140,"meta":141,"style":141},"\u003Cscript setup lang=\"ts\">\nimport { useTemplateRef } from \"vue\";\nimport { createItemTracker } from \"vvirtual-grid\u002Fprimitives\";\n\nconst grid = useTemplateRef(\"grid\");\nconst anchored = 0; \u002F\u002F the item the list marks as current\n\nconst track = createItemTracker({\n  onBind: (index, element) => element.toggleAttribute(\"aria-current\", index === anchored),\n  onUnbind: (index) => console.log(\"item left the DOM\", index),\n});\n\u003C\u002Fscript>\n",[125,1382,1383,1403,1423,1444,1448,1470,1489,1493,1508,1558,1597,1605],{"__ignoreMap":141},[145,1384,1385,1387,1389,1391,1393,1395,1397,1399,1401],{"class":147,"line":148},[145,1386,152],{"class":151},[145,1388,156],{"class":155},[145,1390,160],{"class":159},[145,1392,163],{"class":159},[145,1394,166],{"class":151},[145,1396,169],{"class":151},[145,1398,173],{"class":172},[145,1400,169],{"class":151},[145,1402,178],{"class":151},[145,1404,1405,1407,1409,1411,1413,1415,1417,1419,1421],{"class":147,"line":181},[145,1406,185],{"class":184},[145,1408,188],{"class":151},[145,1410,192],{"class":191},[145,1412,195],{"class":151},[145,1414,198],{"class":184},[145,1416,201],{"class":151},[145,1418,140],{"class":172},[145,1420,169],{"class":151},[145,1422,208],{"class":151},[145,1424,1425,1427,1429,1432,1434,1436,1438,1440,1442],{"class":147,"line":211},[145,1426,185],{"class":184},[145,1428,188],{"class":151},[145,1430,1431],{"class":191}," createItemTracker",[145,1433,195],{"class":151},[145,1435,198],{"class":184},[145,1437,201],{"class":151},[145,1439,256],{"class":172},[145,1441,169],{"class":151},[145,1443,208],{"class":151},[145,1445,1446],{"class":147,"line":234},[145,1447,267],{"emptyLinePlaceholder":266},[145,1449,1450,1452,1454,1456,1458,1460,1462,1464,1466,1468],{"class":147,"line":263},[145,1451,273],{"class":159},[145,1453,276],{"class":191},[145,1455,166],{"class":151},[145,1457,192],{"class":281},[145,1459,284],{"class":191},[145,1461,169],{"class":151},[145,1463,289],{"class":172},[145,1465,169],{"class":151},[145,1467,294],{"class":191},[145,1469,208],{"class":151},[145,1471,1472,1474,1477,1479,1482,1485],{"class":147,"line":270},[145,1473,273],{"class":159},[145,1475,1476],{"class":191}," anchored ",[145,1478,166],{"class":151},[145,1480,1481],{"class":347}," 0",[145,1483,1484],{"class":151},";",[145,1486,1488],{"class":1487},"sHwdD"," \u002F\u002F the item the list marks as current\n",[145,1490,1491],{"class":147,"line":299},[145,1492,267],{"emptyLinePlaceholder":266},[145,1494,1495,1497,1500,1502,1504,1506],{"class":147,"line":324},[145,1496,273],{"class":159},[145,1498,1499],{"class":191}," track ",[145,1501,166],{"class":151},[145,1503,1431],{"class":281},[145,1505,284],{"class":191},[145,1507,451],{"class":151},[145,1509,1510,1513,1515,1517,1519,1521,1524,1526,1528,1530,1532,1535,1537,1539,1542,1544,1546,1549,1552,1555],{"class":147,"line":357},[145,1511,1512],{"class":281},"  onBind",[145,1514,344],{"class":151},[145,1516,437],{"class":151},[145,1518,753],{"class":1331},[145,1520,244],{"class":151},[145,1522,1523],{"class":1331}," element",[145,1525,294],{"class":151},[145,1527,1342],{"class":159},[145,1529,1523],{"class":191},[145,1531,134],{"class":151},[145,1533,1534],{"class":281},"toggleAttribute",[145,1536,284],{"class":191},[145,1538,169],{"class":151},[145,1540,1541],{"class":172},"aria-current",[145,1543,169],{"class":151},[145,1545,244],{"class":151},[145,1547,1548],{"class":191}," index ",[145,1550,1551],{"class":151},"===",[145,1553,1554],{"class":191}," anchored)",[145,1556,1557],{"class":151},",\n",[145,1559,1560,1563,1565,1567,1569,1571,1573,1576,1578,1581,1583,1585,1588,1590,1592,1595],{"class":147,"line":362},[145,1561,1562],{"class":281},"  onUnbind",[145,1564,344],{"class":151},[145,1566,437],{"class":151},[145,1568,753],{"class":1331},[145,1570,294],{"class":151},[145,1572,1342],{"class":159},[145,1574,1575],{"class":191}," console",[145,1577,134],{"class":151},[145,1579,1580],{"class":281},"log",[145,1582,284],{"class":191},[145,1584,169],{"class":151},[145,1586,1587],{"class":172},"item left the DOM",[145,1589,169],{"class":151},[145,1591,244],{"class":151},[145,1593,1594],{"class":191}," index)",[145,1596,1557],{"class":151},[145,1598,1599,1601,1603],{"class":147,"line":377},[145,1600,491],{"class":151},[145,1602,294],{"class":191},[145,1604,208],{"class":151},[145,1606,1607,1609,1611],{"class":147,"line":406},[145,1608,536],{"class":151},[145,1610,156],{"class":155},[145,1612,178],{"class":151},[113,1614,1615,1616,1618],{},"Call the tracker with the grid element on the ",[125,1617,1351],{}," event.",[113,1620,1621,1622,134],{},"The grid is the one from ",[130,1623,120],{"href":1624},"#example-grid",[136,1626,1628],{"className":138,"code":1627,"language":140,"meta":141,"style":141},"\u003Ctemplate>\n  \u003Cdiv class=\"h-96 overflow-y-auto\">\n    \u003CVirtualGrid ref=\"grid\" @render=\"track(grid.$el)\">\n      \u003Ctemplate #default=\"{ item, index, style }\">\n        \u003Cdiv :style=\"style\" :data-index=\"index\">{{ item.title }}\u003C\u002Fdiv>\n      \u003C\u002Ftemplate>\n    \u003C\u002FVirtualGrid>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[125,1629,1630,1638,1656,1698,1730,1766,1774,1782,1790],{"__ignoreMap":141},[145,1631,1632,1634,1636],{"class":147,"line":148},[145,1633,152],{"class":151},[145,1635,559],{"class":155},[145,1637,178],{"class":151},[145,1639,1640,1642,1644,1646,1648,1650,1652,1654],{"class":147,"line":181},[145,1641,566],{"class":151},[145,1643,569],{"class":155},[145,1645,572],{"class":159},[145,1647,166],{"class":151},[145,1649,169],{"class":151},[145,1651,579],{"class":172},[145,1653,169],{"class":151},[145,1655,178],{"class":151},[145,1657,1658,1660,1662,1664,1666,1668,1670,1672,1675,1677,1679,1681,1684,1686,1688,1690,1692,1694,1696],{"class":147,"line":211},[145,1659,588],{"class":151},[145,1661,33],{"class":155},[145,1663,861],{"class":159},[145,1665,166],{"class":151},[145,1667,169],{"class":151},[145,1669,289],{"class":172},[145,1671,169],{"class":151},[145,1673,1674],{"class":151}," @",[145,1676,1351],{"class":159},[145,1678,166],{"class":151},[145,1680,169],{"class":151},[145,1682,1683],{"class":281},"track",[145,1685,284],{"class":151},[145,1687,289],{"class":191},[145,1689,134],{"class":151},[145,1691,401],{"class":191},[145,1693,294],{"class":151},[145,1695,169],{"class":151},[145,1697,178],{"class":151},[145,1699,1700,1702,1704,1706,1708,1710,1712,1714,1716,1718,1720,1722,1724,1726,1728],{"class":147,"line":234},[145,1701,693],{"class":151},[145,1703,559],{"class":155},[145,1705,698],{"class":151},[145,1707,701],{"class":159},[145,1709,166],{"class":151},[145,1711,169],{"class":151},[145,1713,338],{"class":151},[145,1715,710],{"class":191},[145,1717,244],{"class":151},[145,1719,341],{"class":191},[145,1721,244],{"class":151},[145,1723,719],{"class":191},[145,1725,491],{"class":151},[145,1727,169],{"class":151},[145,1729,178],{"class":151},[145,1731,1732,1734,1736,1738,1740,1742,1744,1746,1748,1750,1752,1754,1756,1758,1760,1762,1764],{"class":147,"line":263},[145,1733,730],{"class":151},[145,1735,569],{"class":155},[145,1737,735],{"class":159},[145,1739,166],{"class":151},[145,1741,169],{"class":151},[145,1743,466],{"class":172},[145,1745,169],{"class":151},[145,1747,746],{"class":159},[145,1749,166],{"class":151},[145,1751,169],{"class":151},[145,1753,753],{"class":172},[145,1755,169],{"class":151},[145,1757,769],{"class":151},[145,1759,772],{"class":191},[145,1761,536],{"class":151},[145,1763,569],{"class":155},[145,1765,178],{"class":151},[145,1767,1768,1770,1772],{"class":147,"line":270},[145,1769,783],{"class":151},[145,1771,559],{"class":155},[145,1773,178],{"class":151},[145,1775,1776,1778,1780],{"class":147,"line":299},[145,1777,837],{"class":151},[145,1779,33],{"class":155},[145,1781,178],{"class":151},[145,1783,1784,1786,1788],{"class":147,"line":324},[145,1785,847],{"class":151},[145,1787,569],{"class":155},[145,1789,178],{"class":151},[145,1791,1792,1794,1796],{"class":147,"line":357},[145,1793,536],{"class":151},[145,1795,559],{"class":155},[145,1797,178],{"class":151},[117,1799,1801],{"id":1800},"doing-it-with-the-dom","Doing it with the DOM",[113,1803,1804,1805,1808,1809,948,1811,1814],{},"Set ",[125,1806,1807],{},":data-index=\"index\""," on the root element of the ",[125,1810,701],{},[125,1812,1813],{},"placeholder"," slots. Three questions then need no primitive.",[113,1816,1817,1818,1820],{},"Which element renders item 42? Select it from the grid element. It is ",[125,1819,995],{}," when the item is not rendered.",[136,1822,1824],{"className":1066,"code":1823,"language":173,"meta":141,"style":141},"const element = grid.value.$el.querySelector(':scope > [data-index=\"42\"]');\n",[125,1825,1826],{"__ignoreMap":141},[145,1827,1828,1830,1833,1835,1837,1839,1841,1843,1845,1847,1850,1852,1855,1858,1860,1862],{"class":147,"line":148},[145,1829,273],{"class":159},[145,1831,1832],{"class":191}," element ",[145,1834,166],{"class":151},[145,1836,391],{"class":191},[145,1838,134],{"class":151},[145,1840,396],{"class":191},[145,1842,134],{"class":151},[145,1844,401],{"class":191},[145,1846,134],{"class":151},[145,1848,1849],{"class":281},"querySelector",[145,1851,284],{"class":191},[145,1853,1854],{"class":151},"'",[145,1856,1857],{"class":172},":scope > [data-index=\"42\"]",[145,1859,1854],{"class":151},[145,1861,294],{"class":191},[145,1863,208],{"class":151},[113,1865,1866,1867,1869],{},"Which item did an event come from? Find the closest element with the attribute. The result is ",[125,1868,984],{}," outside an item.",[136,1871,1873],{"className":1066,"code":1872,"language":173,"meta":141,"style":141},"const index = Number(event.target.closest(\"[data-index]\")?.dataset.index ?? -1);\n",[125,1874,1875],{"__ignoreMap":141},[145,1876,1877,1879,1881,1883,1886,1889,1891,1894,1896,1899,1901,1903,1906,1908,1910,1913,1916,1918,1921,1924,1927,1930,1932],{"class":147,"line":148},[145,1878,273],{"class":159},[145,1880,1548],{"class":191},[145,1882,166],{"class":151},[145,1884,1885],{"class":281}," Number",[145,1887,1888],{"class":191},"(event",[145,1890,134],{"class":151},[145,1892,1893],{"class":191},"target",[145,1895,134],{"class":151},[145,1897,1898],{"class":281},"closest",[145,1900,284],{"class":191},[145,1902,169],{"class":151},[145,1904,1905],{"class":172},"[data-index]",[145,1907,169],{"class":151},[145,1909,294],{"class":191},[145,1911,1912],{"class":151},"?.",[145,1914,1915],{"class":191},"dataset",[145,1917,134],{"class":151},[145,1919,1920],{"class":191},"index ",[145,1922,1923],{"class":151},"??",[145,1925,1926],{"class":151}," -",[145,1928,1929],{"class":347},"1",[145,1931,294],{"class":191},[145,1933,208],{"class":151},[113,1935,1936,1937,1940],{},"How many rows does the list have? Divide the length by the number of columns and round up. This holds in row flow, the default. In column flow, ",[125,1938,1939],{},"measurement.rows"," is the number of rows.",[136,1942,1944],{"className":1066,"code":1943,"language":173,"meta":141,"style":141},"const rowCount = Math.ceil(10000 \u002F grid.value.measurement.columns);\n",[125,1945,1946],{"__ignoreMap":141},[145,1947,1948,1950,1953,1955,1958,1960,1963,1965,1967,1970,1972,1974,1976,1978,1980,1982,1985],{"class":147,"line":148},[145,1949,273],{"class":159},[145,1951,1952],{"class":191}," rowCount ",[145,1954,166],{"class":151},[145,1956,1957],{"class":191}," Math",[145,1959,134],{"class":151},[145,1961,1962],{"class":281},"ceil",[145,1964,284],{"class":191},[145,1966,620],{"class":347},[145,1968,1969],{"class":151}," \u002F",[145,1971,391],{"class":191},[145,1973,134],{"class":151},[145,1975,396],{"class":191},[145,1977,134],{"class":151},[145,1979,426],{"class":191},[145,1981,134],{"class":151},[145,1983,1984],{"class":191},"columns)",[145,1986,208],{"class":151},[1988,1989,1990,1169,1992,1994,1995,1998,1999,2001],"warning",{},[125,1991,426],{},[125,1993,977],{}," until the grid has measured itself. Read it in a ",[125,1996,1997],{},"layout-change"," handler, which the grid emits each time ",[125,2000,426],{}," changes, or check that it is set before you use it.",[117,2003,2005],{"id":2004},"types","Types",[113,2007,2008,2009,2011,2012,2021,2022,2028,2029,1047,2032,908,2034,2037,2038,948,2040,134],{},"All exported from ",[125,2010,256],{},". ",[130,2013,2015,948,2018],{"href":2014},"#query-objects",[125,2016,2017],{},"RectQuery",[125,2019,2020],{},"CellQuery"," hold the input and output fields, and ",[130,2023,2025],{"href":2024},"#track-rendered-items",[125,2026,2027],{},"ItemTrackerCallbacks"," holds the tracker callbacks. ",[125,2030,2031],{},"ItemRect",[125,2033,1050],{},[125,2035,2036],{},"ItemCell"," has ",[125,2039,1033],{},[125,2041,1036],{},[113,2043,2044,2047,2048,2050,2051,905,2054,905,2057,905,2060,905,2063,905,2066,948,2069,134],{},[125,2045,2046],{},"ItemLayout"," is the part of ",[125,2049,426],{}," the primitives read: ",[125,2052,2053],{},"flow",[125,2055,2056],{},"columns",[125,2058,2059],{},"rows",[125,2061,2062],{},"colGap",[125,2064,2065],{},"rowGap",[125,2067,2068],{},"itemWidthWithGap",[125,2070,2071],{},"itemHeightWithGap",[466,2073,2074],{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":141,"searchDepth":181,"depth":181,"links":2076},[2077,2078,2079,2083,2088,2091,2092],{"id":119,"depth":181,"text":120},{"id":898,"depth":181,"text":899},{"id":1057,"depth":181,"text":955,"children":2080},[2081,2082],{"id":1061,"depth":211,"text":937},{"id":1112,"depth":211,"text":440},{"id":1178,"depth":181,"text":1179,"children":2084},[2085,2086,2087],{"id":1188,"depth":211,"text":941},{"id":1224,"depth":211,"text":1030},{"id":1264,"depth":211,"text":1040},{"id":1292,"depth":181,"text":1293,"children":2089},[2090],{"id":1296,"depth":211,"text":1299},{"id":1800,"depth":181,"text":1801},{"id":2004,"depth":181,"text":2005},"Functions that return the rectangle, row and column of any item, for ARIA, overlays and custom events.","md",null,{},{"icon":41},{"title":38,"description":2093},"4Wx5r7Uu3UTFgJk9o2IgQmDQNTfNm0CjR1WHkf4QhVs",[2101,2103],{"title":33,"path":34,"stem":35,"description":2102,"icon":36,"children":-1},"Props, events, slots and exposed refs of the VirtualGrid component.",{"title":43,"path":44,"stem":45,"description":2104,"icon":46,"children":-1},"Building a pageProvider from an array or from an API.",1794785667993]