Last active
December 29, 2016 00:39
-
-
Save manekinekko/86eea083e20c7ee1bc50c604dd655fb6 to your computer and use it in GitHub Desktop.
The Web Bluetooth module for Angular: https://medium.com/@wassimchegham/the-web-bluetooth-module-for-angular-9336c9535d04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit, NgZone } from '@angular/core'; | |
import { BatteryLevelService } from '../battery-level.service'; | |
import { BluetoothCore } from '@manekinekko/angular-web-bluetooth'; | |
@Component({ | |
selector: 'ble-battery-level', | |
//... | |
providers: [ BatteryLevelService, BluetoothCore ] | |
}) | |
export class BatteryLevelComponent implements OnInit { //... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment