13.1.0 • Published 2 months ago

@angular-cool/social-login-buttons v13.1.0

Weekly downloads
13
License
MIT
Repository
github
Last release
2 months ago

@angular-cool/social-login-buttons NPM version Downloads Total Downloads

Cool social login buttons for angular

Featured buttons:

  • Google
  • Facebook

Install

npm install --save @angular-cool/social-login-buttons

Setup

import { NgModule } from '@angular/core';
import { CoolSocialLoginButtonsModule } from '@angular-cool/social-login-buttons';

@NgModule({
    imports: [CoolSocialLoginButtonsModule]
})
export class MyAppModule {}

Google button

Usage

<cool-google-button color="dark" (click)="onGoogleLoginClicked()">
  Login with Google
</cool-google-button>

API

Inputs

  • [color]

    • Type: 'dark' | 'light'
    • Style of the button
  • [disabled]

    • Type: boolean
    • Whether the button is disabled

Outputs

  • (click)
    • Type: MouseEvent
    • Called when the button has been clicked

Facebook button

Usage

<cool-facebook-button color="dark" (click)="onFacebookLoginClicked()">
  Login with Facebook
</cool-facebook-button>

API

Inputs

  • [color]

    • Type: 'dark' | 'light'
    • Style of the button
  • [disabled]

    • Type: boolean
    • Whether the button is disabled

Outputs

  • (click)
    • Type: MouseEvent
    • Called when the button has been clicked

License

The MIT License (MIT)

Copyright (c) 2020 Hacklone https://github.com/Hacklone

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

13.1.0

2 months ago

13.0.0

9 months ago

11.1.3

2 years ago

11.1.2

2 years ago

11.1.1

2 years ago

11.1.0

2 years ago

11.0.0

2 years ago

10.0.1

2 years ago

10.0.0

2 years ago

2.0.0

2 years ago