/** * Plugin: "local_virtual_scroll" (Tom Select) * Copyright (c) contributors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at: * http://www.apache.org/licenses/LICENSE-2.0 * * Virtual scroll for locally-loaded (non-AJAX) datasets. * Maintains a sliding DOM window of pageSize * 3 items maximum. * Supports optGroups via a flat list with interleaved headers. * * When the search query matches an optGroup label, all children of that * group are included in the results — even if the individual options don't * match the query text. */ import type TomSelect from '../../tom-select.ts'; import type { LVSOptions } from './types.ts'; export default function (this: TomSelect, userOptions: LVSOptions): void;