mediawiki-extensions-Tabber.../modules/ext.tabberNeue.codex/TabContent.vue
github-actions dcfc693834 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-06 02:10:01 +00:00

31 lines
440 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>