We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee3462 commit e7c5353Copy full SHA for e7c5353
src/cdk/overlay/overlay.md
@@ -1,5 +1,15 @@
1
The `overlay` package provides a way to open floating panels on the screen.
2
3
+### Initial setup
4
+The CDK overlays depend on a small set of structural styles to work correctly. If you're using
5
+Angular Material, these styles have been included together with the theme, otherwise if you're
6
+using the CDK on its own, you'll have to include the styles yourself. You can do so by importing
7
+the prebuilt styles in your global stylesheet:
8
+
9
+```scss
10
+@import '~@angular/cdk/overlay-prebuilt.css';
11
+```
12
13
### Creating overlays
14
Calling `overlay.create()` will return an `OverlayRef` instance. This instance is a handle for
15
managing that specific overlay.
0 commit comments