But this won’t work because of XSS (WARNING: sanitizing HTML stripped some content )
My next idea was to pre-create the whole modal alert window in html and use ngIf to hide it / show it but I wasn’t able to find anywhere the exact html for the Alerts.
No I want an alert box with multiple buttons inside, something similar like the checkboxes, but instead a checkbox a button (or at least an icon) which i clickable.
Currently I have work-around it by using a modal instead.
No the user does not NEED to click on every single item before click OK/Cancel, but it can if he/she wish so. The “View” button is supposed to open an inAppBrowser which display a PDF. Basically it’s more of a short reminder before some completes a job that he/she have done all the pre-flight checks, 95% of users will just click the OK instantly.
Ok, then I don’t see any workaround. (You could try to do it with checkboxes which get restyled to buttons and somehow try to attach a click event to them - but you’re better off building it as a normal modal.)
I’m working on a rate plugin and I need to use alert, no modals. Right now it looks ok but I’d need some action to draw the icons when I click on them: