diff --git a/README.md b/README.md index 9ba2530..f12c479 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ A simple Framework. Its more a try to get a WindowManger and getting rid of self written HTML and CSS ## Getting started +Download the stear Directory and add it to your Project. +## Features ### Create Stear Instance ```javascript import { Stear, SWindow } from "./stear/main.js"; @@ -125,4 +127,22 @@ var KeyframeName = Stear.addAnimation({ transform: "scale(100%)", } }/*,name*/); -``` \ No newline at end of file +``` + +### Utils +#### wait +```javascript +await wait(200); +``` +Simpel Methode of Timedelay in an async fcuntion +#### fadein +```javascript +await fadein(elems,ms,force); +await fadeout(elems,ms,force); +``` +**elems**: contains Element to Fade in or an Array of Elements +**ms** Fade time +**force** If set to true a alredy invisible/visible Element will be refaded out/in. +### Extras + +loading1.js: simple to use Loadinganimation