Get started with ng-device-detector CDN
MIT licensed
Ng-device-detector is a Angular library for detecting and tracking device and browser information.
Tags:- angularjs
Stable version
Copied!
How to start using ng-device-detector CDN
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { DeviceDetectorModule } from 'ngx-device-detector';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
DeviceDetectorModule.forRoot()
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Copied!
Copied!