Skip to content

Uses ua-parser.js to convert a ua string into browser, os & device icons

License

Notifications You must be signed in to change notification settings

christurnbull/ng-ua-icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ng-ua-icons

Uses ua-parser.js to convert a ua string into browser, os & device icons

DEMO: http://embed.plnkr.co/R9jqslNxSXVdrZOgGnkN/

Installation

Install via bower:

bower install ng-ua-icons

Add script to your index.html (if not using Grunt/wiredep/etc)

<script src='bower_components/ng-ua-icons/ngUaIcons.js'></script>

Add module to your application module dependencies

angular.module('ngApp', ['ngUaIcons'])...

Usage

<span ng-ua-icons></span>
<span ng-ua-icons="{{customUA}}"></span>
<span ng-ua-icons ionic></span>

Dependencies

UAParser.js

Font Awesome or Ionicons

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

License

The code is available under the MIT license.

About

Uses ua-parser.js to convert a ua string into browser, os & device icons

Resources

License

Stars

Watchers

Forks

Packages

No packages published