Answer the question
In order to leave comments, you need to log in
How to create elements dynamically in Vue.js?
An array is passed to the component:
flyingButtons: [
{
tag: "a",
tel: true,
email: false,
link: "87776665544",
class: "btn-primary",
title: "Позвонить"
},{
tag: "button",
tel: false,
email: false,
link: "",
class: "btn-success",
title: "Оставить заявку"
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question