SigninCard class
Card builder class that simplifies building signin cards.
Constructors
Signin |
Creates a new SigninCard. |
Methods
button(Text |
Signin button label and link. |
text(Text |
Title of the Card. |
to |
Returns the JSON for the card, |
Constructor Details
SigninCard(Session)
Creates a new SigninCard.
new SigninCard(session?: Session)
Parameters
- session
- Session
(Optional) will be used to localize any text.
Method Details
button(TextType, string)
Signin button label and link.
function button(title: TextType, url: string)
Parameters
- title
- TextType
- url
-
string
Returns
text(TextType, any[])
Title of the Card.
function text(prompts: TextType, args: any[])
Parameters
- prompts
- TextType
- args
-
any[]