Skip to content

Commit e587971

Browse files
docs(animationCOntainer): changes for 2.2.0
1 parent 5a599c0 commit e587971

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

components/animationcontainer/overview.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ position: 0
1010

1111
# Animation Container
1212

13-
The UI for Blazor suite provides the Animation Container component that you can use to create messages and popups such as notifications or expandable containers. It lets you define its animation, size and position, and arbitrary content.
13+
The UI for Blazor suite provides the Animation Container component that you can use to create messages and popups such as [notifications](https://demos.telerik.com/blazor-ui/animationcontainer/notification) or expandable containers, even [tooltips](https://demos.telerik.com/blazor-ui/animationcontainer/tooltip). It lets you define its animation, size and position, and arbitrary content.
1414

1515
To use the animation container, add the `TelerikAnimationContainer` tag.
1616

1717
>caption How to use the Animation Container
1818
1919
````CSHTML
20-
Click the button to toggle the visibility of the customized popup
20+
@* Click the button to toggle the visibility of the customized popup *@
2121
2222
<TelerikAnimationContainer @ref="myPopupRef" Top="300px" Width="100px" Height="100px" AnimationType="AnimationType.ZoomOut" Class="k-popup">
2323
My content goes here. The "k-popup" class adds some background and borders which you can define through your own styles instead.
@@ -35,6 +35,12 @@ Click the button to toggle the visibility of the customized popup
3535
}
3636
````
3737

38+
>caption The result from the code snippet above
39+
40+
![](images/animation-container-overview.gif)
41+
42+
>note The component renderes in its place of declaration and has `position: absolute`. Parent elements in the DOM with special positioning can affect its position and the calculation of the `Top` and `Left` offsets.
43+
3844
The animation container exposes the following properties and methods:
3945

4046
* `Show()`, `Hide()` and `Toggle()`; `ShowAsync()`, `HideAsync()` and `ToggleAsync()` - to control whether the container is shown.
@@ -53,7 +59,7 @@ The animation container exposes the following properties and methods:
5359
* Fade,
5460
* ZoomIn,
5561
* ZoomOut
56-
* `ShowDelay` and `HideDelay` - to set how much time will pass between toggling the `Visible` property and the actual change of the container state. When the `Visible` property is set to `true`, the `ShowDelay` timer counts and then the container shows. When `Visible` is set to `false`, the `HideDelay` timer starts and then the container hides. Both values are in milliseconds and default to `20`.
62+
* `ShowDelay` and `HideDelay` - defines the delay between showing/hiding the component and the respective animation start. Both values are in milliseconds and default to `20`.
5763
* `Class` - a CSS class rendered on the container DOM element.
5864

5965
>caption Explore the animation options

upgrade/breaking-changes/list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ This article lists the releases of the Telerik UI for Blazor product that introd
1313

1414
* [1.3.0]({%slug changes-in-1-3-0%})
1515
* [2.0.0]({%slug changes-in-2-0-0%})
16+
* [2.2.0]({%slug changes-in-2-2-0%})
1617

0 commit comments

Comments
 (0)