This project is read-only.

Pretty API

This API is for the rookies who want to quickly develop a decently complex client side application with Teleiotes. Some of the easy uses are:

Anything in this API starts with obtaining reference of PrettyElement for your element;

 

x = t.el('id');

 

Following are some of the common API functions:

 

t.el("x").style('color', 'blue');

t.el("x").load('Tel/Test.js');

t.el("y").put("Hello World");

t.el("y").append("Hello World");

x = t.el("y").dom();

 

Last edited Dec 27, 2011 at 7:56 PM by mihsathe, version 2

Comments

No comments yet.