File

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

Description

Form component for account password recovery

Example

Metadata

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

Index

Properties
Methods

Constructor

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

Methods

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

Forgot 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 actionSheet
actionSheet: ActionSheetController
Type : ActionSheetController
Public alert
alert: AlertController
Type : AlertController
Public loading
loading: LoadingController
Type : LoadingController
login
login: literal type
Type : literal type
Public navCtrl
navCtrl: NavController
Type : NavController
Public session
session: FtSessionProvider
Type : FtSessionProvider
submitted
submitted:
Default value : false
<form #loginForm="ngForm" novalidate>
    <ion-list>
      <ion-item class="login-form">
        <ion-label frost stacked color="dark">EMAIL</ion-label>
        <ion-icon ios="ios-contact-outline" md="md-contact" item-left frost color="dark"></ion-icon>
        <ion-input type="email" [(ngModel)]="login.email" name="username" #email="ngModel" spellcheck="false" autocapitalize="off"
          required placeholder="Your email" color="dark"></ion-input>
      </ion-item>
    </ion-list>
  
    <ion-grid>
      <ion-row>
        <ion-col>
          <button ion-button large outline block round (tap)="onForgot(loginForm)" color="dark">Change Password</button>
        </ion-col>
      </ion-row>
      <ion-row>
        <ion-col>
          <ft-account-login-social></ft-account-login-social>
        </ion-col>
      </ion-row>
    </ion-grid>
  </form>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""