Skip to content

Initial Release v.0.0.1

Latest
Compare
Choose a tag to compare
@LorandVeres LorandVeres released this 02 Aug 23:03
· 25 commits to master since this release

First initial release

A couple of functions just and the main selector function. the main function can insert text, and change the css properties on elements.

Selector function

  • 3 parameters $(".small", 1, {text: 'text' , style :{color:'#fff'; width:'100%':background-color:'#232323; } });
  • selecting element id $("#small");
  • selecting classname $(".small, 0"); item number optional otherwise 0 selected
  • selecting tagname $("<div>, 2"); item number optional otherwise 0 selected

other useful functions

  • isObj(object)
  • isArray(array)
  • isFunc(function)
  • varyArgs(arguments)
  • argsLength(arguments)
  • setCss(el, css) css must be object. example {color:#fff}
  • toggle(el)
  • MyObj.size(object)