From 6704f94171e17462d25c64fb7870708b1a0ddfcb Mon Sep 17 00:00:00 2001 From: Peace Date: Tue, 30 Jul 2024 16:35:06 +0900 Subject: [PATCH] popover --- .../Components/Layout/NavMenu.razor | 1 + .../Pages/Components/CompoPopover.razor | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 BlazorFluentUI/Components/Pages/Components/CompoPopover.razor diff --git a/BlazorFluentUI/Components/Layout/NavMenu.razor b/BlazorFluentUI/Components/Layout/NavMenu.razor index 897f1b8..f2704a7 100644 --- a/BlazorFluentUI/Components/Layout/NavMenu.razor +++ b/BlazorFluentUI/Components/Layout/NavMenu.razor @@ -71,6 +71,7 @@ MessageBox Overlay Persona + Popover Toast diff --git a/BlazorFluentUI/Components/Pages/Components/CompoPopover.razor b/BlazorFluentUI/Components/Pages/Components/CompoPopover.razor new file mode 100644 index 0000000..90cdf51 --- /dev/null +++ b/BlazorFluentUI/Components/Pages/Components/CompoPopover.razor @@ -0,0 +1,53 @@ +@page "/compopopover" + +@rendermode RenderMode.InteractiveServer + +

Popover

+ +
+ FluentPopovers are used to display additional information about an element when the user hovers over or focuses on the element. + Use the AnchorId parameter to connect the popover to the component it is positioned relative to. +
+ + +

Callout

+ +
+ + Open Callout 1 + + + + Open Callout 2 + + + +
Callout Header
+ + Callout Body + + Item 1 + Item 2 + + + +
+ Callout Footer +
+
+ + +
Callout Header
+ + Callout Body + + +
+
+
+ +@code { + bool cVisible1, cVisible2; +}