0.0.0 • Published 9 years ago
ember-ted-button v0.0.0
Ember-ted-table
Disclaimer
work in progress! subject to change
Installation
ember install ember-ted-buttonThis 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 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/.
0.0.0
9 years ago