From c9e8555ce909ef5dbbf15e21167b157de8fe409c Mon Sep 17 00:00:00 2001 From: Bryan Lee <42545742+bryanmylee@users.noreply.github.com> Date: Thu, 26 May 2022 15:59:09 +0800 Subject: [PATCH 1/2] doc: use `rowAttrs`, `tableBodyAttrs`, and `tableAttrs` --- README.md | 51 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 49db822..39e7a42 100644 --- a/README.md +++ b/README.md @@ -86,34 +86,43 @@ Svelte Headless Table comes with a stable plugin system that allows you to trans }), ]); - const { headerRows, rows } = table.createViewModel(columns); + const { + headerRows, + rows, + tableAttrs, + tableBodyAttrs, + } = table.createViewModel(columns); -
- |
-
---|
+ |
+
- |
-
+ |
+