tm-ng-life
TypeScript icon, indicating that this package has built-in type declarations

0.2.10 • Public • Published

Getting Started

npm i tm-ng-life

Get your api key: [talentomobile] (https://www.talentomobile.com/).

Configuration

Ensure you import the module and the dependencies:

import { TmNgLifeModule } from 'tm-ng-life';

@NgModule({
   imports: [
        ...OtherModules,
        TmNgLifeModule,
   ]
})
export class AppModule {}

Basic Example

@Component({
    selector: 'app',
    template: `<tm-ng-life token="YOUR_API_KEY" [photo]="base64" (result)="result($event)" (detected)="detected($event)" (error)="error($event)"></tm-ng-life>`
});
export class App {
    result(e){
        console.log(e)
    }
    detected(e){
        console.log(e)
    }
    error(e){
        console.log(e)
    }
}

/tm-ng-life/

    Package Sidebar

    Install

    npm i tm-ng-life

    Weekly Downloads

    34

    Version

    0.2.10

    License

    none

    Unpacked Size

    290 kB

    Total Files

    29

    Last publish

    Collaborators

    • talento-mobile
    • mcorvatta