ajout du drag and drop pour ajouter une image
This commit is contained in:
parent
54324794e9
commit
2f9c9c2b77
12 changed files with 377 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue