NKProgressBar
Overview
Creates native Cocoa Touch progress view. Control is created on the top layer of page, so if there are html elements on given coordinates control will overlap them.
init(x, y, width)
Initializes progress bar
Parameters:
x - left coordinate of the control
y - bottom coordinate of the control
width - horizontal size of the control
show()
shows control (not creating)
hide()
hides control (not destroying)
setPosition(value)
sets position of the slider.
setState(value)
sets the state of the switch with animation
Example:
var progress = new NKProgressBar(); progress.init(70,70,100); progress.setPosition(35); progress.show();


