MCPcopy Create free account
hub / github.com/gotify/server / table

Function table

ui/src/tests/selector.ts:3–9  ·  view source on GitHub ↗
(tableSelector: string)

Source from the content-addressed store, hash-verified

1export const heading = () => `main h4`;
2
3export const table = (tableSelector: string) => ({
4 selector: () => tableSelector,
5 rows: () => `${tableSelector} tbody tr`,
6 row: (index: number) => `${tableSelector} tbody tr:nth-child(${index})`,
7 cell: (index: number, col: number, suffix = '') =>
8 `${tableSelector} tbody tr:nth-child(${index}) td:nth-child(${col}) ${suffix}`,
9});
10
11export const form = (dialogSelector: string) => ({
12 selector: () => dialogSelector,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…