linb

Static Methods

create()
To create ui object.
Sample -
var jsonstr = "{'alias' : 'Button1','key' : 'linb.UI.Button','host" : this}";
this.Block22.attach(linb.create(_.unserialize(jsonstr)));

getPath ( key, tag, add )
To get related path by name space. Example:
linb.getPath('linb.UI.Button','','appearance') => linb.ini.path + /appearance/UI/Button/
linb.getPath('linb.UI.Button','.gif','appearance') => linb.ini.path + /appearance/UI/Button.gif
linb.getPath('a.b','','appearance') => linb.ini.appPath + /a/appearance/b/"
linb.getPath('a.b','.gif','appearance') => linb.ini.appPath + /a/appearance/b.gif"
key: String. Name space. Format - linb.UI.xxx.
tag: String. File tag.
add: String. Appearance or bahavior

ini ( path )
To set application default path.
path: String.

reLang ( s, cb )
To change language dynamically.
You need to modify jsLinb/Locale/en.js manully if you don't want to use reLang.

Static Properties

browser
The browser where this application resides

Locale
Locale.