Skip to content

Commit 7529e5d

Browse files
authored
docs(Window): Change basic usage to live example (#3097)
1 parent a301f59 commit 7529e5d

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

components/window/overview.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,7 @@ The Window component displays a popup with a title bar and shows custom content.
2525

2626
>caption Basic Blazor Window
2727
28-
````RAZOR
29-
<TelerikWindow @bind-Visible="@WindowIsVisible">
30-
<WindowTitle>
31-
Window Title
32-
</WindowTitle>
33-
<WindowContent>
34-
Window Content ...
35-
</WindowContent>
36-
<WindowActions>
37-
<WindowAction Name="Close" />
38-
</WindowActions>
39-
<WindowFooter>
40-
Window Footer Content ...
41-
</WindowFooter>
42-
</TelerikWindow>
43-
44-
<TelerikButton OnClick="@( () => WindowIsVisible = !WindowIsVisible )">Toggle window</TelerikButton>
45-
46-
@code {
47-
bool WindowIsVisible { get; set; }
48-
}
49-
````
28+
<demo metaUrl="client/window/overview/" height="420"></demo>
5029

5130
## Size
5231

0 commit comments

Comments
 (0)