Skip to content
/ EwJs Public

Tiny JavaScript framework for building UI on the web. (Being coding,Soon)

License

Notifications You must be signed in to change notification settings

EwJs/EwJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

EwJs

Tiny JavaScript framework for building UI on the web. (Being coding,Soon)

Get a element

$("h1");
$.query("h1");

Get all elements as array

$.querys("li");

Get HTML-Content HTML Value

$("h1").html();
-------------------
var h=$("h1");
alert ( h.html() );

Change HTML-Content

var h=$("h1");
h.html("New Value");
--------------------
h.html( h.html() + " ==> New Value");//like append

Append to HTML-Content

var h=$("h1");
h.append("!!!!");

Animation : Fade a Element

$("h1").fadeout();
$("h1").fadeout(5000);
$("h1").fadein();
$("h1").fadein(5000);
$("h1").slidedown();
$("h1").slideup();

Get all childrens

var ul=$("ul");
var items=ul.childrens();

Get Length of childrens/array

var ul=$("ul");
var items=ul.childrens();
var count=items.length()

Releases

No releases published

Packages

No packages published