ember-cli-materialize icon indicating copy to clipboard operation
ember-cli-materialize copied to clipboard

md-btn and href

Open frankwong15 opened this issue 9 years ago • 2 comments

href does not work on md-btn, for exmaple

{{md-btn href="http://github.com" text="Github"}}

related to #163

frankwong15 avatar Sep 02 '15 13:09 frankwong15

You could use the button component within a link-to, for Eg : {{#Link-to 'example route'}} {{Md-btn text='example}} {{\link-to}}

Or simple add the materlize btn class to the link .

Not sure if there is Better way, but this is what I used to get around the issue.

rohanthacker avatar Sep 03 '15 12:09 rohanthacker

v1.0 has a different flavor of md-btn that extends from {{link-to}} directly (and thus, can be used in an identical way)

mike-north avatar Apr 22 '16 20:04 mike-north