Skip to content
Snippets Groups Projects
Commit a620dba6 authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

update: add bind-user reference in solid-router

parent 58eea49d
No related branches found
No related tags found
1 merge request!37update: add bind-user reference in solid-router
...@@ -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.
......
...@@ -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
~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~
......
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