Our.Umbraco.AnimateOnScroll
0.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Our.Umbraco.AnimateOnScroll --version 0.1.0
NuGet\Install-Package Our.Umbraco.AnimateOnScroll -Version 0.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Our.Umbraco.AnimateOnScroll" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Our.Umbraco.AnimateOnScroll --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Our.Umbraco.AnimateOnScroll, 0.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Our.Umbraco.AnimateOnScroll as a Cake Addin #addin nuget:?package=Our.Umbraco.AnimateOnScroll&version=0.1.0 // Install Our.Umbraco.AnimateOnScroll as a Cake Tool #tool nuget:?package=Our.Umbraco.AnimateOnScroll&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Our.Umbraco.AnimateOnScroll
Animate element on your page as you scroll. Based on https://github.com/michalsnik/aos
Usage / Installation
Step 1, umbraco:
- Create a datatype for
Our.Umbraco.AnimateOnScroll
- Add datatype as property name eg: "animate"
Step 2, template:
Add AOS css in <head>
:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css" />
Add script right before closing </body>
tag, and initialize AOS:
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.js"></script>
<script>
AOS.init();
</script>
- Render html-attributes on element:
<section @(Model.Value<Our.Umbraco.AnimateOnScroll.Models.Animation>("animate").ToHtml())>Animated section</<section>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- UmbracoCms.Web (>= 8.6.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.1.1 | 945 | 3/18/2023 |
3.1.0 | 431 | 11/20/2022 |
3.0.0 | 1,150 | 8/5/2022 |
2.0.0 | 827 | 12/7/2021 |
2.0.0-beta2 | 1,589 | 11/26/2021 |
2.0.0-beta | 333 | 10/16/2021 |
0.1.0 | 522 | 8/25/2020 |