readme
This commit is contained in:
parent
b5d8c4c140
commit
350dbf123f
1 changed files with 21 additions and 1 deletions
20
README.md
20
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";
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue