1.0.1 • Published 8 years ago

ng-device-service v1.0.1

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
8 years ago

README

Angular 4 Service for determining mobile device type.

  • Written in TypeScript

How do I get set up?

  • Import the module: - import { DeviceModule } from 'ng-device-service';
  • Add it as an import: - imports: [ DeviceModule ]
  • Inject it in the constructor of your component: - constructor(private deviceService: DeviceService) {}
  • Call the methods: - this.deviceService.isiIOS();

Methods

  • isiOS() -
  • isAndroid() -
  • isBlackberry() -
  • isWindowsPhone() -
  • isMobile() -

Contribution guidelines

  • Code
  • Write tests
  • Pull Request

Improvement ideas, general non-sense...

1.0.1

8 years ago

1.0.0

8 years ago