Skip to content
Snippets Groups Projects
Commit 6b7153ec authored by Alice Poggioli's avatar Alice Poggioli
Browse files

update how to make component

parent b70a7db8
No related branches found
No related tags found
1 merge request!19Enum dropdown radio solid-form-search
Pipeline #7136 passed
Developping a comoponent with SiBTemplateElement
================================================
What is SiBTemplateElement ?
---------------------------
It is a class that can extend your component in order to relieve you of some complexity and to make your code clearer in order to focus on the essential: your functionality.
.. warning::
To start this tutorial, you should have followed `this first part <https://docs.startinblox.com/import_documentation/How-to-make-components.html>`__ .
......@@ -9,9 +13,14 @@ For the example, we are gonna make a FAQ component like this:
.. image:: ./../../_static/images/import_documentation/faq.gif
:alt: A FAQ component as example
.. note::
Remember to rename your folder and file with Solid-FAQ !
1. Create a component that extends SolidTemplateElement
-----------------------------------------------------
Here is the minimum code your component must contain that extends ``SolidTemplateElement``.
.. code:: js
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment