Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
How works a Component ?
-----------------------
A component is a simple tag. Each component has its own attributes that
allow us to customize its behavior.
Let’s see an exemple with sib-display :
.. code:: html
<sib-display
data-src="http://api.myadress.com/users/"
fields="first_name, last_name"
></sib-display>
This code will retrieve the data from the uri assigned to the data-src
attribute and display all fields present in the field attribute. See the
full explanation on `the doc of SiB Display <Components/SiB-Display>`__.
Default component available in the core
---------------------------------------
By importing the Startin’blox core, the following main components are
available :
- `SiB Display <Components/SiB-Display>`__ - To display datas
- `SiB Form <Components/SiB-Form>`__ - To display a form
- `SiB Delete <Components/SiB-Delete>`__ - To delete datas
- `SiB Ac Checker <Components/SiB-Ac-Checker>`__ - To manage permission
- `Sib Widget <Components/SiB-Widget>`__ - To custom your rendering
- `SiB Calendar <Components/SiB-Calendar>`__ - To display a calendar
- `SiB Map <Components/SiB-Map>`__ - To display a map
Imagine your components !
-------------------------
There is `a tutorial <./How%20to%20make%20components%20?>`__ to learn
how to create your own components.
If you have any difficulties, don’t hesitate to ask people on `our
chat <community.startinblox.com>`__ :)