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

Expose the native attributes of elements such as button and P in the component #5423

Closed
bosens-China opened this issue Feb 14, 2022 · 2 comments · May be fixed by #7444
Closed

Expose the native attributes of elements such as button and P in the component #5423

bosens-China opened this issue Feb 14, 2022 · 2 comments · May be fixed by #7444

Comments

@bosens-China
Copy link

bosens-China commented Feb 14, 2022

What problem does this feature solve?

I have another component of my-button, he has a size and border properties, but if I pass id and role in typeScript, it will prompt me an error, props does not have this property, is there a method similar to react to inherit the type of HtmlButtonElement?

What does the proposed API look like?

Not yet

@rudyxu1102
Copy link
Contributor

rudyxu1102 commented Jan 2, 2023

vuejs/rfcs#477
cc @bosens-China

@bosens-China
Copy link
Author

Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants