l-painter-text.vue 480 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <text style="opacity: 0;height: 0;"><slot/></text>
  3. </template>
  4. <script>
  5. import {parent, children} from '../common/relation';
  6. export default {
  7. name: 'lime-painter-text',
  8. mixins:[children('painter')],
  9. props: {
  10. uid: String,
  11. css: [String, Object],
  12. text: [String, Number],
  13. replace: Object,
  14. },
  15. data() {
  16. return {
  17. type: 'text',
  18. el: {
  19. css: {},
  20. text: null
  21. },
  22. }
  23. }
  24. }
  25. </script>
  26. <style>
  27. </style>