The latest version of paper-button takes light dom:

<paper-button>
  <a href="http://www.example.com";>Check me out</a>
</paper-button>

http://jsbin.com/foyahu/1/edit

On Mon, Oct 13, 2014 at 9:49 AM, 'Rob Dodson' via Polymer <
[email protected]> wrote:

> Viktor — in the past I've wrapped a paper-button in an anchor, that does
> the trick ok and doesn't require javascript
>
> On Mon, Oct 13, 2014 at 2:28 AM, Viktor Kojouharov <[email protected]>
> wrote:
>
>> I agree. I would love to have the paper-button support an href attribute.
>> I currently have this custom element
>> <https://github.com/urandom/readeef/blob/master/templates/components/rf-button-link.tmpl>,
>> which contains a hidden anchor, which I then click using javascript. Having
>> that built-in would be great though.
>>
>> On Saturday, October 11, 2014 7:37:27 PM UTC+3, Rob Dodson wrote:
>>>
>>> Supporting anchor tags would be nice. I may be overlooking a really
>>> obvious way to do it, but I tired a few variations this morning with no
>>> success. I raised an issue on your behalf. Hope that helps!
>>>
>>> https://github.com/Polymer/paper-tabs/issues/32
>>>
>>> On Sat, Oct 11, 2014 at 5:14 AM, Claudius Nicolae <[email protected]
>>> > wrote:
>>>
>>>> Please stop making core/paper elements  only single page web app style!
>>>> For example add support to have paper-tabs with real links, not just
>>>> js-api selector.
>>>>
>>>> I think polymer components would work beautifully with combined with
>>>> Turbolinks [1]:
>>>> a. Page gets loaded, polymer components are loaded and parsed
>>>> b. New link is clicked, loaded via Turbolinks, body replaced, polymer
>>>> components in app's head are not re-parsed, they are already there from
>>>> previously.
>>>>
>>>> It's a shame not to support the most common patterns of how the web
>>>> works (ie. via links).
>>>>
>>>> [1] https://github.com/rails/turbolinks
>>>>
>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Polymer" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/polymer-dev/7df2a75b-bb8f-496d-aece-1f7e0658a638%
>>>> 40googlegroups.com
>>>> <https://groups.google.com/d/msgid/polymer-dev/7df2a75b-bb8f-496d-aece-1f7e0658a638%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  Follow Polymer on Google+: plus.google.com/107187849809354688692
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/polymer-dev/ff0b7eb8-4068-48b8-bd0e-ea21a6691b53%40googlegroups.com
>> <https://groups.google.com/d/msgid/polymer-dev/ff0b7eb8-4068-48b8-bd0e-ea21a6691b53%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/CAJj5OwBoOZR0H7Qy1fQ0deWsskS7vQk4Dk8cqzdiQDKisW%2Btww%40mail.gmail.com
> <https://groups.google.com/d/msgid/polymer-dev/CAJj5OwBoOZR0H7Qy1fQ0deWsskS7vQk4Dk8cqzdiQDKisW%2Btww%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CACGqRCBUKvga_4cj8YsOHxDX-mvfgrSfOb%2BgckHN8ZOOdL4O9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to