Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

kuskebabi/LimonJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

LimonJS

LimonJS JavaScript Library

Docs

asyncfor()

Makes A "For" Task In Background.

Usage

asyncfor(Start,End,Step,ImportedVar,Function,Speed)

  • Start => Integer
  • End => Integer
  • Step => Integer
  • ImportedVar => Object
  • Function => Function (Step, ImportedVar)
  • Speed => Integer (1 Recomended)

messag()

Shows A Message Box To User

Usage

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=Cances/No)
  • top [OPTIONAL, Default = "10px"] => CSS Position

setattrs

Set Attributes For Elements Got By document.querySelectorAll Or Array Contains HTML Elements

Usage

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)

makecolorful()

Make Text Colorful That Made Out With "c" Tags

Usage

makecolorful(elem,colors)

  • elem => HTML Element
  • Colors => Array [Css Colors]

Image View

View A Image Fullscreen

Usage

imageView(url)

  • url => Image URL

Releases

No releases published

Contributors