New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@satisfactor/web-integration-angular

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@satisfactor/web-integration-angular

This package helps you integrate the satisfaction survey into any website implemented in angular

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

@angular/web-integration-angular

This package helps you integrate the satisfaction survey into any website implemented in angular

NPM JavaScript Style Guide

Install

npm install --save @satisfactor/web-integration-angular

Usage

App Module

import { BrowserModule } from "@angular/platform-browser";
import { NgModule } from "@angular/core";

import { AppComponent } from "./app.component";
import { SatisfactorModule } from "@satisfactor/web-integration-angular";

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, SatisfactorModule],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule {}

App Component

import { Component } from "@angular/core";
import { UserSurveyModel } from "@satisfactor/web-integration-angular";

@Component({
  selector: "app-root",
  template: `
    <div>
      <span>{{ title }} app is running!</span>
      <satisfactor [userSurvey]="userSurvey" [projectToken]="projectToken"></satisfactor>
    <div>
  `,
  styleUrls: ["./app.component.css"]
})
export class AppComponent {
  title = "Test Angular Integration";
  userSurvey: UserSurveyModel;
  projectToken: string;
  constructor() {
    this.loadUserDataSurvey();
  }

  loadUserDataSurvey() {
    this.projectToken = "LCr8nhtFgB7nrFa7WD8o1h8iHWo9VNLc";
    this.userSurvey = new UserSurveyModel(
      "1",
      "Testing testify",
      "test@gmail.com",
      "+1 9876543210",
      "Testing Company"
    );
  }
}

License

MIT ©

Keywords

satisfactor

FAQs

Package last updated on 21 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts