ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

Please Document All Slots In Components

Open jjdanek opened this issue 1 year ago • 2 comments
trafficstars

  • [x] 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.

jjdanek avatar Mar 13 '24 05:03 jjdanek

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

Sreesruth avatar Apr 09 '24 18:04 Sreesruth

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

Welcome pr

selicens avatar Apr 10 '24 02:04 selicens

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jun 11 '24 02:06 github-actions[bot]