Ember-ted-table
Disclaimer
work in progress! subject to change
Installation
ember install ember-ted-button
This 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
Basic usage (defaults to light theme):
{{ted-button text="Save"}}
Dark theme: {{ted-button text="Save" theme="dark"}}
Template block usage for custom markup:
{{#ted-button}} <em>any</em> markup can go here!{{/ted-button}}
Disabled button:
{{ted-button text="can't click this" theme="dark" classNames="m-l:1"}}
If you need to customize, you can add your own shed.css class names:
{{#ted-button text="Danger!" classNames="bg:red"}}
Contributing
Installation
git clone
this repositorynpm install
bower install
3 Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://ember-cli.com/.