0.1.4 • Published 10 years ago
pio-preview v0.1.4
PIO-Preview
This project aims to make previewing Print.io products much easier. The hope is that if they can see their photo on a product it will be easier to convert to a sale.
This is an angularjs project.
It is still a work in progress, and is not supported by Print.io. This is meant to be used injunction with https://github.com/printdotio/pio.js
See some examples at: http://fromkeith.github.io/pio-preview/
Installation
    npm install pio-previewUse
Include this angular module:
    require('pio-preview');
    angular.module('myApp', ['pio-preview']);Then add the desired directive to your page. Use 'pp-src' to specify the source image.
    <pp-mousepad pp-src="test_image.jpg"></pp-mousepad>Include the css to your page as well.
Done!
Supported Directives:
- pp-mousepad- pp-src- Specify the source image.
 
 
- pp-src
- pp-framed- pp-src- Specify the source image.
 
 
- pp-src
- pp-phone- pp-src- Specify the source image.
 
- pp-type- The phone type to load. Currently supported:
 
 
- pp-src
License
MIT