ion-profile-picture A nice little directive for a profile picture selector Installation Installation should be dead simple, you can grab a copy from bower: bower install ion-profile-picture Or clone this repository. Youll need to add ion-profile-picture as a dependency on your Ionic app: angular . module ( myApp , [ ionic , ion-profile-picture ]); Thats pretty much it. Now you can use the directive like so:$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.
A nice little directive for a profile picture selector
3997
来源:
Licence:
联系:
分类:
平台:
环境:
大小:
更新:
标签:
免费下载
×
温馨提示
请用电脑打开本网页,即可以免费获取你想要的了。
