Commit b94b33c3 authored by Matthieu Fesselier's avatar Matthieu Fesselier

update readme

parent 60ac508c
Pipeline #2561 passed with stage
in 27 seconds
......@@ -18,6 +18,13 @@ In your template, insert the following line where you want to display the compon
If you want to use the `bind-user` attribute, do not forget to use `sib-oidc` for authentication.
### Routing
To redirect to specific pages when you click on a notification, you should:
1. Choose a route to be the default view for a resource type. To do this, add the attribute `rdf-type` to a `sib-route` (ex: `<sib-route name="project" rdf-type="doap:project"></sib-route>`)
2. Add an `extra-context` to the sib-conversation component, so it can understands the `rdf_type` you used before.
For more informations, please see the example at `index.html`
### Design
To customize your component, you can set the css variable `--sib-notifications-theme` anywhere in your stylesheet to the color you want.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment