AlertController icon

#1

Hello everybody,

I got one question if someone before had this kind of a problem.
The whole idea is having clickable icon inside alert controller, in my case bar-code which would open bar-code scanner/camera and return scanned code.

Photo is maybe better ilustration:
alert_icon

thankss

#2

I wanted something like this as well. Ionic 1 Alerts had this ability to provide a template and it is bad Ionic 3 does not have that ability.
What I did was added an icon using :after css pseudo code and added an click event dynamically for that element.
I do not have the code now but let me know if you want it.

#3

Thanks nirman
If you can share it would be great. As for now I have used a button in menu to overcome this issue.

Thanks