ALTU
Search…
Feedback Custom

Estrutura

Recurso disponível apenas no canal Widget
1
{
2
"default": {
3
"type": "feedback_custom",
4
"payload": {
5
"pick": "pergunta",
6
"btn_label": "btn_label"
7
}
8
}
9
}
Copied!

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
1
{
2
"default": {
3
"type": "feedback_custom",
4
"payload": {
5
"pick": "pergunta",
6
"custom": [
7
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-1.svg",
8
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-2.svg",
9
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-3.svg",
10
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-4.svg",
11
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-5.svg",
12
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-6.svg",
13
"https://s3-sa-east-1.amazonaws.com/altu-assets/widgets/components/general/feedback-custom/img/emoji-7.svg"
14
],
15
"btn_label": "OK"
16
}
17
}
18
}
Copied!
Exemplo 2
Preview no Widget
1
{
2
"default": {
3
"type": "feedback_custom",
4
"payload": {
5
"pick": "pergunta",
6
"range": 7,
7
"reverse": "true",
8
"btn_label": "OK"
9
}
10
}
11
}
Copied!