Skip to content

Commit

Permalink
More documentation stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Mulder committed Dec 16, 2015
1 parent cc2b2de commit 9108e77
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,6 @@ The element can be installed using bower using

Check out the [getting started guide](http://david-mulder.github.io/paper-datatable/components/paper-datatable/docs/docs.html?getting-started).

### `<paper-datatable>` example

```html
<paper-datatable data="{{data}}">
<!-- a plaintext sortable column -->
<paper-datatable-column header="Title" property="title" sortable></paper-datatable-column>
<!-- an editable column -->
<paper-datatable-column header="Author" property="title" editable></paper-datatable-column>
<!-- a custom column -->
<paper-datatable-column header="Page" property="page" editable>
<template>
<!--
this template is used for every cell in this column, you have access to:
- `{{value}}`: The value of the current property (`data.n.page`)
- `{{item}}`: The value of the current item (`data.n`)
-->
<paper-input value="{{value}}">
</template>
</paper-datatable-column>
</paper-datatable>
```

## License

This program is free software: you can redistribute it and/or modify
Expand Down

0 comments on commit 9108e77

Please sign in to comment.