Skip to content
Tennantite
中文
Documentation

MekanismList

Mekanism 滚动列表(GuiScrollList 系共享件):list 行 12 高(list/base|hovered|selected + list/slot 图标槽 + 细滚动条)、filter 行 29 高(list/filter/base|hovered + element_holder 滚动槽 + scroll/bar 把手),数据全量注入、渲染层按可见行数截断。

Install

$pnpm add @tennantite/mekanism

npm installs the compiled package; use the CLI copy above to adapt the source.

Source

packages/mekanism/src/mekanism-list/index.tsx

The npm package keeps the source tree, so you can copy and adapt it directly.