Search…
⌃K
Links

Feedback Custom

Estrutura

Recurso disponível apenas no canal Widget
{
"default": {
"type": "feedback_custom",
"payload": {
"pick": "pergunta",
"btn_label": "btn_label"
}
}
}

Atributos

  • type: feedback_custom
  • payload:
    • pick: pergunta exibida no componente
    • btn_label: texto (label) do botão de envio
    • range: valores que podem variar entre 3, 5 ou 7, sendo o último default
    • reverse: true ou false, sendo o valor default false
    • custom: array que possibilita a inclusão de links ilimitados de imagens para customizar o feedback

Exemplos

Exemplo 1
Preview no Widget
{
"default": {
"type": "feedback_custom",
"payload": {
"pick": "pergunta",
"custom": [
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-1.svg",
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-2.svg",
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-3.svg",
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-4.svg",
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-5.svg",
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-6.svg",
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-7.svg"
],
"btn_label": "OK"
}
}
}
Exemplo 2
Preview no Widget
{
"default": {
"type": "feedback_custom",
"payload": {
"pick": "pergunta",
"range": 7,
"reverse": "true",
"btn_label": "OK"
}
}
}