This commit is contained in:
CentreMetre
2026-06-14 16:29:53 +01:00
parent 3b0cb99334
commit 071c5fc08c

View File

@@ -25,7 +25,7 @@ export abstract class Table<R extends Object> {
* ```{ id: "ID", name: "Name" }```, this makes the columns appear in the order of ID then Name. * ```{ id: "ID", name: "Name" }```, this makes the columns appear in the order of ID then Name.
* @param messageElement Used to display messaged related to data output. Optional. * @param messageElement Used to display messaged related to data output. Optional.
* Omit (undefined) to use the class provided HTMLParagraphElement. * Omit (undefined) to use the class provided HTMLParagraphElement.
* Pass an HTMLElement tp ise a custom element. * Pass an HTMLElement to use a custom element.
* Pass null to disable automatic message output. * Pass null to disable automatic message output.
*/ */
constructor(exampleObject: R, displayNamesAndOrder?: Record<keyof R, string>, messageElement?: HTMLElement | null | undefined) { constructor(exampleObject: R, displayNamesAndOrder?: Record<keyof R, string>, messageElement?: HTMLElement | null | undefined) {