refactor(button): added button class to the button directive and got them working more

references #689
This commit is contained in:
Brandy Carney
2015-12-04 16:12:45 -05:00
parent 5b0c174939
commit 5f221e273b
5 changed files with 106 additions and 95 deletions

View File

@ -28,7 +28,10 @@ import {Config} from '../../config/config';
* Buttons are simple components in Ionic, can consist of text, an icon, or both, and can be enhanced with a wide range of attributes.
*/
@Directive({
selector: 'button,[button]'
selector: 'button,[button]',
host: {
'class': 'button'
}
})
export class Button {