====== Alerts ====== Used to handle normal `ionic alerts `_, enriched for a more detailed view with better stylings. ------- Example ------- - Reference Implementation: `Favorites DApp - DApp add component `_ - typescript using `alertService `_ .. code-block:: typescript async showValid(dapp: any): Promise { this.alertService.addDAppAlertStyle(dapp); await this .alertService.showSubmitAlert( '_dappdapps.alert.validTitle', { key: '_dappdapps.alert.dappMessage', translateOptions: dapp }, 'cancel', 'submit' ); this.alertService.removeDAppAlertStyle(dapp.name); } - html definition with translation - Reference Implementation: `Favorites DApp I18N `_ :: ... 'validMessage': `

{{ name }}

{{ description }}
` ... ------------ View Example ------------ .. image:: ../../images/angular-sass/alert.png :width: 600