LimonJS JavaScript Library
Makes A "For" Task In Background.
asyncfor(Start,End,Step,ImportedVar,Function,Speed)
- Start => Integer
- End => Integer
- Step => Integer
- ImportedVar => Object
- Function => Function (Step, ImportedVar)
- Speed => Integer (1 Recomended)
Shows A Message Box To User
messag(msg,title,okbutton,nobutton,cncbutton,callback,top[?="10px"])
- msg => String (Message To Show)
- title => String
- okbutton => String (Text To Show In "Ok/Yes" Button)
- nobutton => Boolean (If True, It Adds A "Cancel,No" Button)
- cncbutton => String (Text To Show In "Cancel,No" Button)
- callback => Function (true=Ok/Yes, false=Canceş/No)
- top [OPTIONAL, Default = "10px"] => CSS Position
Set Attributes For Elements Got By document.querySelectorAll
Or Array Contains HTML Elements
setattrs(elems,attrname,val,add)
- elems => Array [Html Element]
- attrname => String (Attribute Name)
- val => String (Value To Set)
- add => Boolean (If True It Adds "val" To The Attribute)
Make Text Colorful That Made Out With "c" Tags
makecolorful(elem,colors)
- elem => HTML Element
- Colors => Array [Css Colors]
View A Image Fullscreen
imageView(url)
- url => Image URL