1
0
mirror of https://github.com/pierre42100/ComunicWeb synced 2025-07-14 23:18:08 +00:00

Created conversation settings pane

This commit is contained in:
Pierre
2017-06-17 11:20:54 +02:00
parent 6e89fe632c
commit dea79bdce1
4 changed files with 79 additions and 1 deletions
assets
css
components
conversations
js
common
components

@ -32,6 +32,7 @@ function createElem(nodeType, appendTo){
* @info {HTMLElement} id The ID of the new element
* @info {HTMLElement} title The title of the new element
* @info {HTMLElement} src The src attribute of the new element
* @info {HTMLElement} type The type of the new element
* @info {HTMLElement} innerHTML Specify the html content of the newly created element
* @return {HTMLElement} The newly created element
*/
@ -63,6 +64,10 @@ function createElem2(infos){
if(infos.src)
newElem.src = infos.src;
//Specify element type
if(infos.type)
newElem.type = infos.type;
//Specify node content
if(infos.innerHTML)
newElem.innerHTML = infos.innerHTML;