Samples
Forum
Services
Documentation
addCss
addMeta
addStyle
allowSelect
create
createCss
denySelect
download
getSelectionRange
getTextSize
getValue
index
insertBefore
locate
offset
pos
posRelative
preventEvent
remove
removeCss
removeStyle
setSelectionRange
stopEvent
triggerEvent
Start
API Reference
html
Methods
create
creates a new HTML element
HTMLElement
create
(
string
name
,
object
attrs
, [
string
html
] );
Parameters
name
string
the name of an HTML element
attrs
object
the hash of attributes
html
string
the inner HTML of a new element
Returns
HTMLElement
a newly-created HTML element
Example
webix.
html
.
create
(
"div"
,
{
name
:
"myname"
}
,
"Some content"
)
;
See also
API
remove
Back to top