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

Please Document All Slots In Components #7423

Open
1 task done
jjdanek opened this issue Mar 13, 2024 · 2 comments
Open
1 task done

Please Document All Slots In Components #7423

jjdanek opened this issue Mar 13, 2024 · 2 comments
Labels

Comments

@jjdanek
Copy link

jjdanek commented Mar 13, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

Many ant-design-vue components have internal slots that can be overridden with templates. This is incredibly useful functionality for those trying to truly customize Ant's components for specific use cases. Unfortunately, only some are mentioned in the documentation; others can only be found by reading source code.

What does the proposed API look like?

The documentation should be updated so that in every component's API section, a new Slots section is added. All we would need is the name and description of each slot. Vuetify (https://vuetifyjs.com/en/api/v-btn/#slots) and Quasar (https://quasar.dev/vue-components/input#qinput-api) both list their slots in the documentation.

@selicens selicens added the docs label Mar 14, 2024
@Sreesruth
Copy link

Hi @jjdanek @selicens @jprudent @chsword @zeratul1, i would like to contribute for this, what is to be done ?

@selicens
Copy link
Member

Hi @jjdanek @selicens @jprudent @chsword @zeratul1, i would like to contribute for this, what is to be done ?

Welcome pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants