Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion tutorials/src/custom-template/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,21 @@ This slot is displayed if the table do not contain any rows.

##### Example

**In Vue.js 2.6.0+**:

```html
<datatable>
<template v-slot:no-results>
Nothing to see here
</template>
</datatable>
```

**In versions before 2.6.0:**

```html
<datatable>
<template name="no-result">
<template name="no-results">
Nothing to see here
</template>
</datatable>
Expand Down