File

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

Metadata

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

Index

Properties
Methods

Constructor

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

Methods

errorHandler
errorHandler(error: )
Parameters :
Name Type Optional Description
error
Returns : void
Public onLogin
onLogin(form: )
Parameters :
Name Type Optional Description
form
Returns : void

Properties

Public alert
alert: AlertController
Type : AlertController
Public app
app: App
Type : App
loader
loader: any
Type : any
Default value : false
Public loading
loading: LoadingController
Type : LoadingController
login
login: literal type
Type : literal type
Public menu
menu: MenuController
Type : MenuController
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>
      <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"></ion-input>
    </ion-item>

    <ion-item>
      <ion-label frost stacked color="dark">PASSWORD</ion-label>
      <ion-icon ios="ios-lock-outline" md="md-lock" item-left frost color="dark"></ion-icon>
      <ion-input type="password" [(ngModel)]="login.password" name="password" #password="ngModel" required placeholder="Your password"
        color="dark"></ion-input>
    </ion-item>
  </ion-list>

  <ion-grid>
    <ion-row>
      <ion-col>
        <button ion-button large outline block round (tap)="onLogin(loginForm)" color="dark">Sign In</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 ""