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
a620dba6
Commit
a620dba6
authored
4 years ago
by
Matthieu Fesselier
Browse files
Options
Downloads
Patches
Plain Diff
update: add bind-user reference in solid-router
parent
58eea49d
No related branches found
Branches containing commit
No related tags found
1 merge request
!37
update: add bind-user reference in solid-router
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/import_documentation/Components/Solid-Auth.rst
+1
-0
1 addition, 0 deletions
source/import_documentation/Components/Solid-Auth.rst
source/import_documentation/Components/Solid-Router.rst
+5
-0
5 additions, 0 deletions
source/import_documentation/Components/Solid-Router.rst
with
6 additions
and
0 deletions
source/import_documentation/Components/Solid-Auth.rst
+
1
−
0
View file @
a620dba6
...
@@ -52,6 +52,7 @@ Here is an example to make you understand the logic:
...
@@ -52,6 +52,7 @@ Here is an example to make you understand the logic:
});
});
</script>
</script>
.. _bind-user:
bind-user
bind-user
----------
----------
To associate the currently logged in user to a component, add the bind-user attribute to it.
To associate the currently logged in user to a component, add the bind-user attribute to it.
...
...
This diff is collapsed.
Click to expand it.
source/import_documentation/Components/Solid-Router.rst
+
5
−
0
View file @
a620dba6
...
@@ -134,6 +134,11 @@ will result in:
...
@@ -134,6 +134,11 @@ will result in:
bind-resources
bind-resources
></sib-conversation>
></sib-conversation>
In the same way, the ``bind-user`` attribute can be used to associate the
currently logged in user to a component and set its ``data-src`` attribute
accordingly.
More informations about this in the :ref:`sib-auth documentation<bind-user>`.
Navigate with an event
Navigate with an event
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
...
...
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