@ovh-ux/ng-ovh-browser-alert

2.1.1 • Public • Published

ng-ovh-browser-alert

Display an alert when your browser isn't supported.

npm version Downloads Dependencies Dev Dependencies

Install

$ yarn add @ovh-ux/ng-ovh-browser-alert

Usage

// index.js
import ovhBrowserAlert from '@ovh-ux/ng-ovh-browser-alert';
import angular from 'angular';

angular.module('myApp', [ovhBrowserAlert]);
<!-- index.html -->
<ovh-browser-alert></ovh-browser-alert>
<!-- translations/Messages_en_GB.xml -->
<translation id="browser_alert_not_supported">Your browser is not supported and may contain security vulnerabilities.</translation>
<translation id="browser_alert_deprecated">Your browser is not up to date and may contain security or compatibility vulnerabilities.</translation>
<translation id="browser_alert_update">We recommend you to<a href="http://outdatedbrowser.com/fr" class="alert-link" target="_blank">update your browser</a> in order to benefit a better experience.</translation>
<translation id="browser_alert_close">Close</translation>

Test

$ yarn test

Contributing

Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, our contributing guide will help get you started.

License

BSD-3-Clause © OVH SAS

Package Sidebar

Install

npm i @ovh-ux/ng-ovh-browser-alert

Weekly Downloads

1

Version

2.1.1

License

BSD-3-Clause

Unpacked Size

219 kB

Total Files

15

Last publish

Collaborators

  • jisay
  • blary_jp
  • antleblanc
  • cbourgois
  • ovh-ux-cds
  • lizardk
  • ovh
  • marie-j