
The plugin has detailed documentation.
For the convenience of creating animations, use the constructor
I never welcomed adding a whole framework to my projects for the sake of a single feature, therefore, when developing this animation plugin, I used the generation of style sheets with animation options. Moreover, generation occurs with all vendor prefixes, which makes it completely cross-browser.
Using this plugin, you will not only add animation to your website with ease, but also make it original and cool. You can design your own animation as you like in the animation designer.
First, you must download the minimized plug-in file – daws.min.js which is located in the build folder in the directory of your site. for example to a js folder
Include the file in the head tag or before the closing body tag
<script type="text/javascript" src="/js/daws.min.js"></script>
Then you need to initialize the plugin. It is advisable to do this before the closing body tag
<script>
Daws.init({
repeat: true
});
</script>
It remains to set the attributes of the elements you want to animate
<h1 data-daws="animation: fade-in">Hello World</h1>
Pay attention that there are examples in the example folder
DAWS.zip │ │ ├ DAWS App │ │ │ ├ css │ │ │ │ │ └ app.css │ │ │ │ │ ├ img \ images folder │ │ │ ├ js │ │ │ │ │ └ app.js │ │ │ └ index.html // application │ │ ├ DAWS Plugin │ │ │ ├ build // production │ │ │ │ │ ├ daws.js │ │ └ daws.min.js // use this plugin file │ │ │ │ │ ├ examples │ │ │ │ │ ├ daws.min.js │ │ └ index.html │ │ │ │ │ ├ src │ │ │ │ │ └ daws.js // plugin development file │ │ │ │ │ ├ .eslintrc.json │ ├ gulpfile.js // development config │ ├ webpack.config.js │ ├ .babelrc │ ├ .eslintrc.json └ └ package.json
A small list of what is planned to be done in the next version
------------------------------------------------------------------------ Date: 09/02/2020 Version: 1.1.4 ------------------------------------------------------------------------