Git Product home page Git Product logo

ion-profile-picture's Introduction

DEPRECATED

This repository has been deprecated and will not be maintained.

ion-profile-picture

A nice little directive for a profile picture selector

Animated demo

#Installation

Installation should be dead simple, you can grab a copy from bower:

bower install ion-profile-picture

Or clone this repository.

You'll need to add ion-profile-picture as a dependency on your Ionic app:

angular.module('myApp', [
  'ionic',
  'ion-profile-picture'
]);

That's pretty much it. Now you can use the directive like so: <ion-profile-picture ng-model="myPicture" />

$scope.myPicture will contain the Base64 contents of the selected image file, from there you can $watch it, or pretty much do anything you want. You can set the image concents directly by storing them in the ng-model variable.

ion-profile-picture's People

Contributors

etodanik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ion-profile-picture's Issues

Am finding it difficult using this plugin.

Please i need to look at the source code for your demo. because i am finding it difficult to customise this plugin.. also i am new to ionic.. I really need your help please.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.