createElement(parent: HTMLElement, className: String, tagName: String);
parent. Parent element.
className. Name of CSS class for created element.
tagName. Tag name. This is an optional parameter, be default it is set to div.
The createElement method creates a DOM element with specified tag.
This method returns an HTMLElement value.
The example of use is given in the PP.create.
See also: