diff --git a/global.json b/global.json index 7c33201..45116e5 100644 --- a/global.json +++ b/global.json @@ -1,5 +1,6 @@ { "sdk": { - "version": "3.1.100" + "version": "3.1.101", + "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/samples/BlazorAnimate.Sample/Pages/Manual.razor b/samples/BlazorAnimate.Sample/Pages/Manual.razor new file mode 100644 index 0000000..d597c0f --- /dev/null +++ b/samples/BlazorAnimate.Sample/Pages/Manual.razor @@ -0,0 +1,27 @@ +@page "/manual" + +

Manual example

+ +

+ This sample shows how animation can be executed by clicking a button by setting the IsManual of the Animate component to true and then running the animation using Run-method. +

+ +
+ + + +
+ + + + + +@code { + + private Animate myAnim; + + private void RunAnimation() + { + myAnim.Run(); + } +} \ No newline at end of file diff --git a/samples/BlazorAnimate.Sample/Shared/NavMenu.razor b/samples/BlazorAnimate.Sample/Shared/NavMenu.razor index b6d3926..3eb3b8a 100644 --- a/samples/BlazorAnimate.Sample/Shared/NavMenu.razor +++ b/samples/BlazorAnimate.Sample/Shared/NavMenu.razor @@ -12,6 +12,11 @@ Home +