Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto bind attributes and events like Vue (Transparent Wrapper Components) #41993

Open
HamedFathi opened this issue May 7, 2021 · 2 comments
Open
Assignees
Labels
area: core Issues related to the framework runtime core: binding & interpolation Issue related to property/attribute binding or text interpolation core: inputs / outputs feature: under consideration Feature request for which voting has completed and the request is now under consideration feature: votes required Feature request which is currently still in the voting phase feature Issue that requests a new feature
Milestone

Comments

@HamedFathi
Copy link

HamedFathi commented May 7, 2021

One of the brilliant features in Vue.js is the ability to assign new attributes to a specific element in the template. known as Transparent Wrapper Components

image

In this sample, I can send all existing HTML attributes to a specific element. (in here with v-bind="$attrs" for input)

I would be great if we are able to bind all attrs and events like Vue in Angular too.

@AndrewKushnir AndrewKushnir added area: core Issues related to the framework runtime core: binding & interpolation Issue related to property/attribute binding or text interpolation feature Issue that requests a new feature labels May 7, 2021
@ngbot ngbot bot modified the milestone: Backlog May 7, 2021
@angular-robot angular-robot bot added the feature: votes required Feature request which is currently still in the voting phase label Jun 5, 2021
@angular-robot
Copy link
Contributor

angular-robot bot commented Jun 5, 2021

This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.

You can find more details about the feature request process in our documentation.

@angular-robot angular-robot bot added the feature: under consideration Feature request for which voting has completed and the request is now under consideration label Jun 9, 2021
@alxhub alxhub added this to Inbox in Feature Requests via automation Jul 29, 2021
@alxhub alxhub moved this from Inbox to Needs Discussion in Feature Requests Jul 29, 2021
@alxhub alxhub moved this from Needs Discussion to Close with Followup in Feature Requests Jul 29, 2021
@alxhub alxhub self-assigned this Jul 29, 2021
@xc404
Copy link

xc404 commented Dec 14, 2022

will this feature be added into angular in the future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues related to the framework runtime core: binding & interpolation Issue related to property/attribute binding or text interpolation core: inputs / outputs feature: under consideration Feature request for which voting has completed and the request is now under consideration feature: votes required Feature request which is currently still in the voting phase feature Issue that requests a new feature
Projects
No open projects
Feature Requests
Close with Followup
Development

No branches or pull requests

5 participants