Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e35d582

Browse files
committed
#13 slot loader renamed to loading for consistency
1 parent 692141d commit e35d582

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

‎dist/js/main.js‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/js/main.legacy.js‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/table-builder.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,20 @@ const AWES_CONFIG = {
7979
</table-builder>
8080
</div>
8181

82-
Also, when data are not available, the component gets the CSS class `.is-empty`
82+
Also, when data are not available, the component receives a CSS class `.is-empty`
8383

8484
### Loading state
8585

8686
```html
8787
<table-builder store-data="table-empty">
88-
<div slot="loader">
88+
<div slot="loading">
8989
<i class="icon icon-spinner"></i>
9090
Loading...
9191
</div>
9292
</table-builder>
9393
```
9494

95-
Also, when the data are loading, the component gets the CSS class `.is-loading`
95+
Also, when the data are loading, the component receives a CSS class `.is-loading`
9696

9797

9898
### Default slot
@@ -107,7 +107,7 @@ By default, the slot only accepts the [&lt;tb-column&gt;](./tb-column.md) compon
107107
]"
108108
store-data="no-pagination"
109109
>
110-
<!-- Everything, except <tb-column>, will be skipped -->
110+
<!-- Everything, except <tb-column>, will be skipped -->
111111
<h2>Will not render</h2>
112112

113113
<!-- The content of the transferred data will be displayed by the column name -->

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "table-builder",
3-
"version": "1.0.19",
3+
"version": "1.0.20",
44
"description": "Dynamic tables with pagination and sorting for data visualization",
55
"main": "dist/js/main.js",
66
"module": "src/js/plugin.js",

‎resources/vue/table-builder.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
</div>
1313

1414
<!-- loading state -->
15-
<div class="int-table__loader" v-if="isLoading">
16-
<slot name="loader">
15+
<div class="int-table__loading" v-if="isLoading">
16+
<slot name="loading">
1717
{{ $lang.TABLE_LOADING }}
1818
</slot>
1919
</div>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /