File

src/modules/firetask/components/ft-account-password-form/ft-account-password-form.ts

Metadata

selector ft-account-password-form
templateUrl ft-account-password-form.html

Index

Properties
Methods

Constructor

constructor(session: FtSessionProvider, loading: LoadingController, alert: AlertController, navCtrl: NavController)
Parameters :
Name Type Optional Description
session FtSessionProvider
loading LoadingController
alert AlertController
navCtrl NavController

Methods

Private errorHandler
errorHandler(error: )
Parameters :
Name Type Optional Description
error
Returns : any
Public onModify
onModify(form: )

Change password action

Parameters :
Name Type Optional Description
form
Returns : any
Private showAlert
showAlert(title: string, subtitle: string)
Parameters :
Name Type Optional Description
title string
subtitle string
Returns : any

Properties

Public alert
alert: AlertController
Type : AlertController
Public loading
loading: LoadingController
Type : LoadingController
Public navCtrl
navCtrl: NavController
Type : NavController
Public session
session: FtSessionProvider
Type : FtSessionProvider
submitted
submitted:
Default value : false
<form #accountForm="ngForm" novalidate>
  <ion-list>
    <ion-item>
      <ion-label frost stacked color="dark">Password</ion-label>
      <ion-icon ios="ios-contact-outline" md="md-contact" item-left frost color="dark"></ion-icon>
      <ion-input [(ngModel)]="session.logged.password" name="password" type="password" spellcheck="false" autocapitalize="off"
        required placeholder="Your new password" color="dark"></ion-input>
    </ion-item>
  </ion-list>

  <ion-grid>
    <ion-row>
      <ion-col>
        <button ion-button large outline block round (tap)="onModify(accountForm)" color="dark">Modify</button>
      </ion-col>
    </ion-row>
  </ion-grid>
</form>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""