Skip to content

Decide on how anchor-able components work #441

@dfreedm

Description

@dfreedm

Related #328, #385

There are really only three ways to do anchors for some components:

Options 1: Anchor around component:

<a href>
  <mwc-button></mwc-button>
</a>

Option 2: Facade anchor attributes

<mwc-button href></mwc-button>

Option 3: Slotted anchor

<mwc-button>
  <a href></a>
</mwc-button>

We should pick one, and use it consistently

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions