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

Add link to DBPLitElement

parent b8b899fe
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -41,7 +41,8 @@ The English or German text will be shown according to the `lang` attribute. ...@@ -41,7 +41,8 @@ The English or German text will be shown according to the `lang` attribute.
## Overriding slots in nested web components ## Overriding slots in nested web components
If slots are used in web components then it is best to derive your component class from `DBPLitElement` If slots are used in web components then it is best to derive your component class from
[DBPLitElement](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/blob/master/packages/common/dbp-lit-element.js)
and subscribe to the attribute `html-overrides` everywhere you use it with `subscribe="html-overrides"`. and subscribe to the attribute `html-overrides` everywhere you use it with `subscribe="html-overrides"`.
This way integrators who are using topics or activities are able to globally override these slots This way integrators who are using topics or activities are able to globally override these slots
......
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