back soft

مطالب مرتبط با «accessing angular scope from javascript» در back soft | نویسنده: استخدام کار

Accessing the Angular 2.0 ViewContainerRef for a popup created at runtime by a non-Angular library

Vote count: 0 Using Angular 2.0 (final), how can I obtain the ViewContainerRef of a DOM element created by an exteal, non-Angular library, after app/Component bootstrapping/rendering has occurred? I had previously used DynamicComponentLoader.loadNextToLocation(), but that was deprecated as of RC5. The Problem (TL;DR) I'm attempting to use Angular 2.0 to insert a dynamically-created Component inside of a popup window that is generated at runtime by an exteal, non-Angular library (specifically, an InfoWindow/Popup for an ESRI ArcGIS JavaScript API 3.x Map). Since the popup window is generated entirely by the exteal library after app bootstrap and the parent Component's ngAfterViewInit()/ngAfte...

ادامه مطلب

برچسب‌های مرتبط

accessing angular scope from javascript | accessing angular scope from jquery | accessing angular scope from console | accessing angular constants | accessing angular from protractor | accessing angularjs variable in javascript