Condividi tramite


SigninCard class

Classe generatore di schede che semplifica la creazione di schede di accesso.

Costruttori

SigninCard(Session)

Crea una nuova SigninCard.

Metodi

button(TextType, string)

Etichetta del pulsante di accesso e collegamento.

text(TextType, any[])

Titolo della scheda.

toAttachment()

Restituisce il codice JSON per la scheda,

Dettagli costruttore

SigninCard(Session)

Crea una nuova SigninCard.

new SigninCard(session?: Session)

Parametri

session
Session

(Facoltativo) verrà usato per localizzare qualsiasi testo.

Dettagli metodo

button(TextType, string)

Etichetta del pulsante di accesso e collegamento.

function button(title: TextType, url: string)

Parametri

title
TextType
url

string

Restituisce

text(TextType, any[])

Titolo della scheda.

function text(prompts: TextType, args: any[])

Parametri

prompts
TextType
args

any[]

Restituisce

toAttachment()

Restituisce il codice JSON per la scheda,

function toAttachment()

Restituisce