angularkendo-uikendo-ui-angular2

Use appendTo in Kendo UI for Angular window component


I need to use appendTo in the Window component of Kendo UI for Angular. This feature was available in the original jQuery version, any ideas if this is feasible?

<kendo-window [top]="100" 
              [left]="100" 
              [appendTo]="'body'"    // <-- this throws an exception
              [width]="300">
       <div>Some Element</div>
</kendo-window>

Solution

  • You can use this directive on the element:

    [popupSettings]="{appendTo: popupContainer}"