Skip to content

Commit

Permalink
adds fade out
Browse files Browse the repository at this point in the history
  • Loading branch information
ivosdc committed Aug 21, 2020
1 parent 5720908 commit 623f1f2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-generic-crud-table",
"version": "1.5.24",
"version": "1.5.26",
"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",
"main": "dist/build/crud-table.js",
"module": "dist/build/crud-table.mjs",
Expand Down
4 changes: 2 additions & 2 deletions src/SvelteGenericCrudTable.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<svelte:options tag={'crud-table'}/>
<script>
import {slide} from 'svelte/transition';
import {slide, fade} from 'svelte/transition';
import {createEventDispatcher} from 'svelte';
import {SvelteGenericCrudTableService} from "./SvelteGenericCrudTableService";
import {icontrash, iconedit, iconsend, icondetail, iconcancel, iconcreate, iconsave} from './svgIcon'
Expand Down Expand Up @@ -169,7 +169,7 @@

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

0 comments on commit 623f1f2

Please sign in to comment.