ngkit.zoom

0.0.2 • Public • Published

ngKit image zoom

Lightweight image zoom for Angular (similar to Medium's).

<img ui-zoom="'large.png'"
     src="thumb.jpg" />

Note that ui-zoom attribute is an expression, don't forget extra quotes if you're using string literals. If you omit the value, src attribute is taken.

See zoom.css for example styling.

Usage

Add 'ui-zoom' directive to your Angular module directly:

var app = angular.module('myApp', []);

require('ngkit.zoom')(app);

Note: ngKit requires Browserify.

License

ISC / Boris Okunskiy

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    1

Package Sidebar

Install

npm i ngkit.zoom

Weekly Downloads

3

Version

0.0.2

License

ISC

Last publish

Collaborators

  • inca