onehilltech / ember-cli-mdc

ember-cli addon for material-components-web
Apache License 2.0
44 stars 15 forks source link

pass style attr to mdc-dialog-button #19

Closed jamesstaub closed 5 years ago

jamesstaub commented 5 years ago

I'm not sure if this goes against the Material Design convention for dialogs but I need it for my use case. Thoughts?

hilljh82 commented 5 years ago

@jamesstaub Actually, passing the style attribute is frowned upon in Ember and you should be using classnames and .(s)css files. If you can give me more details on what you are trying to do, I could better guide you on potential solutions?

jamesstaub commented 5 years ago

my goal is to get a "raised" button in the dialog, which I can achieve with css. Just thought this could be helpful but not worries if you'd rather avoid it.