File

src/modules/firetask/components/ft-account-photo-manager/ft-account-photo-manager.ts

Metadata

selector ft-account-photo-manager
templateUrl ft-account-photo-manager.html

Index

Properties
Methods

Constructor

constructor(app: App, zone: NgZone, session: FtSessionProvider, utils: FtUtilsProvider, events: Events, imagePicker: ImagePicker, camera: Camera, crop: Crop)
Parameters :
Name Type Optional Description
app App
zone NgZone
session FtSessionProvider
utils FtUtilsProvider
events Events
imagePicker ImagePicker
camera Camera
crop Crop

Methods

picFromCamera
picFromCamera()
Returns : void
picFromDevice
picFromDevice()
Returns : void

Properties

Public app
app: App
Type : App
Public camera
camera: Camera
Type : Camera
Public crop
crop: Crop
Type : Crop
Public events
events: Events
Type : Events
Public imagePicker
imagePicker: ImagePicker
Type : ImagePicker
pct
pct: number
Type : number
Default value : 0
Public session
session: FtSessionProvider
Type : FtSessionProvider
Public utils
utils: FtUtilsProvider
Type : FtUtilsProvider
Public zone
zone: NgZone
Type : NgZone
<progress *ngIf="pct>0&&pct<100" class="progress is-dark" value="{{pct}}" max="100">{{pct}}%</progress>
<div style="padding-top: 6.5%;">
</div>

<ion-row>
  <ion-col width-33 text-center>
    <div class="circular tools" >
      <button (tap)="picFromCamera()" [disabled]="pct>0&&pct<100">
        <ion-icon ios="ios-camera-outline" md="ios-camera-outline"></ion-icon>
      </button>
    </div>
  </ion-col>
  <ion-col width-33 text-center>
    <ft-account-avatar [hideName]="true"></ft-account-avatar>
  </ion-col>
  <ion-col width-33 text-center>
    <div class="circular tools">
      <button (tap)="picFromDevice()" [disabled]="pct>0&&pct<100">
        <ion-icon ios="ios-folder-open-outline" md="ios-folder-open-outline"></ion-icon>
      </button>
    </div>
  </ion-col>
</ion-row>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""