This commit is contained in:
jusax23 2022-06-09 16:40:56 +02:00
parent b5d8c4c140
commit 350dbf123f

View file

@ -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";
@ -126,3 +128,21 @@ var KeyframeName = Stear.addAnimation({
}
}/*,name*/);
```
### 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