diff --git a/doc/tree/TemplateDoc.vue b/doc/tree/TemplateDoc.vue index 871ca5a59..e65e46f97 100644 --- a/doc/tree/TemplateDoc.vue +++ b/doc/tree/TemplateDoc.vue @@ -1,6 +1,6 @@ - Tree is used to display hierarchical data. + Each node can have a distinct template by matching the type property to the slot name. @@ -8,7 +8,7 @@ {{ slotProps.node.label }} - {{ slotProps.node.label }} + {{ slotProps.node.label }} @@ -27,7 +27,7 @@ export default { { key: '0-0', label: 'What is Vue.js?', data: 'https://vuejs.org/guide/introduction.html#what-is-vue', type: 'url' }, { key: '0-1', label: 'Quick Start', data: 'https://vuejs.org/guide/quick-start.html#quick-start', type: 'url' }, { key: '0-2', label: 'Creating a Vue Application', data: 'https://vuejs.org/guide/essentials/application.html#creating-a-vue-application', type: 'url' }, - { key: '0-3', label: 'Conditionals Rendering', data: 'https://vuejs.org/guide/essentials/conditional.html#conditional-rendering', type: 'url' } + { key: '0-3', label: 'Conditional Rendering', data: 'https://vuejs.org/guide/essentials/conditional.html#conditional-rendering', type: 'url' } ] }, { @@ -59,7 +59,7 @@ export default { {{ slotProps.node.label }} - {{ slotProps.node.label }} + {{ slotProps.node.label }} @@ -77,7 +77,7 @@ export default { { key: '0-0', label: 'What is Vue.js?', data: 'https://vuejs.org/guide/introduction.html#what-is-vue', type: 'url' }, { key: '0-1', label: 'Quick Start', data: 'https://vuejs.org/guide/quick-start.html#quick-start', type: 'url' }, { key: '0-2', label: 'Creating a Vue Application', data: 'https://vuejs.org/guide/essentials/application.html#creating-a-vue-application', type: 'url' }, - { key: '0-3', label: 'Conditionals Rendering', data: 'https://vuejs.org/guide/essentials/conditional.html#conditional-rendering', type: 'url' } + { key: '0-3', label: 'Conditional Rendering', data: 'https://vuejs.org/guide/essentials/conditional.html#conditional-rendering', type: 'url' } ] }, { @@ -103,7 +103,7 @@ export default { {{ slotProps.node.label }} - {{ slotProps.node.label }} + {{ slotProps.node.label }} @@ -120,7 +120,7 @@ const nodes = ref([ { key: '0-0', label: 'What is Vue.js?', data: 'https://vuejs.org/guide/introduction.html#what-is-vue', type: 'url' }, { key: '0-1', label: 'Quick Start', data: 'https://vuejs.org/guide/quick-start.html#quick-start', type: 'url' }, { key: '0-2', label: 'Creating a Vue Application', data: 'https://vuejs.org/guide/essentials/application.html#creating-a-vue-application', type: 'url' }, - { key: '0-3', label: 'Conditionals Rendering', data: 'https://vuejs.org/guide/essentials/conditional.html#conditional-rendering', type: 'url' } + { key: '0-3', label: 'Conditional Rendering', data: 'https://vuejs.org/guide/essentials/conditional.html#conditional-rendering', type: 'url' } ] }, {
Tree is used to display hierarchical data.
Each node can have a distinct template by matching the type property to the slot name.