New to Telerik UI for Blazor? Download Free 30-day trial
Popup - Configuration
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Configurator
Animation
Anchor Alignment
Popup Alignment
Offsets
Collision
Dimensions
- The anchor alignment determines which part of the anchor will touch the Popup.
- The Popup alignment determines which part of the Popup will touch the anchor.
- Flip collision allows the Popup to use the opposite alignment if it's too close to the viewport boundary.
- Fit collision allows the Popup to shift its position in order to be fully visible.
- Configuration.razor
Loading the demo source code...please wait.
Description
The Telerik UI for Blazor Popup component represents an animated container, which displays in relation to a specific anchor element, but renders in the application (DOM) root. As a result, the Popup can appear over other content and outside the boundaries of scrollable containers.
The Popup component provides an extensive API to configure its animation, position, alignment and offset with regard to the triggering anchor.
The Popup can also exhibit different behaviors when it's too close to the viewport boundaries - it can show on the opposite side of its anchor or just shift its position.
This Blazor Popup Configuration example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.