Our pure JavaScript Scheduler component


Post by natalija »

Hello!

I am doing a bryntum version update (a bit delayed) from 5.02 to 5.2.9 and I noticed that Sheduler appendTo value has changed from a string to an element. Is this how it's supposed to be? I couldn't find release notes about this change.

Thank you!

Attachments
after update
after update
appendTo_after_update.png (4.69 KiB) Viewed 94 times
before update
before update
appendTo_before_update.png (3.26 KiB) Viewed 94 times

Post by mats »

What's the context here, you mean reading the value of 'appendTo' after creating a Widget?


Post by natalija »

We are using appendTo value to get the element by ID but now after updating appendTo value is not a string.

Attachments
getElementById.png
getElementById.png (7.28 KiB) Viewed 84 times

Post by mats »

If you want the outer HTML element of a Widget, use this instead:

container.element

Post Reply