docs: add preview to an example to test (#59737)

PR Close #59737
This commit is contained in:
Andrew Seguin 2025-05-15 09:43:21 -06:00 committed by Jessica Janiuk
parent 27c55fe30c
commit eaf2c6eb8e

View file

@ -44,7 +44,7 @@ export class DragDropExample {}
You can make any element draggable by adding the `cdkDrag` directive. By default, all draggable elements support free dragging.
<docs-code-multifile>
<docs-code-multifile preview path="adev/src/content/examples/drag-drop/src/overview/app/app.component.html">
<docs-code header="app/app.component.html" path="adev/src/content/examples/drag-drop/src/overview/app/app.component.html"/>
<docs-code header="app/app.component.ts" path="adev/src/content/examples/drag-drop/src/overview/app/app.component.ts"/>
<docs-code header="app/app.component.css" path="adev/src/content/examples/drag-drop/src/overview/app/app.component.css"/>