login-with-telegram
v0.0.4
Published
## in function { ## // for bot ID ## botID = '123456'; ## // button size 3 choices: large, medium, small ## buttonSize = 'small' ## // button radius : number ## buttonRadius = 20; ## // button title ## buttonTitle = "login"; ## }
Downloads
14
Readme
Telegram login
On app:
import {LoginViaTelegramComponent} from 'login-with-telegram';
in function {
// for bot ID
botID = '123456';
// button size 3 choices: large, medium, small
buttonSize = 'small'
// button radius : number
buttonRadius = 20;
// button title
buttonTitle = "login";
}
usage :
in HTML :
<lib-login-with-telegram [botID]="botID" [buttonTitle]="buttonTitle" [popupWindowName]="popupWindowName" [buttonSize]="buttonSize" [buttonRadius]="buttonRadius">