Skip to content
Snippets Groups Projects
Unverified Commit 0a69d005 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Mention dbp-provider use cases

parent 49fae935
No related branches found
No related tags found
No related merge requests found
Pipeline #16524 passed
...@@ -41,6 +41,10 @@ You can provide attributes (e.g. `global-name`) for components inside the provid ...@@ -41,6 +41,10 @@ You can provide attributes (e.g. `global-name`) for components inside the provid
<script type="module" src="node_modules/@dbp-toolkit/provider/dist/dbp-provider.js"></script> <script type="module" src="node_modules/@dbp-toolkit/provider/dist/dbp-provider.js"></script>
``` ```
All other components are also inherent providers (see below), so you don't really need `dbp-provider` in the shadow dom
of other components. The use of `dbp-provider` is mainly suggested being used for namespacing (e.g. different languages
or entry point urls on the same page) or to deliver attribute changes across different components.
### Attributes ### Attributes
- `init` (optional): set your vars to values - `init` (optional): set your vars to values
......
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