File

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

Metadata

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

Index

Properties
Methods
Inputs

Constructor

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

Inputs

kind

Type: string

Default value: In

Methods

doLogin
doLogin(provider: )
Parameters :
Name Type Optional Description
provider
Returns : any
errorHandler
errorHandler(error: )
Parameters :
Name Type Optional Description
error
Returns : void
onLogin
onLogin(provider: )
Parameters :
Name Type Optional Description
provider
Returns : void

Properties

Public alert
alert: AlertController
Type : AlertController
Public app
app: App
Type : App
Public menu
menu: MenuController
Type : MenuController
Public navCtrl
navCtrl: NavController
Type : NavController
Public session
session: FtSessionProvider
Type : FtSessionProvider
text
text: string
Type : string
<ion-row responsive-sm>
  <ion-col>
      <button ion-button (tap)="onLogin('facebook')" type="submit" color="primary" large outline block round>Sign {{kind}} with Facebook</button>
  </ion-col>
</ion-row>

<ion-row responsive-sm>
  <ion-col>
      <button ion-button (tap)="onLogin('google')" type="submit" color="danger" large outline block round>Sign {{kind}} with Google+</button>
  </ion-col>
</ion-row>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""