Version 2
What is new? Migration Guide From V1
Getting Started
Understanding WinnetouJs Setting Up
Constructos
Creating Constructos Advanced Options Lazy Loading
Mutables
Constructos State Management Case: Custom State Management System Winnetou FX
Addons
Winnetou Selectors Winnetou Router App Translations CSS Sass Built-in Transpiler SVG Icons Color Themes
Extras
Useful JsDoc Syntax
Plugins
Creating Plugins SlideScreen Official Plugin Animate Official Plugin
Compiling to Production
WBR
API Change Log Git Hub Pull Requests Guidelines Get in touch
Plugins

Win Animate

Win-animate is used to create small animations within our application. It uses the css library animate to make the animations available and its great differential is the separation of each animation in a different sass file, making us import only the animations we actually use.

Installation

npm i win-animate;

node wbr --bundleRelease;

Sass imports

Don't forget the animateCore.scss

@import "../node_modules/win-animate/src/animateCore.scss";

@import "../node_modules/win-animate/src/fading_entrances/fadeInDownBig.scss";

@import "../node_modules/win-animate/src/attention_seekers/headShake.scss";

Javascript imports

import { anim } from "../node_modules/win-animate/src/animate.js";

How to Use

Use anim() function to animate a constructo.

app.js

        

let h = h1({ text: "AnimateApp.js" }).create("#app");
anim(h.ids.h1, "headShake");
       
      

Thanks to

Daniel Eden, Elton Mesquita and Waren Gonzaga for their incredible work.

https://animate.style/