1.0.23 • Published 8 years ago

jhcrts v1.0.23

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

jhcrts

J.H(config)

config eill get the property "element" after this call when config is an object or string the object variant can have following properties:

  • tag // will decide wich element will be created on config.element
  • value // will set config.element.value (shorthand)
  • html // will set config.element.innerHTML (shorthand)
  • class // will set config.element.className (shorthand)
  • attributes // an object with entries such as "id":"foo", "style":"float:left;", "myCustoVal". will set the attriebutes of config.element
  • properties // an object with any entry like "innerHTML":"foo" or "elemCallBack":"function(){console.log(thid)}
  • children // an array of objects wich can have simular configuration
  • callbacks // an array of object with 2 values (event, callback)
  • bind // a bit confusing atm ill get later to this one
  • types // an array of key for default configuraions settet with J.H().addTpee(typeconfig
1.0.23

8 years ago

1.0.22

8 years ago

1.0.21

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.1

8 years ago