
@Input() title: any;
constructor(protected ref: NbDialogRef
}
dismiss() {
this.ref.close();
}
Hello, I suppose you need to provide context structure like this:
context: { testVar: 'asd'}.
And you should define testVar in Dialog compotent with the same type. For example:
testVar: any;
am not able to pass the data till now
this.dialogService.open(messagecomponent, { hasBackdrop: true, closeOnBackdropClick: true,hasScroll:false,context:{id:2222,value:'ssssss'});
if you are still alive, sulution is by using the context like in demos BUT yo have tu pass an object with known keys. This are delcared below @input decorator
Hello, I suppose you need to provide context structure like this:
context: { testVar: 'asd'}.And you should define
testVarin Dialog compotent with the same type. For example:
testVar: any;
How I can pass this data to resolver?
Not able to pass image data
Most helpful comment
Hello, I suppose you need to provide context structure like this:
context: { testVar: 'asd'}.And you should define
testVarin Dialog compotent with the same type. For example:testVar: any;