Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Suggestion: the possibility of creating an link to the iron image of the element #72

@felpsio

Description

@felpsio

I would like to make a suggestion to improve the paper-card element. I think it would be great to make possible create a link to the image inside the element.

Suppose I'm using the paper-card to list options of products to be purchased, I would have to put the link to the product's details in the header or in a button and it would be great to be able to also put the link in the image of the product to make even easier to the user go the the products page.

I believe it wouldn't hard to make this change. Maybe create a element property like "image-link" so you can use it like:

<paper-card image="./images/image1.jpg" image-link="./products/[[computeProductLink(product)]]>

I hope this suggestion will be useful :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions