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

ng-heatmap

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-heatmap

![promo](https://i.imgur.com/4opAXOT.png) ## Usage install heatmapjs ```npm i heatmapjs --save``` app.module ``` import { AngularHeatmapModule } from 'ng-heatmap'; imports: [ ... AngularHeatmapModule, ... ], ``` in project

latest
npmnpm
Version
0.3.1
Version published
Maintainers
1
Created
Source

Angular heatmapjs wrapper

promo

Usage

install heatmapjs npm i heatmapjs --save app.module

import { AngularHeatmapModule } from 'ng-heatmap';
imports: [
    ...
    AngularHeatmapModule,
    ...
  ],

in project <ng-heatmap [active]="true" [hidden]="false" [(heatmapData)]="twoWayBind"></ng-heatmap>

Properties

NameDefaultDescription
@Input() hidden: booleanfalse
@Input() active: booleantrueun/subscribe to mouse events
heatmapData: anynulltwo-way property source of heatmap obejct
@Input() config: any{maxOpacity: .6, radius: 15, blur: .90, backgroundColor: 'rgba(0, 0, 58, 0.96)'}config for heatmap

Styling

Default class .heatmap can be overwritten by passing class property to <ng-heatmap> component.

.heatmap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  opacity: .5;
  z-index: 9;
}

FAQs

Package last updated on 20 Oct 2018

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