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

Readme

Keywords

Package Sidebar

Install

npm i ngkit.zoom

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • inca