create(name,attrs,html)

  • Type: Method
  • File:
  • Implemented in: dhx.html
  • Included in:

creates a new HTML element using the specified tag name, attributes and content.

Parameters

  • name - the tag name of the new element
    • string
  • attrs - the hash of attributes that need to be set for the element. (optional)
    • object
  • html - the html content of the element (innerHTML) (optional)
    • string

Returns

method doesn't return any data