Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-codes committed Nov 18, 2017
1 parent 344263e commit a38a6af
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 7 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# kanban
> Pure JavaScript KanBan:
> Pure JavaScript KanBan:
## Demo
![example](https://github.com/sean-codes/kanban/blob/master/image.gif?raw=true)
Expand All @@ -13,8 +13,8 @@ var kanban = new Kanban({
{ title: 'Lane 1', name: 'lane1' }
],
title: (title) => { return title },
content: (content) => { content },
cards: [
content: (content) => { return content },
cards: [
{
lane: 'lane1',
content: 'Test Card 1'
Expand All @@ -29,7 +29,7 @@ var kanban = new Kanban({

The options are detailed below.

#### `lanes [array]`
#### `lanes [array]`

An array of lanes. A lane has title and id. The title value is passed to the title callback

Expand All @@ -44,4 +44,3 @@ Called when creating a lane. return the html to be placed within lane title
#### `content [function(content)]`

Called when creating a card. return the html to be placed within a cards content

2 changes: 1 addition & 1 deletion dist/scripts.min.js

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

2 changes: 1 addition & 1 deletion dist/styles.min.css

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

Loading

0 comments on commit a38a6af

Please sign in to comment.