Problem when starting the Dialog component in angular 7

Get help with using Metro 4 components
Post Reply
gabrielcorrea
Posts: 1
Joined: Thu Apr 04, 2019 9:14 pm
Status: Offline

Problem when starting the Dialog component in angular 7

Post by gabrielcorrea » Thu Apr 04, 2019 9:27 pm

I am not able to use the component dialog or any other component that initializes the meter4 in the angular exemple:

public didTouchDeleteBrand(brand: Brand) {

Metro4.dialog.create({
title: "Use Windows location service?",
content: "<div>Bassus abactors ducunt ad triticum...</div>",
actions: [
{
caption: "Agree",
cls: "js-dialog-close alert",
onclick: function(){
alert("You clicked Agree action");
}
},
{
caption: "Disagree",
cls: "js-dialog-close",
onclick: function(){
alert("You clicked Disagree action");
}
}
]
});
}

could you give me an example of using some component in the angular?

Post Reply