Skip to content

Commit 623f1f2

Browse files
committed
adds fade out
1 parent 5720908 commit 623f1f2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-generic-crud-table",
3-
"version": "1.5.24",
3+
"version": "1.5.26",
44
"description": "<crud-table> renders object-arrays with options-panel and inline edit per row. Dispatches events for ongoing data handling. As self-containing webcomponent or for Svelte in 60KB",
55
"main": "dist/build/crud-table.js",
66
"module": "dist/build/crud-table.mjs",

src/SvelteGenericCrudTable.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<svelte:options tag={'crud-table'}/>
22
<script>
3-
import {slide} from 'svelte/transition';
3+
import {slide, fade} from 'svelte/transition';
44
import {createEventDispatcher} from 'svelte';
55
import {SvelteGenericCrudTableService} from "./SvelteGenericCrudTableService";
66
import {icontrash, iconedit, iconsend, icondetail, iconcancel, iconcreate, iconsave} from './svgIcon'
@@ -169,7 +169,7 @@
169169

170170
<!-- /* istanbul ignore next line */ -->
171171
{#each table_data as tableRow, i (tableRow)}
172-
<div class="row" in:slide="{{duration: 500 }}">
172+
<div class="row" in:slide="{{duration: 350}}" out:fade="{{duration: 500}}">
173173
{#each table_config.columns_setting as column_order, j}
174174
{#each Object.entries(tableRow) as elem, k}
175175
<!-- /* istanbul ignore next */ -->

0 commit comments

Comments
 (0)