1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| <script>
| import {h} from "vue"
| export default {
| name: 'JsonFunction',
| functional: true,
| props: {
| jsonValue: {
| type: Function,
| required: true
| }
| },
| render () {
| return h('span', {
| class: {
| 'jv-item': true,
| 'jv-function': true,
| },
| attrs: {
| title: this.jsonValue.toString()
| },
| innerHTML: '<function>'
| })
| }
| }
| </script>
|
|