ember-ted-table
v0.0.0
Published
The default blueprint for ember-cli addons.
Downloads
24
Keywords
Readme
Ember-ted-table
Installation
ember install ember-ted-tableThis addon depends on ember-ted-shed and ember-cli-sass for styling:
ember install ember-ted-shed
ember install ember-cli-sass// app.scss
@import 'ember-ted-shed/colors;
@import 'ember-ted-shed/borders;Usage
Use ted-table components for rendering table markup to automatically include default TED styles.
{{#ted-table}}
{{#ted-table-header}}
{{#ted-table-row}}
{{#ted-table-header-cell}}Talk{{/ted-table-header-cell}}
{{#ted-table-header-cell}}Speaker name{{/ted-table-header-cell}}
{{/ted-table-row}}
{{/ted-table-header}}
{{#ted-table-body}}
{{#each talks as |talk|}}
{{#ted-table-row}}
{{#ted-table-cell}}{{talk.title}}{{/ted-table-cell}}
{{#ted-table-cell}}{{talk.speakerName}}{{/ted-table-cell}}
{{/ted-table-row}}
{{/each}}
{{/ted-table-body}}
{{/ted-table}}
If you need to customize, you can add your own shed.css class names:
{{#ted-table-header classNames="bg:gray"}}Contributing
Installation
git clonethis repositorynpm installbower install
##3 Running
ember serve- Visit your app at http://localhost:4200.
Running Tests
npm test(Runsember try:testallto test your addon against multiple Ember versions)ember testember test --server
Building
ember build
For more information on using ember-cli, visit http://ember-cli.com/.
