Added widget toastTargetId to the widgetContext
This commit is contained in:
parent
3e67dc1c00
commit
4e1e8ce56b
@ -279,6 +279,7 @@ export class WidgetComponent extends PageComponent implements OnInit, AfterViewI
|
|||||||
this.widgetContext.servicesMap = ServicesMap;
|
this.widgetContext.servicesMap = ServicesMap;
|
||||||
this.widgetContext.isEdit = this.isEdit;
|
this.widgetContext.isEdit = this.isEdit;
|
||||||
this.widgetContext.isMobile = this.isMobile;
|
this.widgetContext.isMobile = this.isMobile;
|
||||||
|
this.widgetContext.toastTargetId = this.toastTargetId;
|
||||||
|
|
||||||
this.widgetContext.subscriptionApi = {
|
this.widgetContext.subscriptionApi = {
|
||||||
createSubscription: this.createSubscription.bind(this),
|
createSubscription: this.createSubscription.bind(this),
|
||||||
|
|||||||
@ -230,6 +230,7 @@ export class WidgetContext {
|
|||||||
$scope: IDynamicWidgetComponent;
|
$scope: IDynamicWidgetComponent;
|
||||||
isEdit: boolean;
|
isEdit: boolean;
|
||||||
isMobile: boolean;
|
isMobile: boolean;
|
||||||
|
toastTargetId: string;
|
||||||
|
|
||||||
widgetNamespace?: string;
|
widgetNamespace?: string;
|
||||||
subscriptionApi?: WidgetSubscriptionApi;
|
subscriptionApi?: WidgetSubscriptionApi;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user