From 350dbf123fd37e50395bd599bfc58a23d9fa18cd Mon Sep 17 00:00:00 2001 From: jusax23 Date: Thu, 9 Jun 2022 16:40:56 +0200 Subject: [PATCH] readme --- README.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) 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