ember-ted-button

0.0.0 • Public • Published

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 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/.

Readme

Keywords

Package Sidebar

Install

npm i ember-ted-button

Weekly Downloads

4

Version

0.0.0

License

MIT

Last publish

Collaborators

  • alienzz
  • romulomachado
  • christian_ted
  • bog
  • brenna