From 4f0a128e57d153e9bd3c80b06a6db060c75b8381 Mon Sep 17 00:00:00 2001 From: Alice <alice.poggioli@hotmail.fr> Date: Mon, 4 May 2020 09:49:10 +0200 Subject: [PATCH] Try new table --- source/import_documentation/mixins.rst | 60 +++++++------------------- 1 file changed, 16 insertions(+), 44 deletions(-) diff --git a/source/import_documentation/mixins.rst b/source/import_documentation/mixins.rst index 19f4e30..a833efd 100644 --- a/source/import_documentation/mixins.rst +++ b/source/import_documentation/mixins.rst @@ -10,37 +10,12 @@ List Attributes available: -------------------- - +------------+-----------------+---------+----------------------------------------+ - | Name | Expected | Default | Description | - +===========+=================+=========+=========================================+ - | order-by | | | | - +-----------+-----------------+---------+-----------------------------------------+ - | counter | | | | - +-----------+-----------------+---------+-----------------------------------------+ - .. csv-table:: :header: "Name", "Expected", "Default", "Description" - `order-by`, " test ", " test ", " test " - « counter », " test ", " test ", " test " - « else », " test ", " test ", " test " - - .. list-table:: - :header-rows: 1 - :stub-columns: 1 - - * - Name - - order-by - - counter - * - Expected - - test - - test - * - Default - - test - - test - * - Description - - test - - test + `order-by`, "test", "test", "test" + `counter`, "test", "test ", "test" + `else`, "test", "test", "test" Used in components: @@ -57,13 +32,13 @@ Store Attributes available: -------------------- - +---------------+-----------------+---------+-----------------------------------------+ - | Name | expected | Default | Description | - +=======+=========================+=========+=========================================+ - | nested-field | | | | - +---------------+-----------------+---------+-----------------------------------------+ - | | | | | - +---------------+-----------------+---------+-----------------------------------------+ + .. csv-table:: + :header: "Name", "Expected", "Default", "Description" + + `nested-field `, "test", "test", "test" + `counter`, "test", "test ", "test" + `else`, "test", "test", "test" + Used in components: @@ -77,15 +52,12 @@ Events Some event are available on specific wiget. You'll find corresponding events for your components in its documentation. - +------------+-----------------+---------+----------------------------------------+ - | Event name | Parameters | Fired by | Fired when | - +=======+=====================+=========+=========================================+ - | `resourceSelect` | `{detail:{resource}}` | `sib-display`, `sib-calendar`, `sib-map` | The user clicks an child in the list, with the resource as a detail of the event. | - +-----------+-----------------+---------+-----------------------------------------+ - | `populate` | `{detail:{resource}}` | `sib-display`, `sib-form`, `sib-calendar`, `sib-map` | The component got and displayed all its datas. | - +-----------+-----------------+---------+-----------------------------------------+ - | `save` | `{detail:{resource}}` | `sib-form` | The form has saved successfully. | - +-----------+-----------------+---------+-----------------------------------------+ + .. csv-table:: + :header: "Event name ", "Parameters", "Fired by", "Fired when" + + `resourceSelect`, `{detail:{resource}}`, `sib-display`, `sib-calendar`, `sib-map`, "The user clicks an child in the list, with the resource as a detail of the event." + `populate`, `{detail:{resource}}`,`sib-display`, `sib-form`, `sib-calendar`, `sib-map`, "The component got and displayed all its datas." + `save`, `{detail:{resource}}`, `sib-form`, The form has saved successfully. Examples -- GitLab