Socket
Socket
Sign inDemoInstall

angular-orz-image-filter

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-orz-image-filter

An img helper directive for some cross-platform effects, like: blur


Version published
Maintainers
1
Install size
14.4 kB
Created

Readme

Source

Build Status Coverage Status MIT license

Using this module in other modules

  • npm

npm install angular-orz-image-filter --save

  • jspm

jspm install npm:angular-orz-image-filter

Use angular-orz-image-filter via systemjs/jspm

Just have your system.config have this:

  packages: {
    "angular-orz-image-filter": { main: "lib/index.js", defaultJSExtensions: true }
  },
  map: {
    "angular-orz-image-filter": "path/to/angular-orz-image-filter/folder",
    "angular": "npm:angular@1.6.5",
    ...
  }

The "path/to/angular-orz-image-filter/folder" depends on how you installed your package, (via npm or jspm)

  • To use the blur module in a TypeScript file -
import { blur } from "angular-orz-image-filter";

angular.module("mainApp", [blur.name]);
  • To use the blur module in a JavaScript file -
const blur = require('angular-orz-image-filter').blur;

angular.module("mainApp", [blur.name]);
  • Then you can include the orz-blur inside your html
    <img blur-me src="test.png" stddeviation="5" />
    <blur-me src="test.png" stddeviation="5"></blur-me>

Use angular-orz-image-filter via script tag

  • Install or download angular-orz-image-filter via npm

  • Then include script reference

    <img blur-me src="test.png" stddeviation="5" />
    <blur-me src="test.png" stddeviation="5"></blur-me>
    
    <script src="node_modules/angular/angular.js"></script>
    <script src="node_modules/angular-orz-image-filter/lib/angular-orz-image-filter.js"></script>
    <script>
        angular.module("mainApp", ["orz.blur"]);
    </script>

FAQs

Last updated on 10 Jul 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc