Package-level declarations
Functions
Link copied to clipboard
fun <T> CmdLiteralScope.pagedList(pageSize: Int = 8, header: () -> Component, items: () -> Collection<T>, eachRow: (index: Int, T) -> Component)
Adds a list [page] subcommand with the same paging UI as pagedQuery.
Link copied to clipboard
fun <T> CmdLiteralScope.pagedQuery(pageSize: Int = 8, header: () -> Component, items: () -> Collection<T>, eachRow: (index: Int, T) -> Component)
Adds the optional page argument and executor to this literal (e.g. .help [page]). For a listing that lives under list, use pagedList.
Link copied to clipboard
The page bar of pagedQuery for a listing paged elsewhere, such as by the API: each page runs command. Nothing for a single page.