Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
General documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Documentation
General documentation
Commits
89d1c4ef
Commit
89d1c4ef
authored
4 years ago
by
Alice Poggioli
Browse files
Options
Downloads
Patches
Plain Diff
add second method for component
parent
87d79315
No related branches found
No related tags found
1 merge request
!19
Enum dropdown radio solid-form-search
Pipeline
#6787
passed
4 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/import_documentation/How-to-make-components.rst
+11
-2
11 additions, 2 deletions
source/import_documentation/How-to-make-components.rst
source/index.rst
+1
-1
1 addition, 1 deletion
source/index.rst
with
12 additions
and
3 deletions
source/import_documentation/How-to-make-components.rst
+
11
−
2
View file @
89d1c4ef
...
@@ -72,8 +72,8 @@ Your `package.json` should look like this :
...
@@ -72,8 +72,8 @@ Your `package.json` should look like this :
Two methods
Two methods
=============
=============
1. SiBTemplateElement
method
1.
With
SiBTemplateElement
--------------------------
------
--------------------------
When you should use this method :
When you should use this method :
* to encapsulate simple code
* to encapsulate simple code
...
@@ -307,6 +307,15 @@ Helper fonctions can be import from the framework.
...
@@ -307,6 +307,15 @@ Helper fonctions can be import from the framework.
We
’
ve
also
made
`
a
sib-tutorial
component
<
https:
//
git.startinblox.com
/
components
/
sib-tutorial
>
`__. It’s
We
’
ve
also
made
`
a
sib-tutorial
component
<
https:
//
git.startinblox.com
/
components
/
sib-tutorial
>
`__. It’s
very simple exemple to provide you an other template to start easily you own. Be thoughtful with the documentation of your readme :)
very simple exemple to provide you an other template to start easily you own. Be thoughtful with the documentation of your readme :)
2. Without SiBTemplateElement
-----------------------------
Developping your component without SiBTemplateElement allow you to use mixins but you need to have a minimum of knowledge on the framework.
.. note::
This tutorial is coming soon
If you have some questions left, please `mail us
<
'
mailto:alice
@
startinblox.com
?
subject=
A%20feedback%20from%20the%20doc
>
`__ ou
If you have some questions left, please `mail us
<
'
mailto:alice
@
startinblox.com
?
subject=
A%20feedback%20from%20the%20doc
>
`__ ou
ask us on the `community chat
<https:
//
community.startinblox.com
>
`__.
ask us on the `community chat
<https:
//
community.startinblox.com
>
`__.
...
...
This diff is collapsed.
Click to expand it.
source/index.rst
+
1
−
1
View file @
89d1c4ef
...
@@ -18,10 +18,10 @@ Welcome to Startinblox's documentation!
...
@@ -18,10 +18,10 @@ Welcome to Startinblox's documentation!
:caption: How it work:
:caption: How it work:
import_documentation/sib-demo
import_documentation/sib-demo
import_documentation/How-to-make-components
import_documentation/install-sib-server
import_documentation/install-sib-server
import_documentation/develop-sib-ldp-packages
import_documentation/develop-sib-ldp-packages
import_documentation/server-architecture
import_documentation/server-architecture
import_documentation/How-to-make-components
.. import_documentation/core-framework-architecture
.. import_documentation/core-framework-architecture
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment