Hi ceddy,
Her is an example how to use the property:
{
label: ‘PRD & User-Stories’,
dateStart: ‘2021-01-10’,
dateEnd: ‘2021-03-10’,
class: ‘product-team’,
type: ‘task’,
onRender: function(task, segment, taskElement, segmentElement, labelWrapper){
let element = document.querySelector(‘#my-element’);
labelElemnt.appendChild(element);
}
},
Since it requires programatically moving the element, it may not be supported by some specific components.
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/