ajout du drag and drop pour ajouter une image

This commit is contained in:
MiharyR 2021-11-09 14:10:36 +01:00
parent 54324794e9
commit 2f9c9c2b77
12 changed files with 377 additions and 12 deletions

View file

@ -62,7 +62,8 @@ export class PageAdvertiserComponent implements OnInit
onAdd(): void
{
const config = {
width: '50%',
width: '40%',
height: '80%',
data: { action: "add", advert: null }
};
this.dialog
@ -89,7 +90,8 @@ export class PageAdvertiserComponent implements OnInit
onUpdate(advertToUpdate: Advert): void
{
const config = {
width: '50%',
width: '40%',
height: '80%',
data: { action: "update", advert: advertToUpdate }
};
this.dialog