Add title prop
This commit is contained in:
parent
d3d1424710
commit
3b6331db59
|
@ -1,5 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="choicebox">
|
<div id="choicebox">
|
||||||
|
<h2>{{title}}</h2>
|
||||||
<div class="adisplay">
|
<div class="adisplay">
|
||||||
|
|
||||||
<a class="button" v-for="value in myList" :key="value" :href="value.url">{{ value.btn }} </a>
|
<a class="button" v-for="value in myList" :key="value" :href="value.url">{{ value.btn }} </a>
|
||||||
|
@ -25,6 +26,7 @@ myList: [],
|
||||||
props: {
|
props: {
|
||||||
buttons:String,
|
buttons:String,
|
||||||
links:String,
|
links:String,
|
||||||
|
title:String,
|
||||||
},
|
},
|
||||||
|
|
||||||
methods:{
|
methods:{
|
||||||
|
|
Loading…
Reference in New Issue