Display popup on widget

Lokesh5
Tera Contributor

Hi All, I have created a widget which displays list of applications as shown in the fig. So when I click on application, a pop up window should visible with the same application logo and name. Could some help me on how to achieve this?Apps.png

 

2 REPLIES 2

Jagadish Sanadi
Kilo Sage

Hello @Lokesh5 

<button ng-click="c.onAlert()" class="btn btn-default">
Alert
</button>


function(spModal) {
var c = this;
c.onAlert = function () {
spModal.alert('Add your message').then(function (answer) {
c.simple = answer;
});
}
}

 

 

Please mark correct/helpful if applicable.