keyAction
{
"type": "cursor",
"row": 0,
"col": "net_epa"
}import { keyAction } from "@sportsdataverse/sdvtables/html";
keyAction("l", {
focused: 0,
onRow: true,
cursor: { row: 0, col: null },
sorted: "wins",
cols: ["team", "wins", "net_epa"],
order: [0, 1, 2],
hotkeys: true,
});
Tags: docstring · keyAction. All sdvtables examples.