mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-12-30 16:53:24 +00:00
31 lines
441 B
Vue
31 lines
441 B
Vue
|
<template>
|
||
|
<div
|
||
|
v-html="html"
|
||
|
>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
const { defineComponent } = require( 'vue' );
|
||
|
|
||
|
// @vue/component
|
||
|
module.exports = exports = defineComponent( {
|
||
|
name: 'TabContent',
|
||
|
compatConfig: {
|
||
|
MODE: 3
|
||
|
},
|
||
|
compilerOptions: {
|
||
|
whitespace: 'condense'
|
||
|
},
|
||
|
props: {
|
||
|
html: {
|
||
|
type: String,
|
||
|
required: true
|
||
|
}
|
||
|
},
|
||
|
mounted: function () {
|
||
|
this.$el.parentElement.innerHTML = this.$el.innerHTML;
|
||
|
}
|
||
|
} );
|
||
|
</script>
|