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

Different TagHelpers with the same element name, depending on scope #474

Closed
@AlekseyMartynov

Description

@AlekseyMartynov

Now we have context.Items (#238) and can compose hierarchies of tag helpers like:

<parent>
    <child attr="value" />
</parent>

It would be nice to be able to map an element name to different tag helpers, depending on a parent tag:

<some-widget>
    <datasource attrs="for" some="widget" />
</some>

<other-widget>
    <datasource something="different" />
</other-widget>

Probably possible in the context of #255: restrict by type name, not by element name.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions