Merge pull request #5479 from Terny22/toast-target-id
[3.3.2] UI: Added "toastTargetId" of widget-container to the "widgetContext" to be able showing toast-messages inside widget's area.
This commit is contained in:
		
						commit
						460418acbb
					
				@ -279,6 +279,7 @@ export class WidgetComponent extends PageComponent implements OnInit, AfterViewI
 | 
			
		||||
    this.widgetContext.servicesMap = ServicesMap;
 | 
			
		||||
    this.widgetContext.isEdit = this.isEdit;
 | 
			
		||||
    this.widgetContext.isMobile = this.isMobile;
 | 
			
		||||
    this.widgetContext.toastTargetId = this.toastTargetId;
 | 
			
		||||
 | 
			
		||||
    this.widgetContext.subscriptionApi = {
 | 
			
		||||
      createSubscription: this.createSubscription.bind(this),
 | 
			
		||||
 | 
			
		||||
@ -230,6 +230,7 @@ export class WidgetContext {
 | 
			
		||||
  $scope: IDynamicWidgetComponent;
 | 
			
		||||
  isEdit: boolean;
 | 
			
		||||
  isMobile: boolean;
 | 
			
		||||
  toastTargetId: string;
 | 
			
		||||
 | 
			
		||||
  widgetNamespace?: string;
 | 
			
		||||
  subscriptionApi?: WidgetSubscriptionApi;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user