l-painter-text.vue 435 B

1234567891011121314151617181920212223242526272829
  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. css: [String, Object],
  11. text: [String, Number],
  12. replace: Object,
  13. },
  14. data() {
  15. return {
  16. type: 'text',
  17. el: {
  18. css: {},
  19. text: null
  20. },
  21. }
  22. }
  23. }
  24. </script>
  25. <style>
  26. </style>