test the provide
This commit is contained in:
parent
a98a7296d5
commit
0becd05b7c
|
@ -41,6 +41,16 @@ export default {
|
||||||
activateTopic(topicId) {
|
activateTopic(topicId) {
|
||||||
this.activeTopic = this.topics.find(topic => topic.id === topicId);
|
this.activeTopic = this.topics.find(topic => topic.id === topicId);
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
setTimeout(() => {
|
||||||
|
this.topics.push({
|
||||||
|
id: 'events',
|
||||||
|
title: 'events',
|
||||||
|
description: 'Events are important',
|
||||||
|
fullText: 'Events allow you to trigger code on demand!'
|
||||||
|
});
|
||||||
|
}, 3000);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Reference in New Issue