mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
refactor(button): added button class to the button directive and got them working more
references #689
This commit is contained in:
@ -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 {
|
||||
|
||||
|
Reference in New Issue
Block a user