1.0.4 • Published 4 years ago

dr-niels-browser-detector v1.0.4

Weekly downloads
15
License
-
Repository
-
Last release
4 years ago

This is a conversion of the browser-detector element from gauravkk22 (https://github.com/gauravkk22/browser-detector) with some minor adjustments. The readme was not updated and is still the one from the original browser-detector element! The original browser-detector was updated to Polymer 3 nowadays and is probably a better choice than this one.

Published on webcomponents.org

\<browser-detector>

Browser Detector

A component to detect the browser user is using in Polymer 2.0

Installation

$ bower install --save gauravkk22/browser-detector

Using the component

<browser-detector></browser-detector>

##Usage

<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="browser-detector.html">
<browser-detector>...</browser-detector>

This component is able to detect browsers like chrome, firefox, chrome, opera, edge, ie and blink and it is reflected and notified back to the attribute named browsername.

##Contributing

Fork it!
Create your feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am 'Add some feature'
Push to the branch: git push origin my-new-feature
Submit a pull request :D

##License

MIT License
1.0.4

4 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago