mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-16 01:24:05 -08:00
23 lines
406 B
Vue
23 lines
406 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<n8n-text size="xsmall" color="text-base" v-if="hint">
|
||
|
<div ref="hint" v-html="hint"></div>
|
||
|
</n8n-text>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts">
|
||
|
import Vue from "vue";
|
||
|
|
||
|
export default Vue.extend({
|
||
|
name: 'InputHint',
|
||
|
props: ['hint'],
|
||
|
mounted(){
|
||
|
if(this.$refs.hint){
|
||
|
(this.$refs.hint as Element).querySelectorAll('a').forEach(a => a.target = "_blank");
|
||
|
}
|
||
|
},
|
||
|
});
|
||
|
</script>
|
||
|
|