You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,31 +80,44 @@ The following parameters enable you to customize the appearance of the Blazor Po
68
80
| --- | --- | --- |
69
81
|`Class`|`string`| The custom CSS class to be rendered on the `<div>` element, which wraps the component `ChildContent`. Use for [styling customizations]({%slug themes-override%}). |
70
82
|`Height`|`string`| The height of the Popup. |
71
-
|`Width`|`string`| The width of the Popup. |
83
+
|`Width`|`string`| The width of the Popup. If not set, the component width will match the anchor width. |
72
84
73
85
## Popup Reference and Methods
74
86
75
87
To execute Popup methods, obtain a reference to the component instance with `@ref`.
76
88
77
89
| Method | Description |
78
90
|---------|-------------|
79
-
|`Refresh`|Use this method to programmatically re-render the Popup. <br /> The Popup is rendered as a child of the `TelerikRootComponent`, instead of where it is declared. As a result, it doesn't automatically refresh when its content is updated. In such cases, the `Refresh` method comes in handy to ensure that the Popup content is up-to-date. |
80
-
|`Show`|Use this method to display the Popup. |
81
-
|`Hide`|Use this method to close the Popup. |
91
+
|`Refresh`|Re-renders the Popup. <br /> The Popup renders as a child of the `TelerikRootComponent`, instead of where it is declared. As a result, it doesn't automatically refresh when its content is updated. In such cases, the `Refresh` method ensures that the Popup content is up-to-date. |
92
+
|`Show`|Displays the Popup. |
93
+
|`Hide`|Closes the Popup. |
82
94
83
95
````CSHTML
84
-
<TelerikButton OnClick="@ShowPopup" Class="popup-target">Show the Popup</TelerikButton>
0 commit comments