DEV Community

Discussion on: Adding Facebook Login to your Ionic app (in 15 minutes)

Collapse
 
fvaldes33 profile image
Franco Valdes

The button is rendered by the html page.

@Component({
  selector: 'app-tab1',
  templateUrl: 'tab1.page.html', // <- here
  styleUrls: ['tab1.page.scss']
})
Enter fullscreen mode Exit fullscreen mode

Don't have this repo anymore but it would look something like this.

<button (click)="facebookLogin()">FB Login</button>
Enter fullscreen mode Exit fullscreen mode