File

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

Description

Generated class for the AccountSignupFormComponent component.

See https://angular.io/docs/ts/latest/api/core/index/ComponentMetadata-class.html for more info on Angular Components.

Metadata

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

Index

Properties
Methods

Constructor

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

Methods

Private errorAlert
errorAlert(error: )

Alert the error

Parameters :
Name Type Optional Description
error
Returns : void
onSignup
onSignup(form: )
Parameters :
Name Type Optional Description
form
Returns : void

Properties

Public alert
alert: AlertController
Type : AlertController
Public app
app: App
Type : App
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
signFocus
signFocus: any
Type : any
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" (focus)="signFocus=true" [(ngModel)]="login.email" name="username"  spellcheck="false"
        autocapitalize="off" required placeholder="Your best email" color="dark"></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" (focus)="signFocus=true" (blur)="signFocus=false" [(ngModel)]="login.password" name="password" required placeholder="Your best password" color="dark"></ion-input>
    </ion-item>
  </ion-list>

  <ion-grid>
    <ion-row>
      <ion-col>
        <button ion-button large outline block round (tap)="onSignup(loginForm)" color="dark">Sign Up</button>
      </ion-col>
    </ion-row>
    <ion-row>
      <ion-col>
        <ft-account-login-social [kind]="'Up'"></ft-account-login-social>
      </ion-col>
    </ion-row>
  </ion-grid>
</form>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""