When I'm using appendTo if i try to remove the widget instance to show just one notification at the same time the wrapper element is also removed.
example ('Static in the right panel', then 'Hide all notifications'): http://dojo.telerik.com/alOyo
3 Answers, 1 is accepted
0
Dimo
Telerik team
answered on 06 Oct 2014, 01:08 PM
Hi Juan Jose,
You don't need to use .parent() in your scenario. The parent is needed only when using popup notificaitons, because in that case each notification container is wrapped inside a popup container.
Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
To clarify, when I use appendTo I must use .getNotifications().remove() but if I don't use appendTo I have to call the parent element this way: .getNotifications().parent().remove(). right?
0
Dimo
Telerik team
answered on 07 Oct 2014, 07:00 AM
Hi Juan Jose,
Yes, exactly.
Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!