You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
509 B
Vue
34 lines
509 B
Vue
5 months ago
|
<template>
|
||
|
<text style="opacity: 0;height: 0;"><slot/></text>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import {parent, children} from '../common/relation';
|
||
|
export default {
|
||
|
name: 'lime-painter-text',
|
||
|
mixins:[children('painter')],
|
||
|
props: {
|
||
|
type: {
|
||
|
type: String,
|
||
|
default: 'text'
|
||
|
},
|
||
|
uid: String,
|
||
|
css: [String, Object],
|
||
|
text: [String, Number],
|
||
|
replace: Object,
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
// type: 'text',
|
||
|
el: {
|
||
|
css: {},
|
||
|
text: null
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
</style>
|