Skip to content

Commit

Permalink
* kanban: change dev example.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed May 29, 2024
1 parent d4f02f3 commit 5d9843e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/kanban/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ import '@zui/toolbar';
import '@zui/checkbox';
import '@zui/cards';
import '@zui/menu';
import {$} from '@zui/core';
import {$, dom} from '@zui/core';
import {KanbanRegionProps, KanbanList, KanbanProps} from './src/main';
import {createKanbanData} from './dev/create-kanban-data';

console.log('> dom', dom);

onPageUpdate(() => {
const kanban1Options: KanbanProps = {
key: 'kanban1',
Expand Down Expand Up @@ -278,6 +280,13 @@ onPageUpdate(() => {
items: [kanbanOptions, kanbanRegionOptions],
height: 'calc(100vh - 160px)',
links: [
{fromKanban: 'kanban0', toKanban: 'kanban0', from: '1', to: '9'},
{fromKanban: 'kanban0', toKanban: 'kanban0', from: '1', to: '10'},
{fromKanban: 'kanban0', toKanban: 'kanban0', from: '1', to: '11'},
{fromKanban: 'kanban0', toKanban: 'kanban0', from: '1', to: '12'},
{fromKanban: 'kanban0', toKanban: 'kanban0', from: '1', to: '13'},
{fromKanban: 'kanban0', toKanban: 'kanban0', from: '1', to: '14'},
{fromKanban: 'kanban0', toKanban: 'kanban0', from: '1', to: '15'},
{fromKanban: 'kanban0', toKanban: 'kanban1', from: '1', to: '6'},
{fromKanban: 'kanban0', toKanban: 'kanban1', from: '3', to: '11'},
{fromKanban: 'kanban0', toKanban: 'kanban1', from: '5', to: '11'},
Expand Down

0 comments on commit 5d9843e

Please sign in to comment.