This commit is contained in:
Javier Suárez Ruiz 2022-05-23 17:35:30 +02:00
Родитель c3aef126ee
Коммит 00722de753
3 изменённых файлов: 34 добавлений и 6 удалений

21
LICENSE Normal file
Просмотреть файл

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -2,7 +2,7 @@
**MauiAnimation** is a library designed for .NET MAUI that aims to facilitate the use of **animations** to developers. Very simple use from **C# and XAML** code.
![MauiAnimation](images/mauianimation-promo.png)
![MauiAnimation](https://raw.githubusercontent.com/jsuarezruiz/MauiAnimation/main/images/mauianimation-promo.png)
_NOTE: This library is a port of [Xamanimation](https://github.com/jsuarezruiz/Xamanimation) to .NET MAUI._
@ -21,7 +21,7 @@ Available animations:
- Translate
- Turnstile
![MauiAnimation](images/mauianimation.gif)
![MauiAnimation](https://raw.githubusercontent.com/jsuarezruiz/MauiAnimation/main/images/mauianimation.gif)
## Animations directly from XAML
@ -106,11 +106,11 @@ You can control the duration of the animation using the **Duration** property. I
**Delay** Add a delay before play the animation.
<img src="images/mauianimation-delayed.gif" Width="250" />
<img src="https://raw.githubusercontent.com/jsuarezruiz/MauiAnimation/main/images/mauianimation-delayed.gif" Width="250" />
**Repeat Forever** Now you can create infinite animations if you need it.
<img src="images/mauianimation-repeat.gif" Width="250" />
<img src="https://raw.githubusercontent.com/jsuarezruiz/MauiAnimation/main/images/mauianimation-repeat.gif" Width="250" />
### Triggers!
@ -138,7 +138,7 @@ Triggers allow you to start animations declaratively in XAML based on events or
</Entry.Triggers>
</Entry>
```
<img src="images/mauianimation-triggers.gif" Width="250" />
<img src="https://raw.githubusercontent.com/jsuarezruiz/MauiAnimation/main/images/mauianimation-triggers.gif" Width="250" />
You can animate any property of type Int, Double, Color, Thickness or CornerRadius. Available options:
* AnimateInt
@ -175,7 +175,7 @@ A common scenario is using a scroll. A parallax effect, etc.
</VisualElement.Behaviors>
</BoxView>
```
<img src="images/mauianimation-progress.gif" Width="250" />
<img src="https://raw.githubusercontent.com/jsuarezruiz/MauiAnimation/main/images/mauianimation-progress.gif" Width="250" />
Available options:
* AnimateProgressInt

Просмотреть файл

@ -24,6 +24,9 @@
<RepositoryUrl>https://github.com/jsuarezruiz/MauiAnimation</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>dotnet,dotnet-maui,maui,animation</PackageTags>
<PackageId>jsuarezruiz.mauianimation</PackageId>
<Copyright>Javier Suárez Ruiz</Copyright>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>
<ItemGroup>
@ -33,6 +36,10 @@
</ItemGroup>
<ItemGroup>
<None Include="..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>