0.0.0 • Published 8 years ago

ember-ted-button v0.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

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"}}

npm.io

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 repository
  • npm install
  • bower install

##3 Running

Running Tests

  • npm test (Runs ember 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/.