From 7f1a221a03fdd034be139967dc9efa1439be0166 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Tue, 22 Jun 2021 11:40:20 +0200 Subject: [PATCH] Add link to DBPLitElement --- packages/common/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/common/README.md b/packages/common/README.md index 8e431c3a..8fbb0d44 100644 --- a/packages/common/README.md +++ b/packages/common/README.md @@ -41,7 +41,8 @@ The English or German text will be shown according to the `lang` attribute. ## 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"`. This way integrators who are using topics or activities are able to globally override these slots -- GitLab