From 73ef3979d63bc285e7d7eea2f8c6a23c6c6d875a Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio.bekerle@tugraz.at> Date: Tue, 15 Jun 2021 14:40:51 +0200 Subject: [PATCH] Add slot-hidden documentation --- packages/app-shell/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/app-shell/README.md b/packages/app-shell/README.md index 4cd72cc6..14209b7c 100644 --- a/packages/app-shell/README.md +++ b/packages/app-shell/README.md @@ -47,6 +47,9 @@ The `details` attribute of the event is the language (possible values `en`, `de` ### Slots +You can give your slots a css class `slot-hidden` (which you have to define with `.slot-hidden { display: none; }`) to +hide the slots while the app shell is loading. This css class will then be removed from the slots by the app shell. + #### Unnamed slot The unnamed slot will be removed when the application is loaded and can be filled with a loading-spinner. -- GitLab